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

Suggestion: Rotate image according to Orientation exif tag #25

Open
paternal opened this issue May 21, 2017 · 1 comment
Open

Suggestion: Rotate image according to Orientation exif tag #25

paternal opened this issue May 21, 2017 · 1 comment

Comments

@paternal
Copy link

Consider the following image (which has an orientation exif tag).

This way up!

  • A software reading this orientation tag (for instance, Firefox — just click on the image above) displays the text horizontally (with the correct orientation).
  • However, catimg (and the github inline preview) ignores this orientation tag, and displays it vertically.

It would be nice if catimg could rotate the image according to this orientation tag.

Thanks for your work!
-- Louis

@posva
Copy link
Owner

posva commented May 21, 2017

hey, thanks for the kind words! 🙂
Yeah, that would be great, I think stb_image reads tags by default but I'm not sure of it.
I'm open to PRs for this

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

No branches or pull requests

2 participants