Click here to Skip to main content
15,891,513 members
Articles / Desktop Programming / Windows Forms

Count Number of Unique Colors in an Image

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
19 Feb 2011CPOL 12.1K  
I think we may check if the color is repeated or not, any how this another alternative but in VB.NetPublic Shared Function GetImageColorsCount(ByVal bitmap As Bitmap) As Integer Dim ColorList As New System.Collections.Generic.List(Of Integer) Dim clr As Integer For...

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Engineer
Egypt Egypt
Oil & Gas Engineer
C# & VB.net
Coding For Fun Only

Comments and Discussions