Posted By

soroush on 01/13/08


resize image

Versions (?)

Last Edited at 01/13/08 11:23am

Viewed 1 times

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


RSS Icon Subscribe to comments

You need to login to post a comment.