Grx.color_info_set_palette_type_rgb

function color_info_set_palette_type_rgb(): void {
    // Gjs wrapper for grx_color_info_set_palette_type_rgb()
}
  

Changes the graphics mode to RGB color values instead of using a color table.

Initially, graphics modes with 256 colors or less use a color table. Currently, this function only works for modes with 16 or 256 colors.

This has no effect if the color mode is already RGB or if it is grayscale.