-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Sometimes picasso 2.3.3 resize inaccuracy. #593
Comments
author see this issue? |
Yes. I am not sure if orientation is read appropriately from network. I'll have to check or you can investigate |
I'll be waiting for your achievement, thanks! ps: I like picasso very much, it use very easy, and powerful. |
From network the exif orientation is not read like on the file system. |
Thanks! |
any ideas what could be causing this issue? |
exif rotation is not decoded when the stream is from network, compared to filesystem. |
No timezone you are better off rotating the bitmap yourself using a custom transformation. |
where is the original rotation information stored? I see for transformation only a bitmap is passed as an argument. |
I found a lib metadata-extractor(https://code.google.com/p/metadata-extractor/, you must download the latest code) allow you to read exif data from a Stream, NetworkBitmapHunter can read orientation whit it, I think it maybe useful for this issue. |
Please see this #692 I am closing this issue. |
Picasso.with(this)
.load(new File(path))
.resize(1440, 1920)
.centerInside()
.into(mTarget);
When I use picasso 2.3.3 load this image, I put some different width and height, sometimes it resize inaccuracy.
I debug some information to you. It look like width and height reversal.
I hope you can resolve this problem, thanks!
The text was updated successfully, but these errors were encountered: