Skip to main content

A package to convert images in folders to GIFs

Project description

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)
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gifgen-1.3.0.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gifgen-1.3.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file gifgen-1.3.0.tar.gz.

File metadata

  • Download URL: gifgen-1.3.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for gifgen-1.3.0.tar.gz
Algorithm Hash digest
SHA256 0fd9587ef953c392700cfda2436bc4cacb42824905251c95dde68a40c0a313da
MD5 0e4147edd3f612072b98361abd520dab
BLAKE2b-256 431e0ff4375be1a22fdc03aa9678534c9f600bc5b14fc79490da2cf4bf01918c

See more details on using hashes here.

File details

Details for the file gifgen-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: gifgen-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for gifgen-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8479ca03bc5d4985b865eb471eb7e49c9771b651a08e453c9ae783e29725491d
MD5 8bed0e0943e3b4bfb122fcbfe988f893
BLAKE2b-256 8d975800862684efaec5933374319752dec2c2a89b9eb1a1dc46fb5d0b6f9871

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page