bodqhrohro / giftolottie

Converts animated GIFs into animated stickers for Telegram (*.tgs)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not working

dmirajkar opened this issue · comments

IndexError: list index out of range

Yeah same issue here

╭─wrench@Alligator in repo: giftolottie on  master [?] via  v3.9.6 took 79ms
╰─λ python read.py  test.gif out.tgs

Traceback (most recent call last):
File "/home/wrench/Documents/Github/giftolottie/read.py", line 22, in <module>
frames, exts, image_specs = vendor.gif2numpy.convert(tmpfile.name, BGR2RGB=False)
File "/home/wrench/Documents/Github/giftolottie/vendor/gif2numpy.py", line 660, in convert
transp_idx = color_table[exts[-1]['transparent_idx']] # RGB -> RGB
IndexError: list index out of range

Same here

Traceback (most recent call last):
  File "/home/keereal/github-personal/giftolottie/read.py", line 22, in <module>
    frames, exts, image_specs = vendor.gif2numpy.convert(tmpfile.name, BGR2RGB=False)
  File "/home/keereal/github-personal/giftolottie/vendor/gif2numpy.py", line 660, in convert
    transp_idx = color_table[exts[-1]['transparent_idx']] # RGB -> RGB
IndexError: list index out of range