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

Auto-Orient - #20

Merged
rafikk merged 2 commits into
rafikk:masterfrom
storehouse:auto-orient
Nov 14, 2014
Merged

Auto-Orient#20
rafikk merged 2 commits into
rafikk:masterfrom
storehouse:auto-orient

Conversation

@artnez

Copy link
Copy Markdown
Contributor

(note: this PR depends on #17)

@artnezartnez changed the title Auto orientationAuto-OrientOct 21, 2014
@artnez

Copy link
Copy Markdown
ContributorAuthor

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
Copy Markdown
Owner

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

@artnez

Copy link
Copy Markdown
ContributorAuthor

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:masterNov 14, 2014
Sign up for freeto 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

@artnez@rafikk