Closed MrLibya closed 2 months ago
@taboulot
Hi @MrLibya do you a device example on which it does not work ?
@MrLibya
I think I finally understand the problem. I've detailed it in this issue #402. Unfortunately your PR does not fix the problem (on both iOS & Android) has it does not take into account the flip operation.
With your fix if the image has an exif orientation value = 4
:
I think we will have this result:
Instead of this one:
Sorry for not providing example code I was busy, I'll look into that and see what I can do
@taboulot I've added handing for mirrored ( flipped ) image exif, I've used those images to test on https://github.com/recurser/exif-orientation-examples
Code test: https://gist.github.com/MrLibya/cabea9cbbb776cc5e77bf1a56df2d8d2
i need this!!
@taboulot anything else needed?
@MrLibya
I left 2 comments. I'm on vacation, and I'm going to stay that way for a while. My response times are therefore variable, but I will remain available for the next few days.
@taboulot Done ✅
@MrLibya
Perfect 👌 I will release it in few minutes
Error
On some android devices the photo is rotated
Solution
This caused by lack of some exif rotation is not read on creating the new bitmap for rotation.