palettize list
The list command group provides subcommands to explore available resources.
List Presets
Section titled “List Presets”Show all available colormap presets:
palettize list presetsThis displays a table of all preset names from the cmap library plus any custom presets.
Example output:
Available Preset Palettes┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓┃ Name ┃┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩│ custom/grayscale ││ custom/simple_rgb ││ inferno ││ magma ││ plasma ││ viridis ││ ... │└──────────────────────────────────────┘Using Presets
Section titled “Using Presets”Once you find a preset name, use it with show or create:
palettize show viridispalettize create viridis -f gdal -o viridis.txtPreset Categories
Section titled “Preset Categories”Presets come from multiple sources:
- Built-in custom presets: Prefixed with
custom/(e.g.,custom/grayscale) - cmap library presets: Standard scientific colormaps like
viridis,magma,inferno,plasma, etc.
List Exporters
Section titled “List Exporters”Show all available export formats:
palettize list exportersThis displays a table with exporter identifiers and their names.
Example output:
Available Palettize Exporters┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━┓┃ Identifier ┃ Name ┃┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━┩│ gdal │ GDAL Color Relief ││ gee │ Google Earth Engine ││ hex │ Plaintext Hex ││ mapgl │ MapLibre GL JS ││ observable │ Observable Plot ││ qgis │ QGIS Color Ramp XML ││ rgba │ Plaintext RGBA ││ sld │ OGC SLD XML ││ titiler │ TiTiler Colormap URL │└──────────────────────────────┴──────────────────────┘Using Exporters
Section titled “Using Exporters”Use the identifier (first column) with the --format option:
# Single formatpalettize create viridis -f gdal -o output.txt
# Multiple formatspalettize create viridis -f gdal,qgis,mapgl -o "{name}_{format}.{ext}"Plugin Exporters
Section titled “Plugin Exporters”If you’ve installed additional exporter plugins, they will also appear in this list. See Custom Exporters for information on creating your own.