b2dGetImagePaletteColorG

Returns the G component (0-255) of a palette entry.

2D Overlay

Parameters & Returns

Parameters

imageHandle Int
index Int

Returns

Int

Quick Summary

Returns the G component (0-255) of a palette entry.

Technical Exegesis...

Reads back the G channel of palette entry `index` for the indexed image - useful for copying, tweaking or fading palettes.

Example

Example.bam
; No example implemented yet