tinyimg: An R Package for Compressing Images

111 · Yihui Xie · March 29, 2026, 11:40 p.m.
Summary
The blog post discusses the tinyimg R package that simplifies image compression for R users by utilizing two Rust libraries for PNG files without requiring external tools. It effectively reduces file sizes while maintaining visual quality, particularly for statistical graphics. The author shares technical details and personal insights into the development process, addressing ease of installation and usage, and hints at future JPEG support.