By Ammon | Published:
April 21, 2010
The following command will shrink all .jpg’s in the current directory that are larger than 500px and center them on a square 500x500px canvas. Since the aspect ratio of the original images will be preserved and not all of the originals are square, the left over space will be filled with an off-white color. All [...]
Posted in Solutions | Tagged Image Magick |
By Ammon | Published:
April 21, 2010
The following command will resize any and all .jpg’s in the current directory that are larger than 500px on either side and put them in a file called ‘resized’. Aspect ratios will be respected, and the same filenames will be used for the modified images. mogrify -path resized -resize 500>x500\> *.jpg Yes, you have to [...]
Posted in Solutions | Tagged Image Magick |