Skip to content

[ImgBot] Optimize images#34

Closed
imgbot[bot] wants to merge 1 commit intomainfrom
imgbot
Closed

[ImgBot] Optimize images#34
imgbot[bot] wants to merge 1 commit intomainfrom
imgbot

Conversation

@imgbot
Copy link

@imgbot imgbot bot commented Mar 5, 2025

Beep boop. Your images are optimized!

Your image file size has been reduced by 30% πŸŽ‰

Details
File Before After Percent reduction
/man/figures/brand.png 358.68kb 202.86kb 43.44%
/man/figures/README/mpg-lm-example-1.png 76.06kb 49.45kb 34.99%
/man/figures/README/proportion-1.png 106.93kb 70.82kb 33.77%
/man/figures/README/rnorm-hex-example-1.png 182.61kb 123.11kb 32.58%
/tests/testthat/_snaps/scales/mtcars-lm-plot.svg 11.59kb 10.52kb 9.24%
/tests/testthat/_snaps/scales/rnorm-hex-plot.svg 119.89kb 110.77kb 7.60%
/data-raw/stickers/logo-raw.svg 50.83kb 50.22kb 1.20%
/man/figures/logo.svg 50.83kb 50.22kb 1.20%
/data-raw/stickers/dracula.svg 10.20kb 10.12kb 0.78%
Total : 967.62kb 678.10kb 29.92%

πŸ“ docs | :octocat: repo | πŸ™‹πŸΎ issues | πŸͺ marketplace

~Imgbot - Part of Optimole family

*Total -- 967.62kb -> 678.10kb (29.92%)

/man/figures/brand.png -- 358.68kb -> 202.86kb (43.44%)
/man/figures/README/mpg-lm-example-1.png -- 76.06kb -> 49.45kb (34.99%)
/man/figures/README/proportion-1.png -- 106.93kb -> 70.82kb (33.77%)
/man/figures/README/rnorm-hex-example-1.png -- 182.61kb -> 123.11kb (32.58%)
/tests/testthat/_snaps/scales/mtcars-lm-plot.svg -- 11.59kb -> 10.52kb (9.24%)
/tests/testthat/_snaps/scales/rnorm-hex-plot.svg -- 119.89kb -> 110.77kb (7.6%)
/data-raw/stickers/logo-raw.svg -- 50.83kb -> 50.22kb (1.2%)
/man/figures/logo.svg -- 50.83kb -> 50.22kb (1.2%)
/data-raw/stickers/dracula.svg -- 10.20kb -> 10.12kb (0.78%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
@jrdnbradford
Copy link
Collaborator

jrdnbradford commented Mar 6, 2025

This package uses svg snapshots of images for testing purposes, explaining the failed tests in this PR. It also renders images via .Rmd, which isn't a good use case for ImgBot.

Looks like ImgBot can be configured to ignore files: https://imgbot.net/docs/#ignoring-files

@jrdnbradford
Copy link
Collaborator

Closing this after merging #37.

@jrdnbradford jrdnbradford deleted the imgbot branch March 6, 2025 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants