1
votes

It may be simple question, I have using ImageMagick with php code. The below command is working fine.

exec("convert audi_png.png -bordercolor white -border 1x1 -alpha set -channel RGBA -fuzz 20% -fill none -floodfill +0+0 white -shave 1x1 piechart-logo.png");

But i have only hexadecimal color code "#A52A2A". How to i user this code and remove the color in that image. Please help me.

Thanks

1

1 Answers

0
votes
exec("convert audi_png.png -bordercolor \"#A52A2A\" -border 1x1 -alpha set -channel RGBA -fuzz 20% -fill none -floodfill +0+0 \"#A52A2A\" -shave 1x1 piechart-logo.png");