How to split gif into frames. save("gif-webp-"+str(i)+".