-
-
Notifications
You must be signed in to change notification settings - Fork 968
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
Minified SVG Bamboo Lab Printer images #4513
Conversation
Used this site https://svgomg.net Minifier basically joins lines / curves with same style to reduce size Doesn't change geometry Size dropped to 2,02MB from 4,75MB Couldn't tested on UI. Not sure how to do that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, thanks!
Looks good to me
@SoftFever Also i tried lossy compression on big png files. it gives 6-8MB size reduction in total with unnoticeable change. should i commit for that or do you prefer keeping them as lossless |
Unfortunately, your changes will probably be overwritten and it will be hard to maintain compressed/uncompressed images easily if they are compressed with loss... |
@bistory what's the reason for that? is png images regularly merged from bamboo studio or prusa slicer? |
No, @SoftFever told me that people contributing new profiles regularly struggle with git and overwrite mangled images by uncompressed ones... |
@bistory i'm pointing images in resources not in profiles. Size reduction gain is 6MB with this ones. also there is more in resources\web oss_picture_loading.png |
Hehe, I appreciate your effort to make the file size smaller 👍 @yw4z @bistory |
Hi, @SoftFever Have you considered using something like imgbot? I don't entirely know how it'll handle an image that was previously compressed getting reverted again, however it does watch the commit history and periodically will attempt to optimize all images if it hasn't done so in some time so it will eventually end up getting those images optimized once again. Just a thought, cheers! |
Used this site https://svgomg.net
Minifier basically joins lines / curves with same style to reduce code. Doesn't change geometry
Size dropped to 2,02MB from 4,75MB
Couldn't tested on UI. Not sure how to do that