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]: App crashes when we choose the result type to jpg or png format from web demo app #196

Closed zahidshaikh9013 closed 4 weeks ago

zahidshaikh9013 commented 1 month ago

Package Version

5.1.1

Flutter Version

3.22.3

Platforms

Web

How to reproduce?

image

Logs (optional)

No response

Example code (optional)

No response

Device Model (optional)

Chrome browser

hm21 commented 4 weeks ago

I just tried to reproduce the issue, but everything works fine on my end. Cuz you mentioned that you changed the output type to png (the default is jpg), I suspect you were using the “Generation Configurations” example, as it's the only one that directly allows you to change the output format. Did you set any other configurations that might help me reproduce the issue? If not, which version of Google Chrome are you using?

zahidshaikh9013 commented 4 weeks ago

https://www.loom.com/share/c7004c42e9924b6e8164ea98d5de7edc?sid=bf37288b-2211-4b51-994e-6301f8f80985

Please check this video this is from demo webapp

https://hm21.github.io/pro_image_editor/

zahidshaikh08 commented 4 weeks ago

image

hm21 commented 4 weeks ago

Okay got it, and thank you for showing detailed in the video.

The example which you tested demonstrates the different output formats. In this example, we use a special output format tiff which you can see here. However, in the next update, I plan to include a warning to inform users that tiff may not be supported in their web browsers.

FYI: As default is jpg the output format. For the best platform support I recommend jpg and png.