Thermal palette
Thermal palette is a key component of displaying IR images.
Thermal range is bound to ThermalManager provider and its value is synchronised to all its files.
Overview of related elements
The thermal palette is controlled on the level of ThermalManager.
| manager-palette-dropdown | |
| manager-palette-buttons | |
| manager-advanced-palette-switch |
Constraints
In sake of simplicity, the thermal palettes shown by default are only the most used ones:
ironjetwhite_hotblack_hot
When the advanced-palettes attribute is present, the following palettes become available:
arcticlavarainbowrainbow_hc
Setting default palette via attributes
If you want to have a particular setting by default, you can provide palette and/or advanced-palettes attribute to the manager-provider.
<manager-provider palette="lava" advanced-palettes></manager-provider>The advanced-palettes attribute is boolean: omit it to disable advanced choices. The value advanced-palettes="false" still enables them because the attribute is present.
Providers using the same manager-slug share the selected palette. When a provider connects without palette, it keeps the shared manager's current palette; a new manager defaults to jet. An explicitly supplied palette changes the shared value. The advanced-palettes setting belongs to each provider, so set it on each provider whose controls should offer advanced choices. A palette control in basic mode resets a shared advanced selection to iron.
These attributes are also supported by the following applications:
<thermal-file-app palette="..."></thermal-file-app>
<thermal-group-app palette="..."></thermal-group-app>
<thermal-dropin-app palette="..."></thermal-dropin-app>Example - a thermal-file-app with lava as default palette;
<thermal-file-app
label="Example of default palette"
palette="lava"
advanced-palettes
thermal="/files/makak.lrc"
></thermal-file-app>