diff --git a/CHANGELOG.md b/CHANGELOG.md index b1953642..e4b9dc1c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 12.4.4 +- **FIX**(layers): Improve exported layer resolution for scaled layers to avoid blurry output. + ## 12.4.3 - **FIX**(state-manager): Update activeFilters and activeTuneAdjustments to directly use historyPointer. diff --git a/lib/core/models/layers/layer.dart b/lib/core/models/layers/layer.dart index 29deb225..12503258 100644 --- a/lib/core/models/layers/layer.dart +++ b/lib/core/models/layers/layer.dart @@ -366,7 +366,7 @@ class Layer { final dpr = basePixelRatio ?? MediaQuery.maybeDevicePixelRatioOf(context) ?? 3.0; - final effectivePixelRatio = pixelRatio ?? (dpr * scale); + final effectivePixelRatio = pixelRatio ?? dpr; final boundary = context.findRenderObject() as RenderRepaintBoundary; final rawImage = await boundary.toImage(pixelRatio: effectivePixelRatio); diff --git a/pubspec.yaml b/pubspec.yaml index f6952097..8b491f53 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: pro_image_editor description: "A Flutter image editor: Seamlessly enhance your images with user-friendly editing features." -version: 12.4.3 +version: 12.4.4 homepage: https://github.com/hm21/pro_image_editor/ repository: https://github.com/hm21/pro_image_editor/ documentation: https://github.com/hm21/pro_image_editor/