Vectorizing an image
Chester Wyke August 01, 2026 #InkscapeSource: Gemini (extract, the parts that worked)
Foreword
This is meant to provide a way to take a raster image (common raster formats are BMP, JPEG, PNG) and convert it into a vector format like SVG. There are multiple ways to do it. This one is just one that worked for me. Tested on Inkscape 1.1.2 (0a00cf5339, 2022-02-04).
It’s important to note that https://www.vectorizer.io gave me a smaller more clear file but these instructions are good as a backup as that’s not a free service.
Vectorization
- Open the image in Inkscape
- Select the image
- Click on the image with the Select Tool (the top black arrow on the left toolbar, shortcut S) to select it.
- Open
Trace Bitmap- Go to the top menu and select Path > Trace Bitmap… (or press Shift + Alt + B). (Opens on the right)
- Select
Multiple scans - Change
Brightness stepstoColors - Increase the number of
Scansdepending on how many colors you have (8-16 recommended by Gemini). I found 90 worked better on my image that had gradients but be aware of the final file size. Play with it and see what works for you.- You can play with this number because it happens quickly
- Check
SmoothandStack - (Optional) You may also want to select
Remove background - Click Apply
- It will place the generated image on top of your image so drag it to the side and delete the one at the back and bring it back to the center
Crop image
Draw the crop shape
- Select the Rectangle Tool from the left toolbar (or press R).
- Draw a rectangle framing only the part you want to keep (Tip: If the rectangle fills with solid color and hides the image, reduce its opacity in the ‘Fill and Stroke’ panel, or use an outlined box, so you can see your framing.)
- Select All Objects (The framing box you just created and the image at the back, or all if you used https://www.vectorizer.io as it will create multiple objects)
- Activate the Select Tool (top black arrow, or press S).
- Select all (Ctrl+A)OR Click the box you just drew to select it and then Shift-click on the image at the back so BOTH are selected.
- Apply the Crop (Set Clip, this only hides the rest of the content)
- With both objects selected, go to the top menu and select
Object>Clip>Set.
- With both objects selected, go to the top menu and select
- Resize the canvas (should have a lot of empty space now)
- Go to
File>Document Properties...(or press Ctrl + Shift + D). - Click on
Resize page to content..., this will open a sub menu - Click
Resize page to drawing or selection (Ctrl+Shift+R)
- Go to
- Save
- If you want to keep the hidden part which can be recovered with
Object>Clip>Release, then just save asInkscape SVG - If you want to permanently remove the parts that are not visible select
Optimized SVG - Set the filename
- Click
Save - In the menu that pops up check
Collapse groups - Click
Ok
- If you want to keep the hidden part which can be recovered with