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

Functions

def parse_tgs_json (file)
 Reads both tgs and lottie files, returns the json structure. More...
 
def open_maybe_gzipped (file, on_open)
 
def parse_tgs (filename)
 Reads both tgs and lottie files. More...
 

Function Documentation

◆ open_maybe_gzipped()

def lottie.parsers.tgs.open_maybe_gzipped (   file,
  on_open 
)

Definition at line 14 of file tgs.py.

◆ parse_tgs()

def lottie.parsers.tgs.parse_tgs (   filename)

Reads both tgs and lottie files.

Definition at line 41 of file tgs.py.

◆ parse_tgs_json()

def lottie.parsers.tgs.parse_tgs_json (   file)

Reads both tgs and lottie files, returns the json structure.

Definition at line 7 of file tgs.py.