Created
July 20, 2015 10:49
-
-
Save memoryleak/84d030d6ccb9f9d36464 to your computer and use it in GitHub Desktop.
Mogrify images with ImageMagick
This file contains hidden or 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
| mogrify -path OUTPUT_PATH \ | |
| -filter Triangle \ | |
| -define filter:support=2 \ | |
| -thumbnail OUTPUT_WIDTH \ | |
| -unsharp 0.25x0.25+8+0.065 \ | |
| -dither None \ | |
| -posterize 136 \ | |
| -quality 82 \ | |
| -define jpeg:fancy-upsampling=off \ | |
| -define png:compression-filter=5 \ | |
| -define png:compression-level=9 \ | |
| -define png:compression-strategy=1 \ | |
| -define png:exclude-chunk=all \ | |
| -interlace none \ | |
| -colorspace sRGB \ | |
| -strip INPUT_PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment