Resizes an image to a specific size and dealing with aspect
Posted: 2009-05-06T12:46:16-07:00
Hi,
I am trying to convert a image from 500X280 (16:9) to a specific box size of 377x248. I am using the resize and crop methodlogy and below is my command.
But the resultant images has the dimensions 248x139. I thought the idea of the above command to deal with aspect change and I saw the same things from Fred's script also.
http://www.fmwconcepts.com/imagemagick/aspect/index.php
Am I missing something ? Thanks a lot for your reply
PS: I am running on windows XP with ImageMagic 6.5.1-4 (Latest I think)
I am trying to convert a image from 500X280 (16:9) to a specific box size of 377x248. I am using the resize and crop methodlogy and below is my command.
Code: Select all
convert 16_9.jpg -filter lanczos -resize 248x248^ -gravity center -crop 377x248+0+0 +repage 16_9_res.jpg
http://www.fmwconcepts.com/imagemagick/aspect/index.php
Am I missing something ? Thanks a lot for your reply
PS: I am running on windows XP with ImageMagic 6.5.1-4 (Latest I think)