catimg
catimg copied to clipboard
Suggestion: Rotate image according to Orientation exif tag
Consider the following image (which has an orientation exif tag).

- 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
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