To replace all JPEGs in a directory with resized versions:
mogrify -resize 720x576 *.jpg
Note that this will retain the aspect ratio, such that the image is scaled so it will fit inside a box of the given dimensions. To force the image to be stretched to the given dimensions instead:
mogrify -resize 720x576! *.jpg
Loading...
Loading...
© 2007–2010 David A Roberts. Valid XHTML & CSS. Entries (RSS) & Comments (RSS). Source code.