Resize image, but keep proportion
Resize image, but keep proportion
How can I use the command line 'convert' tool to resize an image with a maximum size and keep proportion. For example: I have a 1024x768 image ("test.jpg") that I want to make a thumbnail of ("thumb-test.jpg"). I say the thumbnail can be (at most) 320x320. The resulting image should then have the size of 320x240. And same thing if the image was 768x1024 - to result in 240x320. Thanks in advance!
Last edited by brianez21 on 2013-06-18T09:04:50-07:00, edited 1 time in total.
Could you give me an example of how I would specify that on the command line?
Last edited by brianez21 on 2013-06-18T09:04:28-07:00, edited 2 times in total.
See http://www.imagemagick.org/Usage/resize/ for examples on resizing an image.
Who is online
Users browsing this forum: Bing [Bot] and 12 guests