Inkscape is a free vector-based editing program that has many useful functions. Raster images, also known as bitmap files, include popular file formats such as PNG, JPEG, and TIFF files. All these files are made up of small blocks of color known as pixels. Vector-based graphics are made up of paths, which are lines, curves, and shapes that are formed by mathematical equations. These graphics don’t have the same editing possibilities as raster images.
There are two main options when creating a vector graphic from an image in Inkscape. You can manually trace the image using the Bezier Tool (B), which is similar to the Pen Tool in Photoshop. A much easier method to trace an image is using the Trace Bitmap function, which automatically traces the image. You don’t give up complete control when using this method, and you still have several settings to adjust to control the outcome.
To begin the bitmap tracing process, you need to open an image in Inkscape. Once your image is open in the program, you must select it to tell Inkscape what you want traced. To select the image, click on the Select and Transform Objects Tool from the toolbar or press S, then click on the image. When your image is selected, go to Path > Trace Bitmap. You can also use the shortcut Shift + Alt + B on Windows or Shift + Option + B on Mac. In the panel on the right, you can adjust various settings to create the type of vector trace you want. I will explore some of the settings in the next section if you want a guide through those options. Otherwise, play around and choose the settings that work for your image.
Inkscape will take a few moments to apply the bitmap effect, so wait until you see the effect applied to your image. The bitmap trace is added as a separate layer on top of your image layer. Once your traced image is ready, export it in the correct format. You should export it to a format matching the project for which you will use the traced image. To export the file, go to File > Export or use the shortcut Shift + Control + E on Windows or Shift + Command + E on Mac.
When tracing a bitmap image to create a vector graphic, you are faced with several settings to adjust. Here is a quick breakdown to explain these settings. The first tab is the Single scan option, which converts the image to a black-and-white vector. Under this tab, you first need to select the Detection Mode. Brightness cutoff: This setting uses the sum of the colors present in the image to determine what is considered black and white for the final effect. Edge detection: This mode looks for areas of similar contrast and results in a vector trace that looks less like the original than the brightness cutoff. Color quantization: This mode detects areas where colors change, whether it’s the hue, brightness, or contrast. The second tab is the Multicolor option, an excellent choice to keep some color in the trace. Brightness steps: This mode scans the image to determine different shades of light and dark. The last tab is the Pixel art mode, which is a more advanced method of bitmap image tracing. You can use the first two tabs to create a vector graphic of any image and alter it to suit your needs.
Could I tell Inkscape to calculate a large number of Greys, and also a few levels of Color? The process can be described as choosing grayscale and color options in Trace Bitmap. In the new window, look at the lower section where it says "Multiple scans". You might want to select the "Remove background" and "Stack Scans" options (I would suggest have the "Smooth" option unselected). You can select the "Grays" option and then modify the amount of scans. In this case, you might experiment with 256 scans (though a smaller number like 10 is often more practical). A new grayscale vector drawing should appear on the canvas now (might take a little time to render, the bottom of the window should display the tracing progress). To trace with a few levels of colours, select "Colors" in the Trace Bitmap window, and set the amount of scans to 5 (We use 4 because Inkscape recognizes Black & White as colours, so by having 5 scans, you will get a vector image of 3 colours + black/white).
Yes, Black is a color. The Trace Bitmap tool can also generate grayscale and color traces: 1) Select the imported image, 2) Go to Path → Trace Bitmap (Shift + Alt + B) to open the dialog, 3) Choose a mode (Single Scan, Multiple Scans, or Pixel Art), 4) Adjust thresholds and previews, 5) Apply. The tool supports various modes and options to tailor the vectorization to your needs, including brightness cutoff, edge detection, color quantization, and the number of colors or grayscale levels. When dealing with color traces, beware that the result may be a pile of stacked shapes that are harder to edit and weed.
In practice, tracing a bitmap image to create a vector graphic in Inkscape can be done as follows. High-contrast images work best, such as black-and-white line drawings, outlines, and silhouettes. In Inkscape, click File > Import and locate the image you saved. A dialog window will appear. Click the Update button in the preview to see a rough preview (the end result will be higher quality). Once you are done, click OK to execute the scan. The scanned image will be output exactly on top of the original, so you may need to drag it aside to compare. Then you can save the result as Inkscape SVG to preserve the vector data.
To use Trace Bitmap effectively, you should select the image first, then press Shift+Alt+B to open the Trace Bitmap menu. The top of the menu shows three tabs: Single Scan, Colors, and Pixel Art. The Single Scan mode allows you to create a single monotone tracing of your image in all black. Within the settings, you will see modes such as Brightness Cutoff, Edge Detection, and Centerline Tracing. Colors mode generates vector tracings in full color, though it can produce many nodes and overlapping shapes. Pixel Art mode aims for more accurate tracings with a gallery-like reduction of details. The best approach is to cycle through modes while watching the live preview to determine which mode yields the most accurate tracing for your image.
If you need more precise control over the paths, you can also trace manually with Inkscape’s drawing tools. Import and select your image, then right-click and choose Trace Bitmap to start the automatic tracing, or switch to manual tracing using the Bezier tool for detailed editing. Extra options like Smooth, Stack scans, and threshold adjustments help refine the vector output. You can use layers to separate the traced result from the original raster and work on each layer independently. For best results, start with a clean source image, adjust the threshold, and then refine with the Edit paths by nodes tool to produce clean, edit-friendly vectors.
Inkscape’s Trace Bitmap feature remains a powerful, free tool for turning raster images into editable vector paths. It is especially useful for logos, silhouettes, and simple line art, and it can be valuable in projects ranging from icons to posters. When color or grayscale is needed, the multiple scans option provides layers for each color or shade, though this can complicate editing. For simple tasks, Single Scan with Brightness Cutoff often delivers quick and reliable results, while Smooth corners and Optimize paths help reduce the number of nodes for cleaner vectors. If you ever need cleaner output with minimal manual cleanup, consider one-click tools or specialized options, but Trace Bitmap offers robust, hands-on control for a wide range of tracing needs.

Inkscape Lesson 11 - Trace Bitmap Tool (Convert Raster to SVG)
Table: Quick reference for Trace Bitmap settings
| Mode | Typical Use | Notes |
|---|---|---|
| Single Scan - Brightness Cutoff | Black-and-white silhouette | Adjust threshold for best silhouette |
| Single Scan - Edge Detection | Contours based on contrast | May look less like the original |
| Multiple Scans - Colors | Color tracing with multiple layers | Harder to edit, may require ungrouping |
| Grays | Grayscale vector output | Increase scans for more gray levels |
| Pixel Art | Preserve sharp edges for pixel-like art | Higher detail with potentially more nodes |