BG
Remix of Only Wine 158
by JayNick - uploaded on August 26, 2017, 5:39 pm
Remix of Only Wine 158 - https://openclipart.org/detail/285560/only-wine-158
Reduced file size from 2673KB to 88KB by
eliminating unused gradient and filter definitions
eliminating unused style definitions
applying transformations to the path statements
reducing path commands to 2 decimal places
cleaning up style attributes
Remixes 1
Want to remix this clipart?
- Download the SVG
- Edit it in your favourite SVG editor
- Upload with Upload Remix (links automatically)
Sources
No catalog sources linked yet.
I found this clipart!
Related Finds — Openclipart spotted in the wild. Browse all · Atom
No Finds yet.
Log in to post a Found.
Comments
@JayNick
2017-08-26 17:45:18+00Original file has unused filter and gradient definitions that make up the bulk of the file size. It also had many style definitions at the end of the file that are unused. Any inkscape users know how to prevent these definitions from being exported? Did not look at other files, but suspect the same thing as the file sizes are similar.
@pjsvbfcm
2017-08-27 20:52:45+00What I do is copy what I wish to keep to a new file and save that. So then I have a working file I can go back to and a completed one without the mess. I also do the same to clean up something I worked on by copying only what I want to keep and then saving the copy as the original, overwriting the earlier version.
For example, I might import a set of gradients and use one or more, then copy the new work to a file that I save over the version with the imported gradients, keeping only the gradients used..
@Only Wine
2017-08-28 06:19:02+00You're good. As you can see, I'm not able to use Inkscape so well. I copied and pasted a clipart and the error repeated.
@Only Wine
2017-08-28 15:25:50+00@JayNick Can you explain me how to do my work with excess gradients? Thanks.
@JayNick
2017-08-28 16:57:11+00@OnlyWine I am not familiar enough with inkscape to tell you how to manage the excess gradients. I just wanted to identify why the files were so large. Your recent uploads are much smaller, so it appears to me you figured it out. Perhaps some inkscape users can better address this issue. @pjsvbfcm commented. Anyone else?
@Only Wine
2017-08-28 17:44:42+00Maybe I understand ... gradients and radials are wrong in the tags but I can only delete them with a text editor. I can not use Inkscape.
@AdamStanislav
2017-08-29 01:39:22+00@Only Wine - have you tried Save As / Plain SVG? By default Inkscape saves as Inkscape SVG, which includes its own private extensions. Lots of them! That should never be uploaded. Only Plain SVG, or better yet Optimized SVG should be uploaded to web sites (not just this one).
@Only Wine
2017-08-29 07:01:51+00Tried, but errors are fixed in XML tags
I reduce the weight from a 2Mb to 20Kb factor this way:
In Inkscape Shift + Ctrl + X
Port down on XML code tags
I open the file with a text editor and delete everything after the tag
Thank you sincerely.
Log in to comment.