1.
exec("/usr/local/bin/convert /home/cra/cap.jpg -quality 100 /home/cra/cap.jpg");
2.
//optimize
3.
exec("/usr/local/bin/convert /home/cra/cap.jpg -fuzz 25000 -fill black -draw ‘color 5,5 floodfill’ -quality 100 /home/cra/cap_c.jpg");
4.
//floodfill and fill bg in black
5.
exec("/usr/local/bin/convert /home/cra/cap_c.jpg -negate -quality 100 /home/cra/cap_h.jpg");
6.
//negate the picture
7.
8.
exec("/usr/local/bin/convert /home/cra/cap_h.jpg -shave 10×10 -quality 100 /home/cra/cap_cra.jpg");
9.
//remove the border
This is the code...how can I use it?
Thank you very much for the help
