How to configure the image tracer?



  • @VectorStyler Hi! following the thread. I made some testing, im not figuring which preset is the more accurated vectorizing text of well defined shapes. I typed the same that Raaskot, and saved as high res image, but cant get an accurate trace of it.0_1765729210017_letras.jpg
    The closer trace of this image is using the "photographic" preset, but it has some distortions on it:
    0_1765729303849_b6c9c851-1855-426d-847e-84f3853a8ce4-image.png

    Im interested. I see lot of options in the trace "more options" but feel a little lost. Documentations states that the best is to use presets. Im costumed -im sorry to compare with other software, i know is not nice, but i feel could help- inkscape tracing that by default gives accuracy that can easily be softened or not. In the screenshot is shown results without smooth.
    0_1765729686985_dc9fef1b-dc78-4326-ac04-a45517396c37-image.png
    0_1765729702680_bc7a7ab3-5afd-4c49-85a8-e213f0a7645a-image.png
    In this result you got a single shape easily editable by the nodes, that you can simplify easily, or smooth.
    Im not quite sure how this can be achieved with VS trace, that looks powerfull, but a little bit complex to me.



  • @Raaskot , @marce

    Back in the days, I would trace such bitmaps by hand.
    I used also the Corel Image Tracer, but it wasn't always helpful.

    One way I see to potentially alleviate the problem is to use an image
    upscaler, which allows for a higher resolution and might therefore produce
    better results in VS.

    Here's a very good, free one.
    https://www.vectorstyler.com/forum/topic/3033/upscayl-win-mac-free-open-source-upscaler/7



  • @Subpath Well, i used a very high res image, you say it will improve using something so big?



  • @marce

    Well, I don't know the Resolution.
    But whether it brings an improvement can easily be determined by trying it out.



  • @Subpath said in How to configure the image tracer?:

    @marce

    Well, I don't know the Resolution.
    But whether it brings an improvement can easily be determined by trying it out.

    Hi Subpath. I made a test. With low res image to high res. It is here. Even the results are better, always is added some distortion:

    https://icedrive.net/s/ZF5TyWig1T56gW32TFW1C792WkRV

    0_1765737368857_5902ac77-3235-442c-a684-5c2c5d088459-image.png



  • @marce said in How to configure the image tracer?:

    @Subpath said in How to configure the image tracer?:

    @marce

    Well, I don't know the Resolution.
    But whether it brings an improvement can easily be determined by trying it out.

    Hi Subpath. I made a test. With low res image to high res. It is here. Even the results are better, always is added some distortion:

    https://icedrive.net/s/ZF5TyWig1T56gW32TFW1C792WkRV

    I made the same test with inkscape to take some reference. The accuracy improves a little with higher rest, but is not so dependent as can be seen here:

    https://icedrive.net/s/kDgWzBfiXwVWwXNAVABPFwCNwG7G

    0_1765737430786_03038178-bc17-4900-a6c5-1c0e8969f75e-image.png



  • @marce

    Well, when I talk about better resolution, I mean the difference between the
    left and the right side. Significantly less jagged edges.

    The part on the right is magnified 4x using Upscayler.
    Which can magnify up to 16x.

    0_1765740368121_Unterschied.png
    .
    .
    .
    Here's my tracing result from Corel Tracer based on
    the 4x magnified image. I choose "Logo" as the tracing mode.

    0_1765740411959_corel Tracer.png
    .
    .
    .
    By the way, since "sd" is repeated, I only enlarged and traced those
    two letters.

    0_1765740573625_sd_upscayl_4x_upscayl-standard-4x.png



  • @Subpath Nice results in Corel. Minimum amount of Nodes, and a very editable shape. In inkscape -i take it as reference, since their trace module is very good imho- this is are the results of the very low image you shared:
    0_1765742689021_6dc862d4-ef8c-45b7-a775-15dd4d52def2-image.png
    Must said, are very good, taking account of the low res source.
    Using the good res last image you uploaded, tweaking the smooth corners and optimize, i got similar results in inkscape to Corel:
    0_1765742844428_f78e40d3-1534-45b5-ba58-dbe56c7cd3a7-image.png

    So, i believe that really is not necessary so high res images as source, but some kind of optimization of the trace process in VS.



  • @marce

    I would say you need both.
    High resolution, to me, means the smoothest possible contours,
    as jagged outlines negatively affect the result of a tracing.

    I haven't spent much time with VS Tracer yet. But I think the results
    may also be improved by adjusting the settings a bit.



  • @Subpath Well, low res images are better in some cases. Look in the sample below. This is an old scanned Capital letter —from etc.usf.edu. The original source is very rough. In the case you want to conserve the original roughnes is ok to use the High Res image. But if you want a smooth and flowing drawing, a low res will make the trick. The first Z at the right, in red, is a nice result, and it comes from the low res image. The High res trace result is exact, but not what i want, that is, a kind of vectorizing photo retouching.
    0_1765745188743_8450fda1-b2b7-4a5a-8bbf-6bcb6c75cfcb-image.png
    This both results are using the same settings, in inkscape, but the change is the resolution of the source image.



  • @marce

    Well, that's due to the smoothing algorithm of the vector tracer. I think a slightly
    better result could perhaps be achieved with the high-resolution version using
    slightly different settings for smoothing.

    I would have vectorized the template you created here by tracing a simple line
    in the middle of the contour (Corel Trace has a mode for this) and then
    assigning an appropriate line weight.

    I've created a lot of bitmap traces professionally (in digital printing).
    Many by hand, because the trace results were too poor. I can't recall a
    single instance where I would have preferred a low-resolution bitmap
    version if I had the choice.