From Edutechwiki - Reading time: 5 minCreating embroidery files from photos, paintings or hand drawings can be very difficult and time consuming. In this place we will explain how to create stitch files from Simple drawings.
A simple method was tested for hundreds of drawings made for patches using the Stitch Era commercial software, e.g. at the Salon du livre 2018.
After color reduction (with the free Gimp software), vector tracing with (Inkscape) works fairly nicely and easily if the original drawing is simple.

In order to create a manageable SVG file from a hand drawing, we strongly suggest that you obey the following rules
To the right is an acceptable example (I am not talking about the quality of the drawing).
It is possible to deal fairly easily with more complex children's drawings, as we explain in Stitching children's drawings, made for the commercial Stitch Era software.
Creating an embroidery file from a painting or a photograph is a time-consuming and almost pointless affair.
Before vectorizing (also tracing) a scanned drawing, we strongly suggest to reduce its colors. If you do that, scanning will be very accurate.
Many software allow reducing colors. We explain how to use Gimp, a powerful free image manipulation software. It's a complex tool that requires time-to-learn. However, the manipulations we demonstrate below, are not too difficult.
Scan the picture in *.jpg format
Any resolution will do since embroidery works at fairly low resolution
Crop the picture. You do not need to pay a lot of attention to the size of the margins. However you must decide whether you want the whole picture or just part of it. Below we decided to crop some of the drawing to make it more rectangular.

As explained in the Gimp online manual, color reduction is really simple (unless you require smooth transitions between colors, which embroidery does not)
Open the color reduction tool and reduce the colors with the following conversion parameters:
Maximum number of colors to the number of colors you can count in your drawing, plus one for the backgroundConvert and check the result (see after the figure)If you can see all your drawings in the approximately right colors, then move on, else:
Open the colormap tool:
Windows -> Dockable dialogs -> Colormap
You now could change the colors or also merge two colors, e.g. by assigning the same color code to two or more indexed colors. You also should make the background full white (#ffffff), unless you want to stitch it.

You can make the background color transparent (unless some of the drawing uses the same color).
Layer -> Transparency -> Add Alpha Channelcolors -> Colors to Alpha ...
Save the file.
In order to trace the raster file we need a format that Inkscape can read and that keeps the transparent background
Now you have to translate the color-reduced raster file to SVG vector graphics. If your drawing is simple, this is not too complicated. If not, it can take hours ...

To vectorize a raster image - i.e. translate "dots" to drawings - do the following. However, depending on your drawing you may have to adapt the options a bit.
colors under Multiple scans ....Normally, for embroidery, use aggressive smoothing options (however, this doesn't have an interesting effect in our case.):

After tracing, the picture is still there, you can consider killing it or leaving it as hidden layer. Now check the result
Kill extra paths you do not need (e.g. outlines created if you use extra scans). Also make sure to delete alternative versions since you likely will get mixed up.

As you can see, despite aggressive smoothing options, the tracing procedure did not really smooth much. To smooth the path, you now can use the normal smoothing tool
Now save the file in SVG format, as *.svg
If not already done so, adjust the size of your embroidery.

After resizing, adjust the document size (Menu File -> Document properties)
Resize page to content
Create a layer for the embroidery (optional)
Create single polygones:
Path -> Break Apart (CTRL-SHIFT-K)Now, most of this design should be embroidered with satin stitches. There are two ways of doing this:
In both cases, there will be some work. Use direction lines (rungs) to segment paths.
Contents of this page including pictures and SVG files are also available under the GNU Free Documentation License and the Attribution 4.0 International (CC BY 4.0) license.
The Inkstitch project can use any element (text fragments, SVG files, pictures) for the project's official docs without giving attribution (just copy and paste).