I have a questions for command line image magick
I know there is a color in a image palette, buy i need the index of this color in the palette. Is there a way to know it?
Thank you
get color of image palette
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: get color of image palette
identify -verbose input.png
will write the palette to stdout. Your script could then search for the colour.
will write the palette to stdout. Your script could then search for the colour.
snibgo's IM pages: im.snibgo.com