Fred Weinhaus on wrote...
| 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
Adding -gravity center before the -extent will center the image
in the enlarged canvas.
Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
There are 10 kinds of people in the world:
Those who understand binary and those who don't...
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users