- class garmin.RGBA(red=0, green=0, blue=0, unused=0)
RGBA is a sRGB format that uses 32 bits of data per pixel.
Each channel (red, green, blue, and alpha) is allocated 8 bits per pixel (BPP). The alpha channel is unused. Instead, a color is used for transparency. Most devices make magenta (255,0,255) transparent.
- class garmin.ImageColorTable
BMP color table.
The color table is a block of bytes listing the colors used by the image. Each pixel in an indexed color image is described by a number of bits (1, 4, or 8) which is an index of a single color described by this table. The purpose of the color palette in indexed color bitmaps is to inform the application about the actual color that each of these index values corresponds to.
The colors in the color table are specified in the 4-byte per entry RGBA format. Each entry in the color table occupies 4 bytes, in the order blue, green, red, 0x00.
Returns the RGB color palette as a list of ints.