Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jevxtn/create-gif-py

A Python project that creates animated GIFs using the imageio library. Easily convert a series of images into a dynamic GIF with customizable settings for frame duration and output options.
https://github.com/jevxtn/create-gif-py

gif gif-creator image imageio python python-3 python-script

Last synced: 15 days ago
JSON representation

A Python project that creates animated GIFs using the imageio library. Easily convert a series of images into a dynamic GIF with customizable settings for frame duration and output options.

Awesome Lists containing this project

README

        

# GIF Creator with Python and imageio

## Project Overview 🐍

This project demonstrates how to create GIFs using Python with the `imageio` library. It provides a simple and efficient way to convert a series of images into an animated GIF, making it easy to create dynamic visual content for websites, presentations, or social media.

## Features

- Convert multiple images into a single animated GIF
- Easy-to-use script with customizable settings
- Supports various image formats (e.g., PNG, JPEG)
- Adjustable frame duration for fine-tuning animation speed

## Getting Started

### Prerequisites

To use this project, you'll need the following:

- Python 3.x
- `imageio` library

You can install `imageio` using pip:

```bash
pip install imageio
```

### Usage

1. Clone this repository:

```bash
git clone https://github.com/Jevxtn/create-gif-py.git
cd create-gif-py
```

2. Add your images to the `images` directory.

3. Run the script to generate a GIF:

```bash
python3 create_gif.py
```

4. Your GIF will be saved in the `output` directory.

### Script Options

You can customize the GIF creation by editing the `create_gif.py` script:

- **Image Directory:** Change the path to your images
- **Output File:** Set the desired output file name and path
- **Frame Duration:** Adjust the time each frame is displayed in the GIF

## Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request to improve this project.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Acknowledgments

- Thanks to the creators of the `imageio` library for making GIF creation straightforward and accessible.