Contain functions which convert data to base64 format.


bytes_to_base64_py(data[, width, height, ...])

Convert bytes to base64 encoded data.

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

Add a converter to the centralized format conversion system.

async euporie.core.convert.formats.base64.bytes_to_base64_py(data: str | bytes, width: int | None = None, height: int | None = None, fg: str | None = None, bg: str | None = None, path: Path | None = None, initial_format: str = '') str

Convert bytes to base64 encoded data.