Vectorize a Black&White Hand Drawing


Published 28 Aug 2025

Intro

Today we will draw an octopus using the pencil and sharpie markers. Then, we will image trace it using VectorEZ!

Split view of the octopus: The original drawings and the vectorization

Hand Drawing of the Octopus

Let's start by sketching our octopus creature with a pencil:

Sketch drawing of the octopus, done with a pencil

We then draw over the sketch with a sharpie marker. The goal is to obtain a clear and sharp outline that the vectorizer tool can work with.

Hand drawing of the octopus

Take a picture or scan the drawing (with at least 300 dpi precision.)

Prepare the Input Bitmap

Before vectorizing the image it is important to get rid of some the image defects, which would degrade the quality of the vector image.

To do that one can use an image editing software. Many free solutions exist. For the purpose of this demo we are using paint.net, on Windows. Using the "Clone stamp" tool we fix the scan of the octopus picture. For example, we might want to remove the pencil strokes that are still visible:

Improve the octopus drawing with a bitmap editor

We usually want to have a clean separation between the drawing lines, or else the vectorization process might connect them.

Still using the clone stamp tool, we remove any smear made by the marker. We also make sure that small hollow shapes, like the suction cups of the tentacles of our image, display a clear white area in the center. Below is a before/after view of that clean-up process.

Improve the octopus drawing with a bitmap editor (eyes)
Improve the octopus drawing with a bitmap editor (tentacle 1)
Improve the octopus drawing with a bitmap editor (tentacle 2)

Image Trace using VectorEZ

We now have our clean bitmap image: octopus.tiff.

Let's launch VectorEZ and drag-n-drop the image onto it!

With the default settings, the vectorizer does not identify the black marker lines correctly:

Open the octopus image in VectorEZ (default settings)

This is because the color segmentation does not differentiate the marker color from the background color. To arrange that, let's proceed in steps:

  • Since the image is mostly black and white, we should tell the segmentation module about it. Press the "Grayscale" button:
  • Open the octopus image in VectorEZ (grayscale and segmentation color pick)
  • The default segmentation color is black. However the marker lines are a dark gray. Using the segmentation color picker we choose a color that is a better match. The procedure to set the segmentation color is further explained on the help page.

Now that the segmentation of the image is correctly setup, the vectorization is looking much nicer. All that is left to do is to fine tune the segmentation tolerance and the vectorization precision until we reach a satisfying result.

Open the octopus image in VectorEZ (Fine tune the segmentation tolerance and the vectorization precision)

Final Result

Here is our final sea creature: octopus.svg, colorized thanks to Inkscape.

The image trace of a hand drawing, like we saw in that example, is not going to be a perfect vector. The vector lines will have some imperfections that show that it was drawn by hand. With VectorEZ, the user can choose to what extent the characteristics of the original sharpie lines are present in the final vector image. Keep in mind that the closer the vectorization is to the original image, the bigger the resulting SVG file will be.

Do you want to play with vectorization? Download the demo of VectorEZ, available for macOS and Windows!

Octopus vector graphics (SVG)

Our latest news: