I want change this command into php code:
convert i.png -bordercolor white -border 1×1 -matte -fill none -fuzz
20% -draw "matte 0,0 'floodfill'" -shave 1×1 o.png
but I don't know how to do it,could you help me?
Thanks a lot.
$image = new Imagick('i.png');
$image->borderImage(new ImagickPixel("white"),1,1);
//…
//what code in here???
//…
$image->shaveImage(1,1);
$image->writeImage('o.png');
thanks
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users