Picasso auto rotates by 90degrees an image coming from the web that has the following EXIF data:
Resolution : 3264 x 2448
Orientation : rotate 90
It would be nice if we could have an option to disable auto rotation using EXIF.
Why do you want to ignore EXIF?
Also, EXIF is not read from the web. Only content providers and files.
I have cases of images online, that although on the browser they appear correctly on "portrait" orientation. On Android Picasso rotates them to "landscape" and the image has the wrong direction.
Are you sure that EXIF orientation is not working with online? Because I have this issue with online images.
Your issue is that the EXIF is not applied to the image.
On Jan 14, 2015 3:13 AM, "panagath" [email protected] wrote:
I have cases of images online, that although on the browser they appear
correctly on "portrait" orientation. On Android Picasso rotates them to
"landscape" and the image has the wrong direction.Are you sure that EXIF orientation is not working with online? Because I
have this issue with online images.—
Reply to this email directly or view it on GitHub
https://github.com/square/picasso/issues/846#issuecomment-69882618.
Good. It still is a problem :) . Is anyone about to do it? Are there any limitations? Would it help if I forked and made the required changes?
There's no issue for it, so this can cover that. Support was attempted in #692 and #699. We have no plans to add support for version 2 as it entails more work and a potential (albeit optional) dependency on a large, third-party jar.
@panagath A custom transformation can be applied here from your side to check and read the EXIF.
Picasso can be extended in various ways to fix unique cases like these. We aim for the mainstream/majority of cases and slowly open up as we see fit.
A transformation will occur in the bg thread of the pipeline so no performance hit there.
I am having the same issue. Some images on URL are in portrait and some are landscape.
Portrait images are coming as rotated images on Picasso. How can I transform image from URL to appear correctly?
May I ask for final solution for this problem?
+1 , we are seeing an error "unsupported image format" when trying to open PNG or GIF images
Is there a way to not call EXIF for those file formats?
@JakeWharton maybe it's time to disable comments on this issue as it closed and as you said how situation with EXIF values looks like. I understand you. Cheers!
I am facing the same issue.. I am uploading portrait images but after uploading they becomes landscape..
how to resolve this issue..? please let me know asap..
I am facing the same issue as @SurbhiVSambare
Same issue for me as well
Most helpful comment
I am facing the same issue.. I am uploading portrait images but after uploading they becomes landscape..
how to resolve this issue..? please let me know asap..