-
Notifications
You must be signed in to change notification settings - Fork 252
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
JPEG EXIF rotation tag is not considered #736
Comments
If the Audiveris engine has no way to detect this rotation by itself, what should we do?
In both cases, some user action is needed of course. |
It should be possible to read the EXIF tags with |
In the code you mention, the "orient" variable is created from scratch and its value coded to "normal". It does not seem to be read from the image data. |
Perhaps the metadata-extractor library could help us? |
JPEGs can be rotated through an EXIF orientation tag. This doesn't change the underlying image data, only how it should be interpreted. Unfortunately, Java's ImageIO library doesn't consider this tag, so images can be read with the incorrect rotation. For example, this image (intentionally not sheet music):
is read into Audiveris like so:
The text was updated successfully, but these errors were encountered: