array2gif
array2gif copied to clipboard
Incorrect color table?
I was trying to open this gif using your library, with this code:
frames, details, NA = gif2numpy.convert(options['to_create'])
'to_create' is just the path to the gif.
This is the error I got:
Traceback (most recent call last): File "./get_images.py", line 448, in
create_image() File "./get_images.py", line 410, in create_image frames, details, NA = gif2numpy.convert(options['to_create']) #just gets the frames in numpy array File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/gif2numpy.py", line 631, in convert transp_idx = color_table[exts[-1]['transparent_idx']][::-1] # RGB -> BGR IndexError: list index out of range
How can I get around this issue?