-
Notifications
You must be signed in to change notification settings - Fork 605
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
Orientation field not found after load image and save #1371
Comments
I think we're a long way from being able to retain EXIF information (see #1045). A more likely short term goal might be to apply the orientation transform when loading the JPEG, but I wonder whether that might also produce surprising results for some users if they for instance load an image with orientation 90 and discover that width an height are swapped? |
Yes. Image-rs seems not method to get the Orientation, it's inconvenient to rotate image before compress a image. |
This happens in open a image
Expected
Image's
Orientation
information can be reservedActual behaviour
What did happen
But image's Orientation information was discard, and image rotated 180 degrees.
Reproduction steps
the origin image info:
The origin image has
Orientation
fieldoutput image info:
And the output image info don't have
Orientation
field so my image was rotated 180 degreeThe text was updated successfully, but these errors were encountered: