hm21 / pro_image_editor

The pro_image_editor is a Flutter widget designed for image editing within your application. It provides a flexible and convenient way to integrate image editing capabilities into your Flutter project.
https://hm21.github.io/pro_image_editor/
BSD 3-Clause "New" or "Revised" License
97 stars 60 forks source link

[Bug]: Incorrect output size after applying transformation #203

Open hm21 opened 3 weeks ago

hm21 commented 3 weeks ago

Package Version

5.2.1

Flutter Version

3.24.0

Platforms

Android, iOS, Web, Windows, macOS, Linux

How to reproduce?

Depending on whether the image fits the screen width or height, the output size may be incorrect when a crop transformation is applied.

  1. Start with the example "Start with Crop-Editor".
  2. Set the maximum output size to 512x512.
  3. Test it twice: once with the image fitting the screen width and once with it fitting the screen height.

Logs (optional)

No response

Example code (optional)

No response

Device Model (optional)

No response