what is PixelSetColorCount?

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
RetroJ
Posts: 108
Joined: 2006-10-25T08:12:50-07:00

what is PixelSetColorCount?

Post by RetroJ »

In MagickWand, what is PixelSetColorCount? Does it set the index of the color within some palette, or... ?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: what is PixelSetColorCount?

Post by magick »

All MagickWand methods are symmetric. PixelGetColorCount() is useful for returning the color count after you generate a histogram with MagickGetImageHistogram(). MagickGetImageHistogram() utilizes the PixelSetColorCount() method to set the count of a particular color. A user might call PixelSetColorCount() for there own custom histogram-like algorithms.
RetroJ
Posts: 108
Joined: 2006-10-25T08:12:50-07:00

Re: what is PixelSetColorCount?

Post by RetroJ »

thank you
Post Reply