Documentation
¶
Overview ¶
Package palette contains image and palette manipulation utilities.
Index ¶
Constants ¶
View Source
const Size = 256
Variables ¶
This section is empty.
Functions ¶
func RemapLastColor ¶
GoldSrc uses the last color of a palette to indicate what to use as the
* transparent color for masked transparency. If the palette is shorter than the * maximum the last color of the palette needs to be moved to the last spot and * all corresponding pixels also need to be updated to this new palette index.
Types ¶
Click to show internal directories.
Click to hide internal directories.