imagemagick commands in perlmagick
Posted: 2011-09-03T04:42:05-07:00
hi,
Can you pleas tell me how to write these imagemagick commands in perlmagick..... i tried but i'm nt getting the required output. the output should be a silhoutte with white contour ad black background....so it should be a perfect black and white image.
convert a.png -fuzz 10% -fill white -opaque white a_f.png
convert a_f.png -transparent white a_tr.png
convert a_tr.png -alpha extract -edge 2 OUTPUT1.png
here the image a.png is
http://www.fmwconcepts.com/misc_tests/e ... ree_01.png
the result should be
http://www.fmwconcepts.com/misc_tests/e ... _edge2.png
I got this in imagemagick but im nt getting in this way in perlmagick
please guide me...!!!!!!!!!!!!!
Can you pleas tell me how to write these imagemagick commands in perlmagick..... i tried but i'm nt getting the required output. the output should be a silhoutte with white contour ad black background....so it should be a perfect black and white image.
convert a.png -fuzz 10% -fill white -opaque white a_f.png
convert a_f.png -transparent white a_tr.png
convert a_tr.png -alpha extract -edge 2 OUTPUT1.png
here the image a.png is
http://www.fmwconcepts.com/misc_tests/e ... ree_01.png
the result should be
http://www.fmwconcepts.com/misc_tests/e ... _edge2.png
I got this in imagemagick but im nt getting in this way in perlmagick
please guide me...!!!!!!!!!!!!!