euporie.core.convert.formats.sixel

Contain function which convert data to sixel format.

Functions

call_subproc(data, cmd[, use_tempfile, suffix])

Call the command as a subprocess and return it's output as bytes.

chafa_convert_cmd(output_format, datum[, ...])

Convert image data to ANSI text using chafa.

chafa_convert_py(output_format, datum[, ...])

Convert image data to ANSI text using ::chafa.py.

command_exists(*cmds)

Verify a list of external commands exist on the system.

get_app()

Get the current active (running) Application.

have_modules(*modules)

Verify a list of python modules are importable.

imagemagick_convert(output_format, datum[, ...])

Convert image data to PNG bytes using imagemagick.

pil_to_sixel_py_teimpy(datum[, cols, rows, ...])

Convert a pillow image to sixels teimpy.

pil_to_sixel_py_timg(datum[, cols, rows, ...])

Convert a pillow image to sixels timg.

png_to_sixel_img2sixel(datum[, cols, rows, ...])

Convert PNG data to sixels img2sixel.

register(from_, to[, filter_, weight])

Add a converter to the centralized format conversion system.

Classes

partial

partial(func, *args, **keywords) - new function with partial application of the given arguments and keywords.

async euporie.core.convert.formats.sixel.pil_to_sixel_py_teimpy(datum: Datum, cols: int | None = None, rows: int | None = None, fg: str | None = None, bg: str | None = None, extend: bool = True) str

Convert a pillow image to sixels teimpy.

async euporie.core.convert.formats.sixel.pil_to_sixel_py_timg(datum: Datum, cols: int | None = None, rows: int | None = None, fg: str | None = None, bg: str | None = None, extend: bool = True) str

Convert a pillow image to sixels timg.

async euporie.core.convert.formats.sixel.png_to_sixel_img2sixel(datum: Datum, cols: int | None = None, rows: int | None = None, fg: str | None = None, bg: str | None = None, extend: bool = True) str

Convert PNG data to sixels img2sixel.