Created
July 19, 2015 13:35
[ImageMagick] 縦長画像が90度回転される問題を解決する
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# auto-orientを使えばよしなに処理してくれます。 | |
$ ls *.jpg | xargs -I{} convert {} -auto-orient -verbose conved/{} | |
# conved/ディレクトリに*.jpgで縦長画像は90度回転、横長画像はそのままの画像が生成されます。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment