Created
September 25, 2019 07:04
-
-
Save tibovanheule/b5193412b3adc9dce78fdf2e73e0fb60 to your computer and use it in GitHub Desktop.
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
mkdir ./output | |
# May need to change the gravity and size parameters | |
mogrify -path ./output -depth 8 -compress LZW -sampling-factor 4:2:0 -strip -quality 85 -interlace JPEG -colorspace RGB -size 1000x1000 -thumbnail 500x500^ -gravity north -extent 500x500 +profile "*" * |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment