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

New Post: Total Unique Colors of an image?

$
0
0
I need to get the total number of unique colors, currently i use this:
        Dim histogram As Dictionary(Of MagickColor, Integer) = IMG.Histogram
        MsgBox(histogram.Count)
Works great, however i wondered if there is a property in Magick.NET that already has read the number of colors when i load an image into it? I am trying to save up on operations :)

Thanks!

Viewing all articles
Browse latest Browse all 3693

Trending Articles



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