# Sketch to Vector: How to Turn a Hand Drawing into a Vector

> Pencil, pen or marker on paper, into clean vector lines. What matters most is the light on the page, then the threshold, then the mode. We tested all three.

Published 13 November 2026 by VKTR · 8 min read · https://www.vktrstudio.com/insights/sketch-to-vector

## Key takeaways

- Even light on the page matters more than any setting. A shadow across a photo of a drawing gets traced as ink.
- Trace a drawing in black and white. The threshold decides which pixels count as ink: raise it to keep faint lines, lower it to drop smudges and paper texture.
- In [VKTR Studio](https://www.vktrstudio.com/studio), Faithful trace turns each line into a thin filled shape. Clean artwork with the Thin line art preset writes lines as single strokes, and works best on a clean scan.
- Check the faintest lines before you download. In our test, an evenly lit photo traced cleanly but lost its lightest pencil line.

**To turn a sketch into a vector, scan or photograph the drawing in even light, trace it in black and white, and adjust the threshold until every line you want is kept and the paper is not.** Then check the faint lines, tidy anything the tracer missed, and download it as SVG, PDF, EPS or DXF.

A hand drawing is one of the best things to vectorize: dark lines on a light page, usually in one colour. It is also easy to get wrong, because a photo of paper is never as clean as it looks. This guide covers the practical job. For how a tracer turns pixels into curves, see [how image tracing works](https://www.vktrstudio.com/insights/how-image-tracing-works).

## What a tracer does with a drawing

A tracer cannot see lines. It sees pixels, and in black and white mode it sorts every pixel into ink or paper by brightness. That dividing line is the **threshold**. Everything darker becomes ink, everything lighter becomes paper, and the tracer then draws smooth curves around the ink.

So the result depends on how clearly the ink stands apart from the paper in the image. Inkscape’s tracing tutorial describes its Brightness Cutoff filter the same way: it uses the brightness of each pixel to decide whether it should be black or white. Illustrator’s Image Trace has a Threshold slider for the same job.

In [VKTR Studio](https://www.vktrstudio.com/studio) the threshold runs from 0 to 255. On Auto it is picked from the image itself with Otsu’s method, a standard way to split a picture into two groups of brightness, published by Nobuyuki Otsu in 1979.

## Our test: the same drawing in three conditions

We drew a simple teapot as line art: thick outlines, thin hatching, and a few faint lines like light pencil. Then we made three versions of it. One is a clean scan: white page, dark lines. The other two imitate a phone photo of the drawing: grey paper, grain, softened lines and JPEG compression. One of those is evenly lit; the other has a shadow falling across one corner, as a phone held over the page can cast. The photos are simulations made in code, not real photographs, so treat the numbers as an illustration of the effect, not a benchmark.

We traced each version with VKTR Studio’s own tracing code on 13 November 2026, first on Auto and then with the settings in the table.

**One drawing, traced in VKTR Studio under different conditions**

| Image | Setting | Result |
| --- | --- | --- |
| Clean scan | Auto (picked black and white) | 10 shapes; every line kept |
| Clean scan | Clean artwork, Thin line art | 23 single strokes with a width; every line kept |
| Photo, even light | Auto (picked black and white) | 13 shapes; the faintest line, across the lid, mostly dropped |
| Photo, even light | Clean artwork, Thin line art | 29,232 paths: the paper grain was read as lines |
| Photo with a shadow | Auto (picked colour) | 746 shapes in six greys, shadow included |
| Photo with a shadow | Black and white, threshold on Auto | 232 shapes; the shadowed corner filled in as ink |
| Photo with a shadow | Black and white, threshold 100 | 23 shapes; most of the drawing lost |
| Photo with a shadow | Black and white, threshold 170 | 103 shapes; the shadow still traced as ink |

![Four panels: a teapot drawing photographed with a shadow and its black and white trace with a grey shadow block, then the same drawing in even light and its clean trace](https://www.vktrstudio.com/insights/sketch-to-vector/lighting-test.webp)

*Top: with a shadow across the page, part of the paper is darker than the faint lines, so no single threshold separates them. Bottom: the same drawing in even light traces cleanly on Auto.*

The lesson is simple. With a shadow on the page, part of the paper is as dark as the lines. A low threshold drops the lines; a high one picks up the shadow. No slider fixes that, because one threshold applies to the whole image. Fix the light and the problem goes away.

## How to turn a sketch into a vector, step by step

### 1. Scan the drawing, or photograph it in even light

A flatbed scanner is the easiest way: it lights the whole page evenly.

With a phone, put the page flat in soft daylight, hold the phone straight above it so the page is not skewed, and make sure neither you nor the phone casts a shadow on it. Fill the frame with the drawing.

### 2. Open it in VKTR Studio

Drop the image into [VKTR Studio](https://www.vktrstudio.com/studio). It takes JPG, PNG, WebP and HEIC, so a phone photo works as it is, up to 5 MB on a free account. For phone photos, the [JPG to SVG converter](https://www.vktrstudio.com/jpg-to-svg) explains how compression specks are kept out.

VKTR analyses the image and picks its settings. On a clean drawing it usually picks black and white by itself. If the photo is skewed or has a margin, Scan cleanup straightens it, trims the margin and removes dust, then traces again.

### 3. Choose the mode

For a photo of a drawing, use **Faithful trace** in **Black & white** (Advanced settings, then Mode). For a clean scan or digital line art where you want single strokes, choose **Clean artwork** with the **Thin line art** preset.

### 4. Set the threshold

Start with Auto. If faint lines are missing, untick Auto and raise the threshold a little. If smudges, grain or a grey patch of paper turn into ink, lower it. Remove specks under clears dust and small dots left over.

If a shadow is being traced and no threshold fixes it, take the photo again in better light. That is quicker than cleaning it up.

### 5. Check the lines and download

Zoom in on the faintest lines, the ends of strokes and places where lines meet. Delete stray shapes and recolour the ink to black in the Palette if it came out grey. Then download SVG, PDF, EPS or DXF at the width you need.

## Single lines or filled shapes?

Most tracers draw around the ink, so each pencil line becomes a thin filled shape with an outline on both sides. That looks right and prints right. It is less handy if you want to change the line weight later, or if a plotter or pen tool should draw each line once.

For that you need lines written as single strokes. In VKTR Studio, Clean artwork does this: lines become one path with a width, and the Lines setting switches between Strokes and Outlines. If a cutter or print workflow ignores stroke widths, tick “Write lines as filled outlines” before you download the SVG; PDF, EPS and DXF always use outlines. Inkscape has a similar option, Centerline tracing, which its manual says reduces a shape to an open path and suits handwritten text and line drawings.

Our test shows the limit: on a clean scan the Thin line art preset gave 23 neat strokes, but on a grainy photo it read the paper texture as thousands of tiny lines. Use strokes on clean scans and digital line art, and Faithful trace in black and white on photos.

## Getting the drawing ready

- **Go over pencil in ink** if you can. A fine black pen or marker gives the tracer a clear edge. Faint pencil is the first thing to drop out.
- **Rub out guidelines** and construction lines first. The tracer cannot tell a guideline from a real line.
- **Use plain white paper.** Lined, squared or textured paper adds lines and grain that have to be cleaned up later.
- **Close the gaps** you want closed. If a shape will be filled with colour or cut out later, its outline needs to meet.
- **Draw larger than you need.** Lines that are very thin in the image may break up or vanish.

## What to do with the vector

A traced drawing works anywhere vector artwork does. For cutting machines, see [SVG for Cricut](https://www.vktrstudio.com/insights/svg-for-cricut). For a laser, see [laser engraving and cutting files](https://www.vktrstudio.com/insights/laser-engraving-file), where DXF and single-line paths matter. If the drawing is lettering or a signature-style word, [how to vectorize text](https://www.vktrstudio.com/insights/vectorize-text) explains when to trace it and when to retype it in a font. For a signature you will use on documents or a stamp, see [how to make a vector signature](https://www.vktrstudio.com/insights/vector-signature).

A last point: tracing does not change who owns a drawing. Vectorize your own work, or work you have permission to use.

## Sketch to vector: questions and answers

### Can you vectorize a pencil drawing?

Yes, if the lines are dark enough to stand apart from the paper. Scan it or photograph it in even light and trace it in black and white. Very light pencil may drop out; go over it in ink or raise the threshold.

### Is it better to scan or photograph a drawing?

A flatbed scanner lights the whole page evenly, which suits tracing best. A phone photo works if the light is even, the phone is straight above the page, and no shadow falls across it.

### What does the threshold do when tracing a drawing?

It is the brightness that divides ink from paper. Pixels darker than the threshold become ink. Raise it to keep faint lines; lower it to drop smudges, grain and grey paper.

### Why are my traced lines grey instead of black?

VKTR Studio keeps the colour of the ink as it appears in the image, and pencil or a photo makes it grey. Click the colour in the Palette and recolour it to black.

### Can a traced sketch have single lines instead of outlines?

Yes. In VKTR Studio, Clean artwork writes lines as single strokes with a width; Inkscape offers Centerline tracing. Both work best on clean scans with dark lines.

## Drawing on paper? Make it a vector.

Drop a scan or photo of your drawing into VKTR Studio, check the lines, and download SVG, PDF, EPS or DXF. Converting is free; a free account downloads 2 files a day.

[Vectorize your drawing in VKTR Studio](https://www.vktrstudio.com/studio)

## References

- [Inkscape: Tracing bitmaps (tutorial)](https://inkscape.org/doc/tutorials/tracing/tutorial-tracing.html)
- [Inkscape Beginners’ Guide: Tracing an Image](https://inkscape-manuals.readthedocs.io/en/latest/tracing-an-image.html)
- [Adobe Illustrator: Image tracing presets](https://helpx.adobe.com/illustrator/using/image-trace-presets.html)
- [N. Otsu, A Threshold Selection Method from Gray-Level Histograms, IEEE Transactions on Systems, Man, and Cybernetics, 1979](https://doi.org/10.1109/TSMC.1979.4310076)
