FreeImageBitmap.UniqueColors Property

FreeImage.NET

FreeImageBitmapUniqueColors Property
The number of unique colors actually used by the bitmap. This might be different from what ColorsUsed returns, which actually returns the palette size for palletised images. Works for FIT_BITMAP type bitmaps only.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public int UniqueColors { get; }

Property Value

Type: Int32
See Also