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.
swd
Path - The sticker working directory (e.g., downloads/packName)._threads
int - This is ignored for the pyrlottie backendfps
int - framerate of the converted sticker, affecting optimization and quality (default: 20)scale
float - 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: ...