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

Correct orientation of JPEGs with EXIF rotation #5578

Closed
earthboundkid opened this issue Dec 31, 2018 · 2 comments
Closed

Correct orientation of JPEGs with EXIF rotation #5578

earthboundkid opened this issue Dec 31, 2018 · 2 comments

Comments

@earthboundkid
Copy link
Contributor

See golang/go#4341 for details of the underlying problem, but in a nutshell, many common image editors avoid lossy recompression of JPEGs by setting an orientation flag in the EXIF metadata of the file. Unfortunately, Go's image/jpeg library still does not correctly handle this as of Go 1.12 beta, but it's a real pain if you have an image that "looks right" in Finder, Safari, etc. but is incorrectly oriented when processed by Hugo.

@bep
Copy link
Member

bep commented Dec 31, 2018

#5181

@bep bep closed this as completed Dec 31, 2018
@bep bep added the Duplicate label Dec 31, 2018
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants