Raxol.Terminal.ANSI.SixelPalette (Raxol v0.2.0)

View Source

Handles Sixel color palette management.

Provides functions to initialize the default palette and potentially manage custom color definitions in the future.

Summary

Functions

Initializes the default Sixel color palette (256 colors).

Returns the maximum valid color index (typically 255 for a 256-color palette).

Functions

initialize_palette()

@spec initialize_palette() :: map()

Initializes the default Sixel color palette (256 colors).

max_colors()

@spec max_colors() :: non_neg_integer()

Returns the maximum valid color index (typically 255 for a 256-color palette).