burhanrashid52 / PhotoEditor

A Photo Editor library with simple, easy support for image editing using paints,text,filters,emoji and Sticker like stories.
MIT License
4.15k stars 993 forks source link

Images upside down #570

Open shamiv opened 4 days ago

shamiv commented 4 days ago

Thanks a lot for all this work. Beautiful app.

But for me, sometimes, when I add an image from the gallery, the image is added upside down. This does not happen with all photos though.

Anyone else experiencing this?

Smartphone Info:

burhanrashid52 commented 3 days ago

I have not seen this issue and I am not able to reproduce it on my emulator or OnePlus 6 device. It seems like a device-specific issue.

wasky commented 3 days ago

I suppose the problem might be that the sample app is not reading the image's EXIF orientation tag before creating the bitmap. Since it's just a sample app and its goal is to demonstrate how to use the library, adding EXIF support would be an unnecessary addition.