Guide · 4 min read

Vectorize in GIMP: the path, the SVG, and what 3.2 exports.

How to turn a picture into a vector in GIMP: a selection made a path, the path saved as an SVG, GIMP 3.2's vector layers, and why its SVG export can still hold pixels.

A hackerspace's mark built of flat shapes: a charcoal gear with square teeth, a teal lightning bolt with sharp corners crossing it, and a warm amber circle in the gear's hole, on a transparent background
The PNG as uploaded1,039 KBVecSnap's SVG1.2 KB59 anchor points

To vectorize in GIMP, select the shape with Fuzzy Select or Select by Color, choose Select › To Path, then right-click the path in the Paths dialog and choose Export Paths. GIMP saves it as an SVG: a black outline, no color. It traces nothing by itself. GIMP 3.2 can also Export Image as SVG, but a picture layer goes inside the file as a PNG or a JPEG, still pixels. For a logo with every color a filled shape, convert it first, then open the SVG where you work.

Updated 7 sources ↓

The steps

How do I vectorize an image in GIMP?

Select the shape, turn the selection into a path with Select › To Path, and export the path from the Paths dialog as an SVG. Repeat for each color: GIMP traces nothing by itself.

Each path is written as a thin black outline with no fill, so a logo in three colors is three selections, three paths, and three fills to put back in the app that opens the SVG.

  1. File › Open your picture, and open the Paths dialog: Windows › Dockable Dialogs › Paths.
  2. Fuzzy Select (U) on one shape, or Select › By Color for every area of one color.
  3. Select › To Path, or Shift-click the dialog's Selection to Path button for its advanced settings.
  4. Right-click the new path in the dialog and choose Export Paths.
  5. Save it with a .svg name.

SVG export

Can GIMP export an SVG?

Yes, two ways. Export Paths saves your paths. Since GIMP 3.2, File › Export As with a .svg name exports the whole image, and asks how to include its picture layers: as a PNG, as a JPEG, or not at all.

GIMP's manual calls it Export Image as SVG: paths and vector layers come out as shapes, and a picture layer goes in as the picture itself.

A picture layer, exported as an SVG
<svg viewBox="0 0 1200 1200">
  <image width="1200" height="1200"
    href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA…"/>
</svg>
  • The picture inside, as pixels
  • Squares when you zoom in
The same logo, drawn by VecSnap
1.2 KB, the whole file
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2048 2048">
<path fill="#262a33" d="M932.97 409.65l183.2.03 19.43 124.1c.57 3.83-1.51 5.79-3.39 9.04l-90.92 160.24c-66.11-2.83-134.68 14.47-190.07 50.84-198.85 131.06-196.66 415.34 3.6 542.36L776.79 1445.8l-9.64-5.72-112.36 83.95-130.61-130.92 84.24-112.53q-32.89-54.83-48.81-104.85a669.51 669.51 0 0 1-10.69-38.59l-139.27-21.57V932.62l139.28-22.19 4.9-19.26q17.07-62.3 54.58-123.93L523.39 654.4 654.75 523.63 767.33 607.66l12.41-7.37q59.98-34.79 131.71-52.98l21.52-137.66z"/>
<path fill="#262a33" d="M1345.79 1033.73L1487.04 864.8q8.94 29.25 12.71 45.47l138.85 22.39v182.96l-139.11 21.61-4.67 18.24q-17.04 62.96-54.81 125.04l84.3 112.54-130.49 130.99-113.18-84.53q-73.23 44.03-143.1 60.15L1115.8 1638.3l-183.25-.03-15.06-96.06L1085.91 1342c3.86-4.73 8.82-4.38 14.64-5.85 133.72-33.78 229.88-146.31 243.34-283.77l1.9-18.65z"/>
<path fill="#1c8386" d="M1333.41 294.5l306.33.02L1379.66 650.4h220.61l-337.65 402.57c5.33-55.47-7.59-116.12-40.87-163.36l-11.1-15.33 54.76-86.08H1051.47l281.94-493.7z"/>
<circle cx="1024.08" cy="1023.96" r="187.46" fill="#f0b037"/>
<path fill="#1c8386" d="M938.18 1247.61q68.37 26.13 146.02 8.34l9.16-2.34-421.18 501.42 266-507.42z"/>
</svg>
  • Every color a filled shape
  • Sharp at any zoom

Vector layers

Does GIMP have vector layers?

Since GIMP 3.2, yes: a path can become a vector layer with its own fill and stroke, edited at any time. You still draw the path yourself; it is not a trace of your picture.

Color

Why is my exported path black, with no color?

Export Paths keeps the shape only: GIMP writes every path as a black outline with no fill. Color it again where you open it, or start from an SVG whose shapes already carry their colors.

