[gdal-dev] palette file format doc ?

Michael Sumner mdsumner at gmail.com
Wed Mar 20 13:38:59 PDT 2024


Is the palette_file  .txt format documented?

https://gdal.org/programs/gdalattachpct.html

It's mentioned in a few utilities, and created by tests but I couldn't find
an existing example or a description (I guessed, incorrectly at first,
leaving out the index column). I take it that it is 0-255 range values, but
is index 0-based or 1? And, can index be *value* in any contexts?

index  red green blue <alpha>

If it's documented I'll link it in PRs. I see qml and qlr here:
https://docs.qgis.org/3.34/en/docs/user_manual/appendices/qgis_file_formats.html

Cheers, Mike


-- 
Michael Sumner
Software and Database Engineer
Australian Antarctic Division
Hobart, Australia
e-mail: mdsumner at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20240321/8e972efa/attachment.htm>


More information about the gdal-dev mailing list