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

Add option to reduce file size of images #588

Open
jbeder opened this issue Feb 17, 2025 · 1 comment
Open

Add option to reduce file size of images #588

jbeder opened this issue Feb 17, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@jbeder
Copy link

jbeder commented Feb 17, 2025

Is your feature request related to a problem? Please describe.

I have a note with lots of images that I'd like to share via email; I'm using this plugin to export to a single, self-contained HTML file and then copying it to an email. The resulting webpage ends up being huge (hundreds of MB) because the images are so large.

Describe the solution you'd like

I'd like an option to reduce the size of images. Ideally it would be dynamic, something like "reduce anything larger than X kb to roughly X kb" so I could fiddle with it to get the overall size I want. You could image more options or flexibility - e.g., choose some images to keep higher-resolution, or try to target Y MB for the overall size - but I think those aren't strictly necessary.

Describe alternatives you've considered

Write a script to reduce the size of my images (which I've done). But the problem is that I'd like to keep the original copies of images in my vault - it would be nice if the export script did the reduction on the fly.

Additional context

The email limit for gmail is 25 MB, I think other services are similar.

@jbeder jbeder added the enhancement New feature or request label Feb 17, 2025
@KosmosisDire
Copy link
Owner

Tahnks for the suggestion. This could defintely be useful, but probably wont come for a while

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants