This project has moved and is read-only. For the latest updates, please go here.

Get number of colors using

May 5, 2016 at 12:15 PM

How to get the number of colors using library.

Using imagemagick I can get the color info using commandline:
convert "image.emf" -unique-colors -format %w info:

Let me know.
May 6, 2016 at 9:20 AM
The MagickImage class has a TotalColors property that you can use for this:
using (MagickImage image = new MagickImage())
May 6, 2016 at 10:35 AM
Thanks a lot :)