Function: parseColormap()
parseColormap(
cmap,nodata?):ImageData
Defined in: colormap.ts:9
Parse the GeoTIFF ColorMap tag into an ImageData.
Parameters
cmap
The colormap array from the GeoTIFF ColorMap tag.
nodata?
number
Optional index of the nodata value in the colormap.
Returns
The parsed colormap as an ImageData object.