A simple Python utility to convert a sequence of PNG images into an animated AVIF file. This tool provides both a Command Line Interface (CLI) and a Graphical User Interface (GUI).
- Convert PNG Sequences: Turn a folder of images into a single animated AVIF.
- Customizable Settings: Adjust Frames Per Second (FPS) and Quality.
- Progress Tracking: Visual progress bar in GUI and console output in CLI.
- Lightweight: Built with
Pillowandpillow-avif-plugin.
- Clone this repository or download the source code.
- Install the required dependencies:
pip install -r requirements.txtRun the GUI for an easy-to-use experience:
python gui.py- Input Folder: Select the folder containing your PNG sequence.
- Output File: Choose where to save the generated
.aviffile. - Settings: Adjust FPS (def: 24) and Quality (def: 85).
- Convert: Click the button and watch the progress!
Use the script directly from your terminal:
python convert.py "path/to/input_folder" "output/file.avif" --fps 24 --quality 85Arguments:
input_folder: Path to the folder containing .png images.output_file: Path for the output .avif file.--fps: (Optional) Frames Per Second. Default is 24.--quality: (Optional) Quality from 0-100. Default is 85.
- Python 3.x
Pillowpillow-avif-plugin
