Imagemagick: Convert to fixed width, proportional height

Christof Aenderl picture Christof Aenderl · Aug 26, 2011 · Viewed 48.6k times · Source

Using the imagemagick convert command, how can I resize an image to a fixed width and proportional height e.g. using the -resize or the -thumbnail option?

Answer

moropus picture moropus · Aug 26, 2011

Use -resize 100x to resize images to 100 pixels in width while maintaining the height's aspect ratio.

Read the fine ImageMagick manual for details.