-
-
Notifications
You must be signed in to change notification settings - Fork 315
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
Minimize images #89
Comments
The idea I currently have in mind regarding file sizes is to have a default max file size, applicable to all types of media (audio, video, images), and then either minimize (images) or exclude (audio/video) files that exceed that limit. The file size limit will be adjustable via flags. |
I think it's a good idea to have images converted into one lossless format that takes up the least amount of space, as long as it's supported by all major browsers and if there are no issues like patents surrounding it. And I agree with @Alch-Emi that while scaling most image formats down to save space can be done with what Rust 's ecosystem has to offer as of now, converting them all into webp to save space might have to be delayed until Rust gets a good webp crate. |
Let's not forget the purpose of this tool is to archive and not alter the content. Imho turning images off is a good idea but doing some image optimization isn't. I'd rather have the original information than saving 2mb per page. |
@grerrg what you're saying sounds very reasonable. I rather follow the Unix philosophy and keep this tool as lightweight as possible. The idea of squeezing bytes out of archived pages still seems to be appealing, perhaps it could be done by running some other tool after the page's saved. Outside of the scope of this program, closing. |
Are you planning to add an option to minimize/optimize images in addition to turning them off completely?
Thanks for creating this, by the way, it's super useful!
The text was updated successfully, but these errors were encountered: