Re: How to pad an image with some white pixels?
Fred Weinhaus <[email protected]> Sun, 20 Nov 2011 10:49:31 -0800
| Newsgroups | gmane.comp.video.image-magick.user |
|---|---|
| Message-ID | <p06240800caeefbce470c@[192.168.1.2]> |
convert image -bordercolor white -border 10 resultimage or convert image -background white -gravity center -extent WxH resultimage see http://www.imagemagick.org/Usage/crop/#border http://www.imagemagick.org/Usage/crop/#extent >I see -crop that can cut an image. I'm wondering how to expand an >image by padding with some background color (e.g. white) pixels. Could >anybody let me know? Thanks!