FastLED 3.9.15
Loading...
Searching...
No Matches

◆ nsgif_bitmap_fmt

NSGIF nsgif_bitmap_t pixel format.

All pixel formats are 32 bits per pixel (bpp). The different formats allow control over the ordering of the colour channels. All colour channels are 8 bits wide.

Note that the GIF file format only supports an on/off mask, so the alpha (A) component (opacity) will always have a value of 0 (fully transparent) or 255 (fully opaque).

Enumerator
NSGIF_BITMAP_FMT_R8G8B8A8 

Bite-wise RGBA: Byte order: 0xRR, 0xGG, 0xBB, 0xAA.

NSGIF_BITMAP_FMT_B8G8R8A8 

Bite-wise BGRA: Byte order: 0xBB, 0xGG, 0xRR, 0xAA.

NSGIF_BITMAP_FMT_A8R8G8B8 

Bite-wise ARGB: Byte order: 0xAA, 0xRR, 0xGG, 0xBB.

NSGIF_BITMAP_FMT_A8B8G8R8 

Bite-wise ABGR: Byte order: 0xAA, 0xBB, 0xGG, 0xRR.

NSGIF_BITMAP_FMT_RGBA8888 

32-bit RGBA (0xRRGGBBAA).

NSGIF_BITMAP_FMT_BGRA8888 

32-bit BGRA (0xBBGGRRAA).

NSGIF_BITMAP_FMT_ARGB8888 

32-bit ARGB (0xAARRGGBB).

NSGIF_BITMAP_FMT_ABGR8888 

32-bit BGRA (0xAABBGGRR).

Definition at line 117 of file nsgif.hpp.

117 {
120
123
126
129
137
145
153
@ NSGIF_BITMAP_FMT_A8B8G8R8
Bite-wise ABGR: Byte order: 0xAA, 0xBB, 0xGG, 0xRR.
Definition nsgif.hpp:128
@ NSGIF_BITMAP_FMT_R8G8B8A8
Bite-wise RGBA: Byte order: 0xRR, 0xGG, 0xBB, 0xAA.
Definition nsgif.hpp:119
@ NSGIF_BITMAP_FMT_ARGB8888
32-bit ARGB (0xAARRGGBB).
Definition nsgif.hpp:152
@ NSGIF_BITMAP_FMT_RGBA8888
32-bit RGBA (0xRRGGBBAA).
Definition nsgif.hpp:136
@ NSGIF_BITMAP_FMT_B8G8R8A8
Bite-wise BGRA: Byte order: 0xBB, 0xGG, 0xRR, 0xAA.
Definition nsgif.hpp:122
@ NSGIF_BITMAP_FMT_ABGR8888
32-bit BGRA (0xAABBGGRR).
Definition nsgif.hpp:160
@ NSGIF_BITMAP_FMT_BGRA8888
32-bit BGRA (0xBBGGRRAA).
Definition nsgif.hpp:144
@ NSGIF_BITMAP_FMT_A8R8G8B8
Bite-wise ARGB: Byte order: 0xAA, 0xRR, 0xGG, 0xBB.
Definition nsgif.hpp:125
enum fl::third_party::nsgif_bitmap_fmt nsgif_bitmap_fmt_t
NSGIF nsgif_bitmap_t pixel format.