Member attributes: Clut

This attribute determines a CLUT (color look-up table) file to use when generating code for a particular profile member.

Syntax

clut‑file‑name

Discussion

The attribute Clut determines the path to a text file containing the colors for the color lookup table used in the target device. The knowledge about the available colors capacitates Embedded Wizard to optimize all graphical resources and operation for the particular target device. If the attribute Clut doesn't specify an absolute file path, the path is considered as being relative to the project directory.

The color lookup table is a hardware block very particular to target devices using Index8 as their native color format. In such case the table is necessary for the translation between color indices from the framebuffer and the real color values for the display. As such this attribute has an effect only on profiles configured for a Platform Package with Index8 color format.

Please note, Embedded Wizard provides built-in functionality to automatically generate the Clut files optimized for your particular GUI application.

Modify the attribute

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

Please note, the attribute can be hidden if it is not supported by the Platform Package selected in the particular profile member.