python-lottie  0.6.11+devc144cca
A framework to work with lottie files and telegram animated stickers (tgs)
importer.py
Go to the documentation of this file.
1 from ..tgs import open_maybe_gzipped
2 
3 
4 def parse_sif_file(file):
5  from .converter import convert
6  from . import api
7  return convert(open_maybe_gzipped(file, api.Canvas.from_xml_file))
lottie.parsers.sif.importer.parse_sif_file
def parse_sif_file(file)
Definition: importer.py:4
lottie.parsers.tgs.open_maybe_gzipped
def open_maybe_gzipped(file, on_open)
Definition: tgs.py:14
lottie.parsers.glaxnimate_helpers.convert
def convert(animation, exporter_slug)
Definition: glaxnimate_helpers.py:11