Saturday, April 27, 2013

Resizing the image and convert between image format

Use the convert program to convert between image formats as well as resize an image. It has ability to crop, change aspect ratio of image etc. 

Resizing image to exact size:

 convert <input_img> -resize 300x200^ -gravity center -extent 300x200 <output_img>  

0 comments:

Post a Comment