Provides a collection of direct image types for use by a Photon microGUI application.
More...
#include <Image.h>
Provides a collection of direct image types for use by a Photon microGUI application.
- See also
-
◆ eDirectImageType
Enumerator |
---|
ImageDirect1555 | This format has, for each pixel, one bit of alpha, and 5 bits each of red, green, and blue.
|
ImageDirect4444 | This format has 4 bits of alpha, and 4 bits each of red, green, and blue.
|
ImageDirect444 | This format requires 2 bytes per pixel. It matches the high-speed color lookup tables used by palette-based graphics drivers and provides the fastest method of drawing direct-color images with palette-based graphics drivers. Here's the bit order: xxxx.RRRR.GGGG.BBBB
|
ImageDirect565 | This format packs each pixel into 2 bytes and matches the display format of most 16-bit, direct-color, graphics drivers. Here's the bit order: RRRR.RGGG.GGGB.BBBB
|
ImageDirect8888 | This format is an array of 4-byte color entries. The least significant byte is the blue component, after that there is the green component, following that there is the red component and the most significant byte is reserved.
|
ImageDirect888 | This format packs each pixel into 3 bytes. Using this format, you can represent a full 24 bit color image. Here's the bit order: RRRR.RRRR.GGGG.GGGG.BBBB.BBBB
|
The documentation for this struct was generated from the following file: