Guide · 4 min read

Vectorize Bitmap in Photopea: the steps, the settings, the SVG.

How to vectorize an image in Photopea: where Vectorize Bitmap is, what Colors, Cartoon and Merge colors do, and how to export an SVG made of shapes alone.

Originalpixels
2,048 pxthe PNG as uploaded, its own pixels
VecSnapsnapped
98anchor points in the whole file

To vectorize in Photopea, open the picture, select its layer and choose Image › Vectorize Bitmap. The window shows your picture beside its trace: set Colors to the number your logo has (it starts at 20), pick Cartoon for flat art, and press OK. The layer becomes a group of shape layers. Export with File › Export as › SVG, and untick add raster graphics so no picture rides along. Photopea runs in your browser and uploads nothing.

Updated 6 sources ↓

The steps

How do I vectorize an image in Photopea?

Open the picture, select its layer, choose Image › Vectorize Bitmap, adjust the trace beside the original and press OK. The picture layer is replaced by a group of shape layers you can export as an SVG.
  1. File › Open, or drop the picture on Photopea.
  2. Select its layer in the Layers panel.
  3. Image › Vectorize Bitmap.
  4. Compare the two sides and set Colors, Cartoon or Photo, Reduce noise and Merge colors.
  5. Press OK: the layer becomes a group of shape layers.
  6. File › Export as › SVG.

The settings

What do the Vectorize Bitmap settings do in Photopea?

Colors is how many colors the trace keeps, Cartoon or Photo the kind of picture, and Merge colors joins colors that are nearly the same. For a logo, set Colors to the number of colors it really has; it starts at 20.

Photopea's manual still names two settings, Number of colors and Noise reduction; its window shows these, and picks the style and the noise setting for each picture.

  • Colors

    Starts at
    20
    What it does
    How many colors the trace keeps
  • Cartoon or Photo

    Starts at
    Chosen for your picture
    What it does
    Flat art and logos, or a photograph
  • Palette

    Starts at
    None
    What it does
    Trace with colors you choose, saved and opened as a palette
  • Reduce noise

    Starts at
    Chosen for your picture
    What it does
    Leaves small specks out of the trace
  • Merge colors

    Starts at
    On
    What it does
    Joins colors that are nearly the same
  • Coloring book, Polygon

    Starts at
    Off
    What it does
    Two more choices, shown only with Photo

SVG export

How do I save a Photopea file as an SVG?

File › Export as › SVG, set the size, and press Save. Untick add raster graphics unless the picture should ride along: a layer you did not trace goes into the SVG as pixels.

The same window offers add hidden layers, vectorize text, rasterize text and minify.

A layer not traced, 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
  • A cutter finds no paths in it
The same design, drawn by VecSnap
3.0 KB, the whole file
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2048 2048">
<path fill="#1b4331" d="M1062.47 1384.91q-38.48 2-76.96 0 .95-2.69 3.76-15.88 15.34-73.2 14.06-172.21c-93.2 125.34-268.86 104.73-359.49-13.08q-59.24-77.11-76.56-203.76c49.35 44.11 106.13 84.89 173.79 99.83 24.31 5.37 84.9 13.44 98.23-14.34 14.34-29.86-46.66-46.29-65.7-52.44-66.03-21.36-167.28-48.78-200.3-115-29.57-60.03 13.48-161.52 36.07-218.39q65.01 102.31 133.65 160.2c25.32 21.59 98.57 77.97 133.1 61.6 41.45-19.84-50.92-87.23-66.08-99.29C758.13 761.49 620 666.01 659.51 586.24c23.16-46.75 56.73-89.44 88.95-128.72q6.87 65.75 44.82 128.01c16.57 27.29 86.68 126.33 123.76 112.2 41.36-15.78-47.84-121.98-60.73-139.63-51.94-70.63-75.94-128.38 8.66-186.09l30.75-20.17 20.32-14.01c47.8-33.69 86.56-72.88 108.09-128.67 22.58 59.07 65.51 99.37 116.91 134.77l40.92 27.12 10.18 7.06c112.65 82.54-7.76 176.14-53.79 254.23-8.19 13.74-31.46 57.17-6.44 65.67 37.49 12.74 107.07-86.22 123.97-114.06 23.51-38.71 38.97-81.62 43.99-126.34q53.96 64.02 85.83 121.46c69.07 125.63-250.2 256.22-222.4 313.98 13.99 29.09 73.59-4.28 90.94-15.34 77.24-48.44 137.01-122.84 184.81-198.09 22.37 55.62 64.36 157.48 37.34 215.62-32.07 68.99-138.14 97.37-205.17 118.95-18.6 5.99-76.28 22.42-62.25 50.99 14.22 28.93 76.45 19.8 101.84 13.88 65.97-15.38 121.78-55.57 169.9-98.66-14.5 122.66-74.06 252.81-201.79 291.24-82 24.67-163.36 4.86-220.96-58.77-4.78-5.28-9.56-11.82-13.34-16.28.39 50.46 1.89 101.36 10.49 151.33q4.01 23.61 7.36 36.99z"/>
<path fill="#bd5138" d="M985.51 1384.91h76.96l220.45-.28c4.84-.03 8.16-.36 12.34 2.79 2.44 1.84 5.4 5.95 5.5 9.16l.2 77.94c0 20.92-22.58 14.49-35.92 15.52l-51.19 328.15q-2.87 20.58-23.98 20.72l-315.65-.07c-15.35-.06-36.06 2.88-39.19-17.97l-51.69-330.99c-10.5.03-35.82 4.18-35.82-12.75l-.16-69.95c-.15-14.38.78-22.62 17.7-22.62l220.45.35z"/>
<path fill="#e6b248" d="M707.76 1467.1C611.1 1403.73 532 1311.86 481.57 1207.61 324.13 881.7 468.17 480.53 799.69 336.3q40.4-17.78 98.79-32.92c-30.86 20.74-63.9 40.21-91.61 66.37q-22.95 21.88-33.46 57.61c-38.47-23.53-56.21 6.75-77.05 33.56-22.85 28.89-45.59 59.6-63.54 91.79-16.36 29.35-23.78 56.36-15.6 89.71-23.74-2.83-37.69 7.51-47.09 30.27-25.72 61.79-59.62 154.37-39.89 221.3q7.22 24.36 26.33 48.54c-26.31 10.69-30.54 28.2-26.45 55.02 16.5 108.09 63.42 216.86 157.03 278.27 73.94 48.51 172.33 61.37 253.39 21.7 7.45-3.46 15.33-8.34 21.48-11.65q-3.64 38.39-7.81 60.01l-193.92-.13c-28.95 0-51.96 24.33-51.84 53.26l-.02 15.51-.67 52.58z"/>
<path fill="#e6b248" d="M1149.94 303.22l32.06 9.04c318.68 94.52 506.93 435.1 432.48 758.34-37.57 162.41-135.46 305.34-274.06 396.43l-.58-35.57.11-28.52c-.03-33.59-21.25-57.21-55.37-57.27l-190.68.16q-5.84-35.64-7.71-59.8c6.04 3.28 14.17 8.16 21.75 11.74 78.9 38.26 174.24 27.24 247.36-18.06 93.48-57.93 142.39-163.3 160.53-268.79 5.37-30.51 9.2-54.87-24.27-68.51q21.26-26.37 28.28-55.03 16.78-69.18-35.21-198.4c-10.56-26.17-18.88-52.04-54.18-45.84 12.86-43.15-7.08-78.94-29.64-114.2q-16.7-26.58-48.17-66.73c-20.72-26.83-39.38-59.13-78.18-34.76-5.25-18.95-12.14-33.11-24.76-48.22-26.98-32.3-66.59-52.17-99.76-76.01z"/>
</svg>
  • One filled shape per color
  • Sharp at any zoom

The background

Why does my Photopea trace keep a white box?

The background is a color like any other, so the trace draws it as one more shape. Delete that shape in the Layers panel, or start from a file whose background is already gone.

The soft edge between two colors can come back as thin extra shapes too: lower Colors and keep Merge colors on.

Count the colors
A plant shop's monstera sticker, as the picture was madePNGpixels
4,401distinct colors in the picture
A plant shop's monstera sticker: VecSnap's SVGVecSnapSVG
3colors in the SVG

Under “Every color”, each color takes a hue of its own, ordered by the share of the file it fills; the picture and the SVG follow one rule, worked out in your browser.

Ready to edit

How do I get a clean SVG of my design for Photopea?

Let VecSnap draw it again: every color comes back as one filled shape. Open the SVG in Photopea and each shape is a layer of its own, ready to recolor.

Drop your design. Get its SVG.

  1. Drop the picture you meant to put through Vectorize Bitmap.
  2. VecSnap draws each color as one filled shape.
  3. Download the SVG and open it in Photopea: one layer per shape.

Questions

Photopea vectorize, answered.

Sources

It needs a picture layer selected. With a group, shapes or a text layer selected it is grayed out: select the picture's layer, or use Layer › Rasterize first.

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 in GIMP, step by step

A selection made a path, Export Paths, GIMP 3.2's vector layers, and why its SVG export keeps pixels.

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.