Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

Bitmap Resource Structure
Block Name Bits Description
Header Compression 8 Compression of the image, currently set to zero.
BPP 8 Bits per pixel in the bitmap. Valid values 1, 4, 8, 16, 24.
Height 16 Image height in pixels
Width 16 Image width in pixels
Color Table First color value 16/32
... ... ...
Last color value 16/32
Raster Data ... ... ...
Bitmap Header Example
/****************************************
* Bitmap header
****************************************/
0x00, // Compresssion
0x04, // Color Depth
0x48, 0x00, // Height
0x48, 0x00, // Width
Bitmap Color Table Example: 4bpp using 16bpp format
/***********************************
* Color Palette for the image
**********************************/
0x12, 0x33,
0x2E, 0x2A,
0x94, 0x4B,
0x35, 0x5C,
0xD8, 0x74,
0x1D, 0xD7,
0xFA, 0xA5,
0x4B, 0xA5,
0x64, 0x73,
0xA1, 0xEE,
0x07, 0xF7,
0x75, 0xFF,
0x21, 0xC5,
0x1C, 0x66,
0xFF, 0xFF,
0x00, 0x00,
Bitmap Color Table Example: 4bpp using 24bpp format
/***********************************
* Color Palette for the image
**********************************/
0x96, 0x60, 0x37, 0x00,
0x70, 0x47, 0x29, 0x00,
0xA2, 0x73, 0x4B, 0x00,
0xAF, 0x84, 0x5D, 0x00,
0xC6, 0x9B, 0x73, 0x00,
0xED, 0xE0, 0xD4, 0x00,
0xD6, 0xBD, 0xA3, 0x00,
0x5E, 0xAA, 0xA6, 0x00,
0x20, 0x6E, 0x72, 0x00,
0x0F, 0xD5, 0xED, 0x00,
0x3D, 0xE0, 0xF4, 0x00,
0xA8, 0xEF, 0xF8, 0x00,
0x08, 0xA5, 0xC5, 0x00,
0xE7, 0xC3, 0x67, 0x00,
0xFF, 0xFF, 0xFF, 0x00,
0x00, 0x00, 0x00, 0x00,
6.1 Image Graphics Resource Converter Bitmap Format
19
6

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh