Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imagemin guard for image compression #1044

Open
maphew opened this issue Jan 25, 2025 · 0 comments
Open

imagemin guard for image compression #1044

maphew opened this issue Jan 25, 2025 · 0 comments

Comments

@maphew
Copy link

maphew commented Jan 25, 2025

Describe feature

Based on what was seen in PR #1042, would it be feasible to use https://github.com/j9t/imagemin-guard at runtime to compress images in Trilium?

Compressed db/image-deleted.png (4.43 KB → 2.38 KB)
Compressed src/public/icon.png (30.92 KB → 10.46 KB)
Compressed images/app-icons/ios/apple-touch-icon.png (9.76 KB → 4.13 KB)
Compressed images/app-icons/png/1000x1000.png (92.69 KB → 30.38 KB)
Compressed images/app-icons/png/1024x1024.png (106.55 KB → 31.66 KB)
Compressed images/app-icons/png/128x128.png (6.67 KB → 3.21 KB)
Skipped images/app-icons/png/16x16.png (already compressed more aggressively)
Compressed images/app-icons/png/256x256-dev.png (14.80 KB → 5.65 KB)
Compressed images/app-icons/png/256x256.png (14.40 KB → 5.51 KB)
Skipped images/app-icons/png/32x32.png (already compressed more aggressively)
Compressed images/app-icons/png/512x512.png (45.75 KB → 13.45 KB)
Compressed images/app-icons/win/setup-banner.gif (6.69 KB → 6.41 KB)
Compressed docs/api/attachments/27Z989bSFWAc/image/image.png (60.65 KB → 15.83 KB)
Compressed docs/api/attachments/XEUUvzBxh89z/image/image.png (8.44 KB → 3.93 KB)

Defensive base compression completed. You saved 268.76 KB.

Additional Information

No response

@eliandoran eliandoran changed the title (Feature request) imagemin guard for image compression imagemin guard for image compression Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant