gifgen
gifgen is a Python package for converting images in specified folders into GIFs. It provides a simple interface to create GIF animations from sets of images.
Features
- Convert images in multiple folders into GIFs.
- Customize GIF duration per frame.
- Simple and easy-to-use interface.
Installation
You can install gifgen using pip:
pip install gifgen
Usage
```python
from gifgen.converter import convert_images_to_gif
# Example 1: Convert specific folders to GIFs with default duration (500 ms)
image_folders = ['path/to/folder1', 'path/to/folder2']
output_folder = 'path/to/output'
convert_images_to_gif(image_folders, output_folder)
# Example 2: Convert all subfolders of a parent folder to GIFs with custom duration (e.g., 500 ms)
input_folder = 'input/*'
output_folder = 'path/to/output'
convert_images_to_gif(input_folder, output_folder, duration=500)
```
Metadata
Release files for gifgen 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gifgen-1.3.0.tar.gz | 2.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gifgen-1.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.0 kB
Release files / gifgen-1.3.0.tar.gz
| Download URL | gifgen-1.3.0.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0fd9587ef953c392700cfda2436bc4cacb42824905251c95dde68a40c0a313da
|
|
BLAKE2b-256 checksum How to use checksums |
431e0ff4375be1a22fdc03aa9678534c9f600bc5b14fc79490da2cf4bf01918c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Release files / gifgen-1.3.0-py3-none-any.whl
| Download URL | gifgen-1.3.0-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8479ca03bc5d4985b865eb471eb7e49c9771b651a08e453c9ae783e29725491d
|
|
BLAKE2b-256 checksum How to use checksums |
8d975800862684efaec5933374319752dec2c2a89b9eb1a1dc46fb5d0b6f9871
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|