The user who creates the effect module must prepare the function corresponding to the steps 2) to 4) above.
■ About bitmap memory
Color depth: 1
Place the bitmap at 1 bit / pixel. However, the horizontal direction is 1 byte boundary. 1 is displayed in black and 0 is displayed in white.
Color depth: 4
16-color index format. The RGBQUAD structure is arranged for 16 colors. After that, a bitmap is placed at 4 bits / pixel. However, the horizontal direction is 1 byte boundary.
Color depth: 8
256-color index format.
The RGBQUAD structure is arranged for 256 colors. After that, a bitmap is placed at 8 bits / pixel.
Color depth: 16
Direct color format. Place the bitmap at 16 bits / pixel. Each color intensity is formatted as 0b | R5 | G5 | B5.
Color depth: 24 (32)
Direct color format. Place the bitmap at 32 bits / pixel. Each color intensity is formatted as 8b | R8 | G8 | B8.