Vault 7: Projects

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

6 Resources
The following topics describe each of the resources that can be part of a GRC session.
Image ( see page 18)
Font ( see page 21)
Palette ( see page 26)
Binary ( see page 27)
6.1 Image
Image resources consist of Microsoft Bitmap and JPEG images. When a resource image is loaded into the GRC, it will
calculate the resource size. The size of the resource may differ from the actual size of the image file. As in the case of a
Microsoft Bitmap, the size may be smaller due to converting the image into the Microchip Graphics Library bitmap format.
Microsoft Bitmap Images
The GRC converts the Microsoft Bitmap Image into a format that the Microchip Graphics Library will use to decode the
image. The generated data will be less than the image file due to the reduce header size and color depth. The Bitmap
Format ( see page 18) topic give a detailed overview of the data structure and encoding.
IPU Compression
If the PIC microcontroller has an IPU engine as part of its peripheral set, the bitmap resource can be compressed using the
deflate algorithm. The supported deflate algorithm uses static Huffman Tables.
RLE Compression
RLE compression is supported on bitmap resources that have a palette and use 4 or 8bpp.
JPEG Images
The GRC converts all JPEG images as a raw format. The Microchip Graphics Library converts the raw format to display the
image.
6.1.1 Bitmap Format
The following tables describe the data structures used by the Microchip Graphics Library to decode the bitmap image.
6.1 Image Graphics Resource Converter Bitmap Format
18
6

e-Highlighter

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

Un-highlight all Un-highlight selectionu Highlight selectionh