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?".
How can i extract all solid colors from a picture (7 or 8 colors max) and export each color as a separate image with transparency on non-color parts?
I've searched the forum but i'm really new with image magick.
A picture is worth a thousand words, so..
I would do it in a script. First, extract the unique-colours as text. Loop through these colours, making all pixels except the chosen colour transparent.
Thanks a lot for this clarification,
I can now generate the colour.list and apply the transparency.
But once the colours.list is created , how can i loop in the .list to extract each color?
I mean , instead of entering each hexacode to extract the color , is it possible to use directly the .list?