<< Back to Map Development Forum   Search

Posts 1 - 4 of 4   
The utlimate limit-the-svg-size-guide: 5/23/2015 08:34:21

aetuo
Level 57
Report
Hi.
The objective is to make a thread where we all can post our tips for making the svg files smaller and how not to surpass the limit size. Tips could contain:

- work arounds (ex: for images)
- what kind of objects take a lot of space
- what kind of objects take little space

TIPS (updated based on your comments):
- delete all images used for tracing or make a copy of the file without them, these images will influence the size
- save in Plain SVG and not in Inkscape SVG (although i have only seen a very small difference after doing it)
- using an optimizer in Inkscape (havent tried this myself): https://www.warlight.net/Forum/4349-simplify-tool-increasing-size-map-sic
- remove nodes and simplify as much as possible (Ctrl+L)
- if using images, try to find SVG images (Google images -> Advanced search -> File type: SVG files) instead of Trace Bitmap (Shift+Alt+B), the first are smaller in size

Edited 5/24/2015 14:41:47
The utlimate limit-the-svg-size-guide: 5/23/2015 14:56:45

Number836
Level 56
Report
Remove as many nodes as possible from borders, graphics, and so on. You have to simplify (CTRL+L) everything you can. Even borders/lines that have been simplified, might be simplified again.
The utlimate limit-the-svg-size-guide: 5/26/2015 09:01:29

aetuo
Level 57
Report
To find SVG images on the internet go to the Advanced search in Google Images, u can specify the file type u want (File type: SVG files). The image will be much smaller than converting a normal image to Bitmap (Shift+Alt+B).
The utlimate limit-the-svg-size-guide: 5/26/2015 13:06:16


zxctycxz [Ollie Bye] 
Level 59
Report
By the way, the memory you regain when saving it as a Plain SVG depends on how big a file is to start with. If you have one that's right on the limit, it cuts back a lot.
Posts 1 - 4 of 4