A paletted image stores each pixel as an index into a finite color palette instead of directly encoding RGBA components. Fewer palette colors can reduce size, but may produce compression artifacts. section 9.6.2
A Go paletted image supports practical GIF rendering:
- Create one with image.NewPaletted, supplying a rectangle and a palette such as Plan9 or WebSafe. section 9.6.2
Maze-solver animation
A concurrent maze solver paints explored pixels, periodically converts the maze into paletted frames, and appends a final solution frame with the path highlighted.
