Skip to content

tinyimg

0.4

Optimize and Compress Images

1packages depend
4.8Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Yihui XieFirst published 2026-02-203 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 4.7 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 1.99
not tracked
Coverage
100%
Documentation · exports
0
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-07-30
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-07-29
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-05-02
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 4 earlier snapshots
  • NOTE2026-04-25
    11 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-16
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-28
    13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 205 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
50%

Downloads

4.8K
CRAN downloads in the past year
Rank #3,308 · ~13/day · ~403/mo
Daily download trend is not available in this view yet.
2.1K30 days
3.3K90 days
4.8K1 year
Compare downloads with other packages →
Also on219 r2u

Repository

Repository
12Stars
2Forks
0Open issues
1Open PRs
3Releases
83Commits
4Contributors
83 commits · Last activity 2026-08-17 · 0% stars, 30d

Stars over time

2026-02-17 · 12026-07-16 · 12

Repository practices

Upstream repositoryBeta

2 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/yihui/tinyimg on 2026-08-23.

Continuous integration (1)
GitHub Actions
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Development tooling

AI-assisted toolingBeta

Uses AI-assisted development tooling (declared in repo)

Earliest detected marker: copilot on 2026-02-12

copilotclaude

Most recent: claude on 2026-05-20

Evidence
  • copilot: on 2026-02-12 · evidence A, D, PR · sole bot-author seen
  • claude: on 2026-05-20 · evidence B
How this is detected·Detection ruleset v2 (updated 2026-07-29)

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)
Depends (0)
none
Imports (0)
none
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Contributors (1)
Contributor, Copyright holder
Copyright holders (2)
Author, Maintainer, Copyright holder
Contributor, Copyright holder
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.4Latest
    2026-04-14 · current release · diff ↗
  • 0.3
    2026-03-06 · diff ↗
  • 0.2
    2026-02-20
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-02-20
Total releases
3 / 1 yrs
License
MIT + file LICENSE OSI
Download size
2.1 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("tinyimg")
Xie, Y., & Authors of the dependency Rust crates. (2026). tinyimg: Optimize and Compress Images (Version 0.4) [Computer software]. https://doi.org/10.32614/CRAN.package.tinyimg

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for tinyimg version 0.4 [Data set]. HJJB, LLC. Data release v2026-08-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy