Member attributes: FormatOfBitmapResources

This attribute controls the conversion of bitmap resources when generating code for a particular profile member.





The attribute FormatOfBitmapResources determines the format how bitmap resources are stored in the code segment (ROM or flash memory) in the target device. Accordingly it affects the memory allocation and the resource management in Embedded Wizard Graphics Engine. The attribute can assume one of the following values:




The bitmap pixel information is stored in compressed format. This mode requires the pixel information to be decompressed when the bitmap is used at the runtime. The decompressed bitmaps are maintained in bitmap cache occupying additional RAM. On the other hand, compressed bitmaps have less impact on the code segment size (the application requires less ROM or flash memory). This is the default mode.


The bitmap pixel information is stored uncompressed in the native color format of the target system. In this manner the pixel information can be accessed directly in the code segment (ROM or flash memory) without an intermediate decompression step into a bitmap cache RAM. This mode requires the color format of the target system to be specified in the attributes ColorChannelsOrder and ColorPremultipliedAlpha.

Modify the attribute

To inspect or modify the value of a FormatOfBitmapResources attribute, select first the affected profile member. Thereupon, the attribute is listed in the middle area of Inspector. Please note the assistant you can activate by clicking on the button right to the attribute:

Please note, the attribute can be hidden if the Platform Package selected in the particular profile member doesn't support the direct-access mode for generated bitmap data.