Converting a 'convert' command to PerlMagick?
Posted: 2009-08-27T22:24:36-07:00
Hi,
Sorry if this is a basic question, I've found this effect that I really like from this page:
http://www.imagemagick.org/Usage/thumbnails/
And the convert command is like this:
{quote}
convert thumbnail.gif \
\( +clone -threshold -1 -virtual-pixel black \
-spread 10 -blur 0x3 -threshold 50% -spread 1 -blur 0x.7 \) \
+matte -compose Copy_Opacity -composite torn_paper.png
{quote}
How is that command applied? Is it a sequence? How do I translate it into perl?
Thanks!
Sorry if this is a basic question, I've found this effect that I really like from this page:
http://www.imagemagick.org/Usage/thumbnails/
And the convert command is like this:
{quote}
convert thumbnail.gif \
\( +clone -threshold -1 -virtual-pixel black \
-spread 10 -blur 0x3 -threshold 50% -spread 1 -blur 0x.7 \) \
+matte -compose Copy_Opacity -composite torn_paper.png
{quote}
How is that command applied? Is it a sequence? How do I translate it into perl?
Thanks!