The number of colors in the colormap. Only meaningful for PseudoClass images.
Setting the colormap size may extend or truncate the colormap.
The maximum number of supported entries is specified by the
MaxColormapSize constant, and is dependent on the value of
QuantumDepth when ImageMagick is compiled. An exception is thrown
if more entries are requested than may be supported.
Care should be taken when truncating the colormap to ensure that
the image colormap indexes reference valid colormap entries.
The number of colors in the colormap. Only meaningful for PseudoClass images.
Setting the colormap size may extend or truncate the colormap. The maximum number of supported entries is specified by the MaxColormapSize constant, and is dependent on the value of QuantumDepth when ImageMagick is compiled. An exception is thrown if more entries are requested than may be supported. Care should be taken when truncating the colormap to ensure that the image colormap indexes reference valid colormap entries.