CalcImageNumColors returns how much colors has current image.
This doesn't depend on the internal format of image (so a 24 bit images dosen't necessarily has 16 million of colors).
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0
Syntax
C# | Visual Basic | Visual C++ |
public int CalcImageColorCount()
Public Function CalcImageColorCount As Integer
public: int CalcImageColorCount()