Ansi::Sixel
Constants
BEL = 7_u8
CarriageReturn = '$'.ord.to_u8
ColorIntroducer = '#'.ord.to_u8
ESC = 27_u8
LineBreak = '-'.ord.to_u8
MaxColors = 256
RasterAttribute = '"'.ord.to_u8
RepeatIntroducer = '!'.ord.to_u8
ST = 156_u8
Class methods
default_palette
DefaultPalette returns the default palette used when decoding a Sixel image. It contains the 256 colors defined by the xterm 256-color palette.
FromColor returns a Sixel color from a color. It converts the color channels to the 0-100 range.