Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: Get number of colors using Magick.net

$
0
0
The MagickImage class has a TotalColors property that you can use for this:
using (MagickImage image = new MagickImage())
{
  image.Read("image.emf");
  Console.WriteLine(image.TotalColors);
}

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>