Dave's Brain

Browse - Computer Tips - How can I shrink an image?

Date: 2016feb7
Product: imagemagick convert 

Q.  How can I shrink an image?

A. Use imagemagick convert like this:


convert original.jpg -resize 1024x1024 small.jpg
This doesn't change the aspect ratio of the images - it is fit into the box (in this case 1024x1024) that you specify.

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.