pro_image_editor icon indicating copy to clipboard operation
pro_image_editor copied to clipboard

[Bug]: App crashes when we choose the result type to jpg or png format from web demo app

Open zahidshaikh9013 opened this issue 1 year ago • 1 comments

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

zahidshaikh9013 avatar Aug 20 '24 06:08 zahidshaikh9013

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?

hm21 avatar Aug 20 '24 07:08 hm21

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/

zahidshaikh9013 avatar Aug 21 '24 04:08 zahidshaikh9013

image

zahidshaikh08 avatar Aug 21 '24 07:08 zahidshaikh08

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.

hm21 avatar Aug 21 '24 07:08 hm21