A logo's PNG holds thousands of colors where two areas blend at an edge; its SVG needs only the logo's own.

Count the colors
A hackerspace's gear mark, as the picture was madePNGpixels
3,913distinct colors in the picture
A hackerspace's gear mark: VecSnap's SVGVecSnapSVG
3colors in the SVG

“Every color” gives each color its own hue, from the one that covers most of the file to the least: one rule for both files, counted here in your browser.

With its colors

How do I get an SVG of my logo with its colors, for GIMP?

Let VecSnap draw it again. The SVG comes back with one filled shape per color, ready for GIMP's Import Path or for the app the logo goes to next.

Drop your logo. Get its SVG.

  1. Drop the picture you meant to trace in GIMP.
  2. VecSnap draws every color as one filled shape.
  3. Download the SVG; in GIMP, Import Path brings its outlines, File › Open places it at any size.

Questions

GIMP vectorize, answered.

Sources

Yes: File › Open draws it as a picture at the size you choose, and Import Path in the Paths dialog brings its outlines in as paths. Its shapes and colors do not stay editable as shapes.

SVG viewer

More guides

Keep reading

Favicon size and format

Sizes, formats and the HTML, shown on one icon in a tab, a search result and a home screen.

Guide · 5 min read

How to convert a JPG to DWG for AutoCAD

A JPG or a logo into AutoCAD as lines: VecSnap's DXF, saved as a DWG.

Guide · 5 min read

What is an SVG file?

What the format is, and how to open, make and edit one, on a real file read line by line.

Guide · 4 min read

What is a vector file?

What one is, its formats, and how to tell a real one from pixels.

Guide · 4 min read

Image Trace in Illustrator, step by step

Where it is, the steps, the settings and Expand, and what to do when Image Trace is grayed out.

Guide · 5 min read

How to change a logo's color

Change a logo's colors, make a white or a black version, and why a recolored PNG grows a halo.

Guide · 4 min read

How to fix a pixelated logo

Why a logo pixelates, the pixels each place asks for, and the fixes, shown on one small JPEG.

Guide · 5 min read

SVG viewBox, width and height

The viewBox, width and height, a responsive SVG, and why yours will not scale, shown on one file.

Guide · 4 min read

SVG vs PNG

Which format each job needs, shown on one drawing saved both ways.

Guide · 3 min read

How to change an SVG's color

Recolor an SVG in its text, with CSS or currentColor, and why one in an img tag will not change.

Guide · 4 min read

How to add a sticker border

A white edge and a smooth cut line, in Cricut, Illustrator, Inkscape or one step.

Guide · 5 min read

PowerTRACE in CorelDRAW, step by step

The steps, the trace types, the three sliders, and why a traced logo comes back with extra colors.

Guide · 4 min read

Inkscape Trace Bitmap, step by step

The steps, the modes and the settings, and what Trace Bitmap leaves on a real PNG.

Guide · 4 min read

How to vectorize an image in Photoshop

Make Work Path, color by color, and where it stops: what Photoshop can vectorize.

Guide · 4 min read

SVG vs EPS

What differs, which to send a printer, and one logo opened both ways.

Guide · 4 min read

How to vectorize an image in Canva

Canva's own apps, why a PNG saved as an SVG stays pixels, and an SVG you can recolor in Canva.

Guide · 4 min read

How to turn a Procreate drawing into a vector

Procreate shares no vector file: export the PNG that converts best, and draw for it.

Guide · 3 min read

How to make an SVG for Cricut

Why Design Space wants an SVG, and how to make one with a layer for each color.

Guide · 4 min read

Why a Cricut draws double lines

Why a pen goes round every line, and the file that goes along it once.

Guide · 3 min read

How to use an SVG on a Silhouette Cameo

Which Studio edition opens an SVG, and how to cut your design on the free one.

Guide · 5 min read

Image Trace in Affinity, step by step

The steps, the two settings, where it is, and why traced corners come out round.

Guide · 4 min read

How to make an SVG for laser cutting

Why a traced SVG engraves some areas twice, and the file each laser app wants.

Guide · 5 min read

How to vectorize an image in Figma

Figma's own Vectorize, how to import or paste an SVG, and what makes a file easy to edit there.

Guide · 3 min read

Vectorize Bitmap in Photopea, step by step

Image › Vectorize Bitmap, what its settings do, and an SVG export that keeps no picture inside.

Guide · 4 min read

How to reduce anchor points

Why a traced SVG has thousands, what they cost, and how to keep only the few a shape needs.

Guide · 2 min read

Drop an image. Check the file.

Converting is free. You see the whole result before you spend anything.