Posted By

soroush on 01/13/08


Tagged

resize image imagemagick


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

therobot
adix


Quickly resize images in command line (requires ImageMagick)


 / Published in: Bash
 

This requires ImageMagick installed. Resize, as well as convert the image format. (Note: either of WIDTH or HEIGHT can be left blank, e.g. WIDTHx and the image will be resized proportionally)

  1. convert -resize WIDTHxHEIGHT source.jpg target.png

Report this snippet  

You need to login to post a comment.