Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EXIF support for downloaded images. #846

Closed
panagath opened this issue Jan 13, 2015 · 15 comments
Closed

EXIF support for downloaded images. #846

panagath opened this issue Jan 13, 2015 · 15 comments

Comments

@panagath
Copy link

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.

@JakeWharton
Copy link
Collaborator

Why do you want to ignore EXIF?

@JakeWharton
Copy link
Collaborator

Also, EXIF is not read from the web. Only content providers and files.

@panagath
Copy link
Author

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.

@JakeWharton
Copy link
Collaborator

Your issue is that the EXIF is not applied to the image.
On Jan 14, 2015 3:13 AM, "panagath" notifications@github.com 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
#846 (comment).

@panagath
Copy link
Author

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?

@JakeWharton
Copy link
Collaborator

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.

@JakeWharton JakeWharton changed the title Image auto-rotates reading EXIF EXIF support for downloaded images. Jan 14, 2015
@dnkoutso
Copy link
Collaborator

@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.

@abhi007tyagi
Copy link

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?

@piotrek1543
Copy link

May I ask for final solution for this problem?

@tilo
Copy link

tilo commented Dec 14, 2016

+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?

@piotrek1543
Copy link

piotrek1543 commented Mar 1, 2017

@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!

@SurbhiVSambare
Copy link

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..

@thesultanster
Copy link

I am facing the same issue as @SurbhiVSambare

@NehaVerma993
Copy link

Same issue for me as well

@xanscale
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants