Difficult problem.
First question, does it use anti-aliased pixels. If it does you will have a very very hard time. See
http://www.cit.gu.edu.au/~anthony/graph ... k_creation
It it doesn't you can just use -transparent color
or a -draw floodfill of the color to make the background transparent
http://www.cit.gu.edu.au/~anthony/graph ... raw/#color
If you like to submit a summery of your final solution that would be good.
How can i make color on image transparent using GDlib?
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/