Download using pip via pypi.
$ pip install pygifconverter --upgrade
or
$ pip install git+https://github.com/lih0905/pygifconverter.git
(Mac/homebrew users may need to use pip3
)
>>> from pygifconverter.converter import GifConverter
>>> c = GifConverter("your original images path", 'your gif output path', (320,240))
>>> c.convert_gif()
- Python library to convert single oder multiple frame gif images
- OpenCV does not support gif images.