indicate whether colors are palette-based or RGB
int my_ispalette();
This function indicates whether colors are palette-based or RGB.
Photon