: How to compress an EPS/SVG file by removing invisible vector data? I have a large plot exported as vector graphics. The plot has a lot of overlapping points which are invisible. Is there
I have a large plot exported as vector graphics. The plot has a lot of overlapping points which are invisible.
Is there a high quality way to optimize ('compress') a vector graphic by removing all vector information where the vectors are invisible because they are covered by something else without Illustrator, using free/oss tools?
More posts by @Shelley591
1 Comments
Sorted by latest first Latest Oldest Best
There is no guarantee that doing this actually compresses anything. It is often so that overlapping content actually is more compressed than not overlapping, So your size may actually increase, significantly in many cases.
For example following quick test image:
Image 1: Test of overlap removal on SVG image. With overlap the file is 1862 bytes while without overlap it is actually 3470 bytes.
So you see removing overlap is not a bullet proof way of actually reducing the size. As in the test case the image actually became 86% larger, not smaller. Altough the algorithm could be a bit smarter the gains would not be better in this case as the original, hand made graphic, is as optimal as it gets.
Also, the non overlapping vector data is prone to conflation errors on most digital devices. THis may be actually a significant problem for you. So it is in general really undesireable t do this.
But yes you can do this with Inkscape.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.