How can i make color on image transparent using GDlib?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
User avatar
Posts: 8884
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

Difficult problem.

First question, does it use anti-aliased pixels. If it does you will have a very very hard time. See ... k_creation

It it doesn't you can just use -transparent color
or a -draw floodfill of the color to make the background transparent ... raw/#color

If you like to submit a summery of your final solution that would be good.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages

Post Reply