L
L
leggiermente2016-03-03 02:30:59
Vector editor
leggiermente, 2016-03-03 02:30:59

How to reduce the number of nodes in a vector image?

Hello!
I have a huge vector image (~10 MB) in SVG that I need to replace several elements in. When I try to select groups of objects in Inkscape, it starts to slow down mercilessly.
I've tried to optimize SVN with various utilities (scour, svgo, etc.), but they all only slightly reduce the size of the image. Meanwhile, existing simple objects, such as rectangles, for some reason consist of dozens of triangles superimposed on each other. How can such a vector image be simplified?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Neron, 2016-03-03
@leggiermente

Well, simple forms, for example, are not difficult to simplify. But you'll have to tinker.
For example, when I need to simplify rectangles (for example, a QR code), I open Illustrator, unite the rectangles with the Unite command - all touching lines are erased, the rectangles become a single shape. Next, in Object->Path->Simplify I choose curve precision=100% and angle threshold=91 (since the rectangle has all angles=90). Voila, all extra points on the edges are gone. Knowing exactly the angles of simple shapes, you can set this angle threshold so that the contour of the shape does not change, and all extra points that do not change the direction of the vector are removed.
leggiermente
But in general, it's better that you post a picture of the problematic file, then it will be possible to advise something more precisely, because the Pavel Designer optionis also quite possible (and even more likely), but you should not give up.

R
rukzachini, 2016-11-02
@rukzachini

You can simply select everything, ungroup and press Ctrl+L
In the settings in the "Behavior" menu, the simplification threshold is configured.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question