python-lottie  0.6.10+dev2509936
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.parsers.raster Namespace Reference

Classes

class  QuanzationMode
 
class  RasterImage
 
class  Vectorizer
 

Functions

def raster_to_animation (filenames, n_colors=1, frame_delay=1, looping=True, framerate=60, palette=[], mode=QuanzationMode.Nearest, stroke=1)
 

Function Documentation

◆ raster_to_animation()

def lottie.parsers.raster.raster_to_animation (   filenames,
  n_colors = 1,
  frame_delay = 1,
  looping = True,
  framerate = 60,
  palette = [],
  mode = QuanzationMode.Nearest,
  stroke = 1 
)

Definition at line 109 of file raster.py.