color_tools.exporters.jascpal_exporter
JASC-PAL palette exporter.
Exports colors to the JASC Paint Shop Pro palette format.
Format:
JASC-PAL 0100 <color_count> R G B R G B …
JASC-PAL is a plain-text RGB palette format commonly used by Paint Shop Pro, pixel-art tools, retro graphics utilities, and palette conversion software.
The .pal extension is shared by multiple palette formats, so the exporter
registry uses the explicit identifier jasc_pal.
- class color_tools.exporters.jascpal_exporter.JascPalExporter[source]
Bases:
PaletteExporterExport color palettes in JASC-PAL format.
JASC-PAL stores 8-bit RGB values as plain text. Color names and alpha values are not supported by the format.
- property metadata: ExporterMetadata
Return metadata describing the JASC-PAL exporter.