Comment 9 for bug 184550

Revision history for this message
Martin Andersen (msandersen) wrote :

I'll play with the threshold prefs, they are a little hidden away hence i missed them. I don't know what the number means, but 0.0010 seems a good number for the stroke illustrated. Also applied to the whole drawing, though extremely slow on my dual-core AMD64, the results seem ok, though the strokes have changed shape somewhat, with a bit of fixing needed perhaps. I'd have to test some more. It brought the filesize down from 5.7Mb to 1Mb, at least. I still think a slider with the simplify command controlling this parameter is needed. Hunting down the Preferences every time you have a different requirement continually until you get a good result for the particular drawing or stroke gets old quick. Illustrator's Accuracy slider is far better. I might file a new report despite it seeming to be a duplicate of bug#170152 .
As for drawing speed, I'm talking average careful tracing of an image with a Wacom tablet. A stroke is best done reasonably quickly I find, with a hand on Ctrl-Z until I get a "spontaneous" line I like. I'm not talking particularly slow. In any case, the point is it should be possible to apply some sort of test on the conclusion of a stroke to see if it is partiicularly complex, and do a simplify with a custom setting as you mention, automatically. If the stroke is quick with few nodes, it may not need to act. With the density mentioned above, the extra nodes adds nothing to the drawing.
I did play with repeating or holding down Ctrl-L. Quite fun to watch.
I haven't seen this tutorial before, I've only read some of the "official" manual pointed to in Help. It indicates the amount of simplification is relative to the size of the selection, which complicates things further. This would explain why the test above worked best on the single stroke, and a bit too strong on the whole, Hence simplification as the strokes are being made as needed might still be advantageous.

The attachment shows the difference on the drawing of a threshold of 0.001 on the stroke alone, and the whole drawing. The former maintains the shape, the latter is oversimplified, but fixable.