Group: GDI+ Image - Library: gdiplus
Displaying the color palette stored in an image file
GpStatus WINGDIPAPI GdipSetImagePalette(
GpImage *image,
GDIPCONST ColorPalette *palette
)
DECLARE INTEGER GdipSetImagePalette IN gdiplus;
INTEGER img,;
STRING @imgpalette
img [in] Handle to Image Object
palette [in] Pointer to a ColorPalette structure that specifies the palette.
Returns GpStatus value, 0 means success.
See also: GdipGetImagePalette.