Inkscape Trace Bitmap: Blurry Logo to Crisp Vector

Trace Bitmap in Inkscape 1.3 and 1.4 turns a pixelated logo or scan into clean paths you can scale, edit and export as SVG or PNG.

FREE$34.95UpdateStar PremiumShare a link to claimA club asks for its logo on a banner, and the only file anyone can find is a 300-pixel JPEG pulled from an old email. Blow it up and you get mush with jagged edges. Redrawing it by hand would eat your weekend. Inkscape can do most of that work for you with Trace Bitmap, which turns pixels into editable paths that stay sharp at any size.

This guide uses Inkscape 1.3 and 1.4 on Windows. The steps are the same on Linux and macOS, only the shortcuts swap Ctrl for Cmd on a Mac.

Step 1: Pick the right source image

Tracing rewards clean input. A dark logo on a plain light background traces almost perfectly. A photo of a crumpled flyer shot under a desk lamp does not. Before you start, crop away everything that is not the logo and, if you can, find the largest version of the file. More pixels give the tracer more edge information.

If all you have is a phone photo of a printed logo, straighten and brighten it in a raster editor such as GIMP first. Stronger contrast between the logo and the background means fewer stray blobs later.

Step 2: Import the bitmap

  1. Open Inkscape and create a new document.
  2. Choose File > Import (or press Ctrl+I) and select your PNG or JPEG.
  3. In the import dialog, pick Embed so the image travels inside the SVG file. Link works too, but the picture disappears from the drawing if you later move the original file.
  4. Click the image once with the Selector tool so it shows its arrows.

Step 3: Open Trace Bitmap and choose a mode

With the image selected, go to Path > Trace Bitmap or press Shift+Alt+B. The dialog docks on the right. Its top row has three tabs: Single scan, Multicolor and Pixel art.

For a one-color logo, stay on Single scan and set Detection mode to Brightness cutoff. It produces a single filled path that follows the dark areas of your picture, which is exactly what most logos need. The other modes have their uses:

  1. Edge detection traces the outlines of shapes only, handy for a hollow look.
  2. Color quantization follows borders between color areas.
  3. Centerline tracing (autotrace) reduces strokes to open paths, best for handwriting and line art you want to edit as lines.

Inkscape Trace Bitmap dialog with Brightness cutoff selected and the Speckles, Smooth corners and Optimize options The dialog shown here is from an earlier 1.x release. In 1.3 and 1.4 the second tab is called Multicolor, and the options sit in the same places.

Step 4: Tune the threshold and the cleanup options

Below the mode you will find Threshold. Raise it and more grey pixels count as "ink", so thin parts of the logo fill in. Lower it and only the darkest areas survive. If the logo is light on a dark background, tick Invert image.

Three checkboxes do the tidying:

  1. Speckles ignores tiny spots up to the number of pixels you enter. Increase it when JPEG noise turns into confetti.
  2. Smooth corners rounds off sharp angles. Lower the value for logos with crisp corners, such as square lettering.
  3. Optimize joins adjacent curve segments and cuts the node count. Higher values mean simpler paths, but push it too far and curves start to drift away from the original.

Keep Live updates switched on, or click Update preview after each change, and watch the preview pane. When it looks right, click Apply. Inkscape drops the new vector object directly on top of your bitmap, so it can look like nothing happened. Drag the result aside with the Selector tool to compare both versions.

Step 5: Multicolor logos

Got a logo with three or four colors? Switch to the Multicolor tab. Under Detection mode choose Colors, then set Scans to the number of colors in the logo, plus one for the background. Brightness steps and Grays exist for shaded artwork that should come out in levels of grey.

Two options matter here. Stack places the scans on top of each other without gaps, which prevents thin white seams between color areas. Remove background deletes the bottom layer, which is usually the white backdrop you don't want. The result arrives as a group: press Shift+Ctrl+G to ungroup it and recolor each piece with the exact brand colors.

Step 6: Delete the bitmap and clean up nodes

Once the trace looks good, select the original image underneath and press Delete. Then click your vector and switch to the Node tool (N). You will probably see hundreds of little squares along the path. Each one is a node, and too many make the logo heavy and awkward to edit.

Press Ctrl+L for Path > Simplify. Each press removes more nodes. Two or three presses are usually enough, after that the shape starts to look melted. If you overdo it, Ctrl+Z undoes the last step. Any leftover specks can be selected and deleted by hand, and a wobbly curve can be fixed by dragging its node handles.

Step 7: Save as SVG and export a PNG

For the vector master, use File > Save As (Shift+Ctrl+S). Pick Inkscape SVG if you want to keep editing later, or Plain SVG when the file goes to a printer, a web developer or another program.

For a raster copy at any size, open File > Export (Shift+Ctrl+E). On the single-export tab (labelled Single File in 1.4), click Selection to export just the logo, type the width you need in pixels, choose Portable Network Graphic (*.png) in the format list and click Export.

Inkscape Export dialog with the Selection area, the file format list and the Export button Export dialog as introduced in Inkscape 1.2. Newer versions name the first tab Single File.

Exported PNGs have a transparent background by default. That is perfect for placing the logo on colored backgrounds. If you need white instead, set it in the Background Color field before you export.

When the trace goes wrong

Thick, blobby letters mean the Threshold is too high. Broken or missing strokes mean it is too low. Fuzzy, dotted edges usually come from heavy JPEG compression: raise Speckles and Smooth corners a little, or start from a better source. For tiny pixel-art sprites, try the Pixel art tab. It is slow on large images, so feed it small graphics only.

Our verdict

Trace Bitmap is the fastest way for hobby designers, club volunteers and small shops to rescue a low-resolution logo without paying a designer to redraw it. Complex photos still won't turn into clean vectors, but flat logos, signatures and icons come out ready for print after a few minutes of tweaking. Today, find the worst logo file in your folders, trace it and save a Plain SVG master so you never have to hunt for it again.

Related on UpdateStar

about author