Page 1 of 1

Borders around arbitrary images

Posted: 2010-06-21T04:37:23-07:00
by andy82
Hi,

can ImageMagick create borders around arbitrarily shaped images? AFAICS, the BorderImage() function always creates a rectangular border around the image. What I'd like to have instead is a border around arbitrarily shaped images (the shape of the image being defined by the alpha channel in the PNG image). For example, if the image is circular, the border should be circular, too. Is something like this possible with ImageMagick?

Thanks,

Andy

Re: Borders around arbitrary images

Posted: 2010-06-21T05:32:01-07:00
by Bonzo
Check this post: viewtopic.php?f=1&t=16399

Re: Borders around arbitrary images

Posted: 2010-06-21T08:10:24-07:00
by andy82
Thanks, exactly what I was looking for!