PngOptimizerCL from http://psydk.org/pngoptimizer
826

A graphics and command line tools to optimize PNGs and convert other lossless formats (GIF, BMP, TGA) into optimized PNGs.
How to build PngOptimizer?
For Windows:
The final build result, PngOptimizer.exe, is located into the Win32-Debug, Win32-Release, x64-Debug or x64-Release sub-directory of the PngOptimizer directory.
For Linux:
Open a terminal
Ensure you have build tools. To get the build tools on Ubuntu,
open a terminal and execute this command: sudo apt install build-essential
Ensure you have GTK+ development package: sudo apt-get install libgtk-3-dev
Change directory to projects/pngoptimizer/
Execute command: make or make CONFIG=release
These commands build in debug and release configuration respectively. The build results are located in the linux-debug/ or linux-release/ directories.
On Linux, make accept other targets: clean, run, install, uninstall, cov. Open sdk/chulib.mk for a description at the top of the file.
The SDK libraries have subdirectories where build files are stored:
How to build PngOptimizerCL?
For Windows: same as PngOptimizer except you need to open projects/pngoptimizercl/PngOptimizerCL.sln
For Linux: same as PngOptimizer except you need to change directory to projects/pngoptimizercl, and the GTK+ development package is not needed.
To build all and create the packages to be downloaded, call from a terminal:
distrib/make-distrib.batdistrib/make-distrib.shPackages will be created in the distrib/download directory.
To build the Docker image for PngOptimizerCL, call from a Docker command line:
docker build -t pngoptimizercl .You can then invoke PngOptimizerCL directly using Docker:
docker run --rm -v "$(pwd):$(pwd)" pngoptimizercl "$(pwd)/my_file.png"You can also directly use my prebuild image and skip the first step:
docker run --rm -v "$(pwd):$(pwd)" genezys/pngoptimizercl "$(pwd)/my_file.png"Content type
Image
Digest
Size
37.8 MB
Last updated
almost 9 years ago
docker pull genezys/pngoptimizercl