Added optional lossy PNG optimization before lossless oxipng optimization.
Changed the primary API from optim_png() to
tinypng().
Updated benchmark examples for lossy optimization results, visual comparisons, and lossy-level plots.
This is the first CRAN release of tinyimg. The package provides tools for optimizing and compressing images using Rust libraries.
PNG optimization via the oxipng Rust crate
Support for single file and directory optimization
Configurable optimization levels (0-6)
Optional alpha channel optimization for transparent pixels
Preservation of file permissions and timestamps
Verbose output showing file size reduction
Recursive directory processing