Imagemagick converting horizontal images

Marcanth marcanth2001 at
Thu Feb 22 13:17:22 UTC 2007


I have about 30 images and would like to resize only the horizontal ones.
How could I do this with ImageMagick -resize option? Example:

image01.jpg (width: 400, height: 200). This image (horizontal) will be
resized to, let's say, 200x100.

image02.jpg (width: 100, height: 500). This one is vertical, so it will not
be affected.

How could I do this?

View this message in context:
Sent from the ubuntu-users mailing list archive at

More information about the ubuntu-users mailing list