1

I am looking to speed up the gif I made with Imageio in python. I do not have the images that i used to make gif but I do have the gif.

I cannot find suitable source for this in imageio documentation or anywhere online. Can you suggest me something?

jkhadka
  • 2,443
  • 8
  • 34
  • 56

1 Answers1

3

This question is partially answered in Python ImageIO Gif Set Delay Between Frames.

import imageio

gif_original = 'foo.gif'
gif_speed_up = 'foo2.gif'

gif = imageio.mimread(gif_original)

imageio.mimsave(gif_speed_up, gif, fps=$FRAMESPERSECOND)

See imageio.help("GIF") for further details.

Community
  • 1
  • 1
adriaat
  • 117
  • 1
  • 8