Tstickers Index / Tstickers / Convert Pyrlottie
Auto-generated documentation for tstickers.convert_pyrlottie module.
Show source in convert_pyrlottie.py:17
Convert animated stickers, over a number of threads, at a given framerate, scale and to a set of formats.
swdPath - The sticker working directory (e.g., downloads/packName)._threadsint - This is ignored for the pyrlottie backendfpsint - framerate of the converted sticker, affecting optimization and quality (default: 20)scalefloat - Scale factor for up/downscaling images, affecting optimization and quality (default: 1). :param set[str] | None _formats: This is ignored for the pyrlottie backend
Type: int Number of stickers successfully converted.
def convertAnimated(
swd: Path,
_threads: int = 4,
fps: int = 20,
scale: float = 1,
_formats: set[str] | None = None,
) -> int: ...