Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.

Conversation

@artnez
Copy link
Contributor

@artnez artnez commented Oct 21, 2014

(note: this PR depends on #17)

@artnez artnez changed the title Auto orientation Auto-Orient Oct 21, 2014
@artnez
Copy link
Contributor Author

artnez commented Nov 13, 2014

Ready to merge.

I plucked the orientation logic directly from the imagemagick source. Their CLI tool has an auto-orient flag that more or less does what I'm doing (look for AutoOrientImage):
https://subversion.imagemagick.org/subversion/ImageMagick/trunk/MagickCore/transform.c

Auto-orientation is very important to us because we serve user uploaded content. The logic in this PR has been battle tested in production.

This was referenced Nov 13, 2014
@rafikk
Copy link
Owner

rafikk commented Nov 14, 2014

Documentation, please. And just to be clear, the default is to disable this?

@artnez
Copy link
Contributor Author

artnez commented Nov 14, 2014

Added docs. Yes it's disabled by default.

rafikk added a commit that referenced this pull request Nov 14, 2014
@rafikk rafikk merged commit 2df2f45 into rafikk:master Nov 14, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants