harryjubb
10/13/2012 - 4:53 PM

ImageMagick cheat sheet

ImageMagick cheat sheet

####Resize all JPEGs in the current folder to a 760px width, preserve aspect ratio mogrify -resize 760x *.jpg

####Crop the bottom 20% of all images in the current folder mogrify -gravity north -crop 100x80% +repage *.jpg

####Invert colours mogrify -negate *.png

####Make grayscale convert flash-sale.png -colorspace Gray flash-sale.png

###Put image in centre of larger image convert codecentric.png -resize 600x -size 1280x720 xc:white +swap -gravity center -composite output/codecentric.png