https://github.com/zewebdev1337/webpify-go
Go wrapper for ffmpeg to convert all PNG images inside a folder to WebP format, multithreaded for maximum CPU utilization and speed.
https://github.com/zewebdev1337/webpify-go
Last synced: 9 months ago
JSON representation
Go wrapper for ffmpeg to convert all PNG images inside a folder to WebP format, multithreaded for maximum CPU utilization and speed.
- Host: GitHub
- URL: https://github.com/zewebdev1337/webpify-go
- Owner: zewebdev1337
- Created: 2024-08-20T01:28:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-20T01:38:27.000Z (over 1 year ago)
- Last Synced: 2025-04-01T17:24:56.020Z (11 months ago)
- Language: Go
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# webpify-go
Go program to convert all PNG images inside a folder to WebP format, multithreaded for maximum CPU utilization and speed.
## Features
- **Multithreaded:** Utilizes all available CPU cores.
- **Customizable Settings:** Adjust output scale and WebP quality.
- **Removes Transparency Data:** Removes alpha channel information for saving a few extra KB.
## Usage
1. Download binary from releases and place somewhere recognized by PATH.
2. Call from within the folder with the PNGs.
$ `webpify`
3. Enter the desired output scale (e.g., 0.5 for 50% reduction) when prompted.
4. Enter the desired WebP quality (e.g., 80) when prompted.
Converted files will have the same name as the original PNG files with a `.webp` extension.