ImageGear for Java
getPalette Method
Returns image palette, for images that have Indexed colorspace.

Provides full access to the DIB's palette represented as an array of ImGearRGBQuad structure objects.

Palette must be present in images that have ImGearColorSpaceIDs.I colorspace. Palette is ignored in images that have other colorspaces.

ImGearRGBQuad

Syntax
public ImGearRGBQuad[] getPalette()

Return Value

Array of ImGearRGBQuad structure objects or null.
See Also

Reference

ImGearDIB Class
ImGearDIB Members

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback