https://github.com/davecom/dissolve
Make an animated GIF that dissolves from one image to another using Python's Pillow.
https://github.com/davecom/dissolve
animated-gif pil pillow python
Last synced: 7 months ago
JSON representation
Make an animated GIF that dissolves from one image to another using Python's Pillow.
- Host: GitHub
- URL: https://github.com/davecom/dissolve
- Owner: davecom
- License: apache-2.0
- Created: 2020-05-31T05:41:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-25T15:22:47.000Z (almost 5 years ago)
- Last Synced: 2025-01-09T09:52:56.749Z (9 months ago)
- Topics: animated-gif, pil, pillow, python
- Language: Python
- Size: 9.44 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dissolve
Make an animated GIF that dissolves from one image to another using Python's Pillow.## Summary
This example program shows the basic usage of the Python `argparse` module and the third-party [Pillow](https://python-pillow.org) library. In particular, modifying images at the pixel level and creating animated GIFs is demonstrated.## Requirements
This program was tested on Python 3.7, and should work on newer versions. You must have the `Pillow` library installed. For example, `pip3 install pillow`. It was tested with Pillow 7.1.2.## Running
```
python3 dissolve.py -h
usage: dissolve [-h] source destination namepositional arguments:
source The image to dissolve from.
destination The image to dissolve to.
name The name for the animated GIF file.
```## Example
```
python3 dissolve.py example1.jpeg example2.jpeg result.gif
```
## License
Licensed under the Apache License, version 2.0