API Reference > Extension Classes > ExServices Classes > OdExGiRasterImage Class > OdExGiRasterImage Methods > OdExGiRasterImage::getPalNumColors Method
OdExGiRasterImage::getPalNumColors Method
Syntax
C++
OdUInt32 getPalNumColors() const;

Returns the number of colors in the palette of this RasterImage object.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.