Export Color Palette

Exporting a Color Palette Table

To export the Color Palette Table click the menu item Color Palette... in the File Menu. The Color Palette Table used by the current image view can be exported to a *.txt or a *.csv file.
When exporting the colour palette table of an RGB images the red channel is used.

File Format

The exported file is separated in two sections. The Header Sections contains general informations about the exported colour palette. The Data Section contains the Color Palette Table. When exporting the colour palette, the variables in curly braces are replaced by their current value.

Header Section
# Band: {BAND_NAME}
# Sample unit: {SAMPLE_UNIT}
# Minimum sample value: {MIN_VALUE}
# Maximum sample value: {MAX_VALUE}
# Number of colors: {COLOR_COUNT}


Data Section
ID;Sample;RGB
{COLOR_INDEX};{SAMPLE_VALUE};{RED}, {GREEN}, {BLUE}