If all your images are smaller than the size of your desired 
resulting (say 800x800), then the easiest way is to use -extent

see http://www.imagemagick.org/Usage/crop/#extent

You need IM 6.2.4 to use -extent

convert inputimage -background white -extent 800x800 resultimage

you can make the background color whatever you want. see 
http://imagemagick.org/script/color.php



>I have a sheaf of scanned png images of
>uneven sizes.  what I want to do is to
>add borders so that he original image,
>without resizing, is cenetered in the new
>image, all the new images having the
>same size.  How do?
>
>/BP
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to