Mobile app version of vmapp.org
Login or Join
Shelley591

: 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

@Shelley591

Posted in: #Inkscape #Optimization #Vector

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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Shelley591

1 Comments

Sorted by latest first Latest Oldest Best

 

@Gail6891361

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme