Created
September 18, 2016 21:13
-
-
Save nmicht/2a87542e8455d1652200ab3ca76b0b8b 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
convert -define jpeg:size=800x800 'MC-SFC002 Sófa Cama Queen Aloise.png' -thumbnail '800x800>' \ | |
-gravity center -crop 800x800+0+0\! \ | |
-background white -flatten 'thumbs/MC-SFC002 Sófa Cama Queen Aloise.png' | |
mogrify -format jpg -path thumbs -thumbnail '300x300>' -gravity center -crop 300x300+0+0\! -background white -flatten *.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment