Page 1 of 1

Soft edges

Posted: 2010-11-15T15:12:40-07:00
by ggking7
Can anyone show me how to use soft edges with PerlMagick?

http://www.imagemagick.org/Usage/thumbnails/#soft_edges

I'm looking for something along the lines of this:

http://www.imagemagick.org/Usage/thumbn ... t_edge.png

I don't want to use true transparency because I'll be saving in JPG format.

Re: Soft edges

Posted: 2010-11-15T16:40:12-07:00
by fmw42
create it with transparency and then flatten the result against an appropriate background color so that you get the effect you desire in a JPG result.

... -background somecolor -flatten result.jpg

I don't know PerlMagick so cannot help with the commands.

Re: Soft edges

Posted: 2010-11-15T17:13:31-07:00
by ggking7
Thanks fmw42. Can any PerlMagick experts out there point me in the right direction?