# Vault 7: Projects

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

### Protego

# MLA -- Graphics Resource Converter

1 January, 2014

- 1
- 2
…
- 10
- 11
- 12
- 13
- 14
…
- 67
- 68

4 Terms
The following terms and there abbreviations will be used throughout this help file document.
Graphical User Interface (GUI)
- A type of user interface that allows user to interact with applications with images rather
than text commands.
Command Line Interface or Command Line
- A type of user interface that allows for the user or other application to
interact with the application with text commands through a command line prompt.
Bits per Pixel (bpp)
- The number of bits per pixel, 1, 2, 4, 8, 16 or 24. For example if a picture is 16 bpp, then each color
will require two bytes. This value is important when computing the overall memory required by an image.
Microchip Graphics Library
- Part of the Microchip Applications Library (MLA). The software allows the users to interface
with a number of graphics controllers, both external and internal, to render objects, images and fonts.
Graphics Resource Converter (GRC)
- A cross platform JAVA based utility that provides a GUI and Command Line
interface for conversion of images, bitmap and JPEG, fonts, binary and palette files into a format which the Microchip
Graphics Library can use as part of it's operations.
Resources
- An image, font, binary or palette file that can be converted. They are loaded into the GRC for conversion.
Image Resource
- Either a Microsoft Bitmap or JPEG file that has been converted for use by the Microchip Graphics
Library. The original format of these resources may or may not be modified by the GRC for use with the Microchip Graphics
Library.
Font Resource
- There are three types of fonts supported by the GRC, Installed, TTF and FNT. Each of the formats are
converted into a common structure used by the Microchip Graphics Library. It should be noted that it is not recommended to
use installed fonts as they are specific to a system and may not be available on all platforms supported by the GRC. The
user may want to copy the TTF file from the installed fonts directory on the operating system and use it.
Binary Resource
- This is a resource that contains the raw, unmodified data of a file. Any file may be loaded as a binary,
provided that the extension of the file is changed to "bin". It is recommended to first make a copy of the file and then rename
the extension.
Palette Resource
- Either a bitmap or GIMP palette file. The bitmap file must contain a palette, meaning it is 1, 2, 4 or 8 bits
per pixel.
Internal Flash
- A type of conversion where the output is a C source and header files. The source file is to be compiled by
the firmware application and stored in the PIC's internal flash memory.
4 Graphics Resource Converter
9
4

- 1
- 2
…
- 10
- 11
- 12
- 13
- 14
…
- 67
- 68