tamimattafi / krop

Kotlin Multiplatform library for Image Cropping with Compose Multiplatform.
Apache License 2.0
9 stars 3 forks source link

Support EXIF orientation (e.g. rotation) #9

Open MathiasDL opened 1 week ago

MathiasDL commented 1 week ago

The library currently does not read EXIF data. EXIF orientation is used by Android to a.o rotate images. This causes some images to appear in a wrong orientation when cropping.

Relevant StackOverflow: https://stackoverflow.com/a/57389676/2260402

tamimattafi commented 1 week ago

Hello @MathiasDL! Thank you for the issue, I had issues with rotation before, so I will try to fix this as I find spare time. Probably not earlier than the weekends.