Pngyu is a Front-end GUI application for pngquant.
Download the latest version from the Homepage.
Pre-built binaries are available for Windows and macOS.
Pngyu can be built on any platform that supports Qt and pngquant command-line tool.
- Qt 6.x
- CMake 3.16 or later
- C++17 compatible compiler
- pngquant binary (included in
pngquant_bindirectory)
macOS:
./scripts/build_mac.shThe built application will be available at build/Release/Pngyu.app.
To build Debug version:
BUILD_TYPE=Debug ./scripts/build_mac.shWindows:
.\scripts\build_win.ps1To build Debug version:
.\scripts\build_win.ps1 -BuildType Debug- Open
CMakeLists.txtin Qt Creator - In the "Configure Project" screen, set the build directory to
build/Release(for Release builds) orbuild/Debug(for Debug builds) - Build the project (Ctrl+B / Cmd+B)
The built application will be in the configured build directory.
After building, use the deployment scripts to create distributable packages:
macOS:
./scripts/deploy_mac.shThis will bundle Qt frameworks and create a DMG file.
Windows:
.\scripts\deploy_win.ps1This will bundle Qt DLLs and create an archive.
The deployment scripts work with both command-line and Qt Creator builds, as long as the build directory is build/Release (configurable via BUILD_DIR environment variable).
Pngyu supports multiple languages. For information about translations and contributing new languages, see translations/README.md.
Pngyu itself is distributed under the BSD license.
However, the pre-built binaries include pngquant, which is licensed under GPL v3 or later. See https://github.com/kornelski/pngquant for pngquant's license details.