Greetings,
Putting a hex color in a color-map.txt file causes a segfault. No, you
shouldn't be doing that. GDAL 3.12.0. Here's an example:
gdal raster color-map \
-i byte.tif \
--color-map bad-color-map.txt \
-o tst.png --overwrite
bad-color-map.txt:
nv 255 255 255 255
0 88 0 0
128 #ffccff
255 0 0 88
Thanks!
Scott
--
www.postholer.com