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.
Soft edges
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Soft edges
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.
... -background somecolor -flatten result.jpg
I don't know PerlMagick so cannot help with the commands.
Re: Soft edges
Thanks fmw42. Can any PerlMagick experts out there point me in the right direction?