Skip to content

rs_rich.art.sixel

Generated from the type stubs by scripts/gen_python_api.py; do not edit.

rich_art::sixel: images as Sixel graphics.

SIXEL_DEFAULT_CELL_PX module-attribute

SIXEL_DEFAULT_CELL_PX: Tuple[int, int]

SIXEL_MAX_PIXELS module-attribute

SIXEL_MAX_PIXELS: int

DEFAULT_CELL_PX module-attribute

DEFAULT_CELL_PX = SIXEL_DEFAULT_CELL_PX

MAX_PIXELS module-attribute

MAX_PIXELS = SIXEL_MAX_PIXELS

is_probably_supported module-attribute

is_probably_supported = sixel_is_probably_supported

SixelArt

encode

encode(available: int) -> Optional[str]

sixel_is_probably_supported

sixel_is_probably_supported() -> bool