GIF -> convert transparent pixels to white pixels - how?

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: 8882
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony » 2006-09-17T03:40:11-07:00

Code: Select all

-background white  -flatten
Simple - no!

Other methods include a zero width border, which also works for coalesced GIF animations.

Code: Select all

-bordercolor white -border 0x0
These techniques are used over and over throught IM Examples.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages

Post Reply