Package: tinyimg Title: Optimize and Compress Images Version: 0.4.5 Authors@R: c( person("Yihui", "Xie", role = c("aut", "cre", "cph"), email = "xie@yihui.name", comment = c(ORCID = "0000-0003-0645-5666", URL = "https://yihui.org")), person("Authors of the dependency Rust crates", role = c("ctb", "cph"), comment = "see AUTHORS file")) Description: Optimize and compress images using 'Rust' libraries to reduce file sizes while maintaining image quality. Supports PNG palette reduction and dithering via the 'exoquant' crate before lossless PNG optimization via the 'oxipng' crate, and JPEG re-encoding via the 'mozjpeg' crate. The package provides functions to optimize individual image files or entire directories, with configurable compression levels. Use tinyimg() as a convenient entry point for mixed PNG/JPEG workflows. License: MIT + file LICENSE URL: https://github.com/yihui/tinyimg BugReports: https://github.com/yihui/tinyimg/issues SystemRequirements: Cargo (Rust's package manager), rustc (>= 1.82.0) Encoding: UTF-8 Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.3 Suggests: testit Config/rextendr/version: 0.3.1 Config/pak/sysreqs: libclang-dev Repository: https://yihui.r-universe.dev Date/Publication: 2026-07-01 03:38:27 UTC RemoteUrl: https://github.com/yihui/tinyimg RemoteRef: HEAD RemoteSha: 220ee0f90a9ab79cd5e00f8e6d10841c752f9ff2 NeedsCompilation: yes Packaged: 2026-07-01 05:30:12 UTC; root Author: Yihui Xie [aut, cre, cph] (ORCID: , URL: https://yihui.org), Authors of the dependency Rust crates [ctb, cph] (see AUTHORS file) Maintainer: Yihui Xie