ImageMagick resize - set width for both landscape and portrait images
I'm trying to get images resized to a given width , with the height being adjusted proportionally - no matter if the image has landscape or portrait orientation. I have two images I test the ImageMagick convert -resize command with and from what I have read, I would expect the following to work for any kind of image: convert source.jpg -resize 200 out.jpg The problem is, it doesn't. Here are my results: Source Image 1: landscape , 3264 × 2448 , resizes to 200 × 150 ==> WORKS Source Image 2: portrait , 3240 × 4320 , resizes to 150 × 200 ==> FAIL Now, I know I could fix this by reading in the