Convert PNG to SVG in Photoshop: Building Vector Paths from a Raster Logo
How to turn a PNG or scanned logo into vector paths in Photoshop, export them for SVG, and check that the result is true vector artwork.
Contents
- The short answer
- What a file extension does and does not prove
- Before you start
- Step 1: Prepare the raster artwork
- Step 2: Select one color region
- Step 3: Convert the selection to a path
- Step 4: Refine or redraw the geometry
- Step 5: Handle the typography
- Step 6: Turn paths into filled shapes (optional)
- Step 7: Export the paths and save as SVG
- How to confirm the result is real vector artwork
- Choosing between tracing and redrawing
- Gaps in this guide
The short answer
Photoshop cannot automatically turn a PNG into a finished SVG. It is a raster editor: it works with pixels. A vector file instead describes shapes as paths, which are mathematical curves defined by anchor points and control handles. Vectors scale to any size without blurring. What Photoshop can do is generate paths from a selection or let you draw them with the Pen tool. You can then export those paths and save them as SVG, usually through Adobe Illustrator or another vector editor. For a logo you plan to reuse, treat Photoshop as the place to build or clean up the paths, not as a one-click converter.
Two terms matter here. A work path is a temporary vector outline in the Paths panel. A shape layer, or a fill layer with a vector mask, is a layer whose visible edge is defined by a path rather than by pixels. Both hold vector data. A normal pixel layer, including one opened from a PNG, does not.
What a file extension does and does not prove
An SVG can contain a raster image embedded inside it. If you simply wrap a PNG in an SVG container, the file has the right extension, but it is still made of pixels and will blur when enlarged. The extension also tells you nothing about whether you are allowed to reuse or modify a logo. Confirm usage rights separately before redrawing someone else's mark.
Before you start
- A PNG or scan of the logo, at the highest resolution and cleanest condition available.
- A list of the logo's flat colors, because each color generally needs its own path or shape.
- The font name for any lettering, if you can identify it. Setting real type usually gives cleaner results than tracing letterforms.
- A vector editor such as Illustrator, if you need a final SVG. Check whether your Photoshop version offers SVG export at all (see the export section).
Step 1: Prepare the raster artwork
Paths generated from a selection follow the edge of that selection, so rough edges become rough paths. Scanned prints often carry paper texture, ink spread, dust and slight rotation. Clean these up first.
- Straighten the image with the Crop tool's straighten option, or by rotating the canvas.
- If the logo is small, enlarge it with Image > Image Size before selecting. Smoother pixel edges give smoother paths. Enlarging adds no real detail, though, so redraw small features by hand if they stay unclear.
- For one-color marks, use a Threshold or Levels adjustment to push the artwork toward pure black on white.
- Remove specks, scanner noise and background tint with the Brush or Eraser.
- For multicolor logos, keep colors distinct so each can be selected on its own.
Step 2: Select one color region
Select the pixels for one color at a time. Select > Color Range works well for flat-colored logos. The Magic Wand with anti-aliasing and Contiguous adjusted suits simple solid shapes. Select > Subject can isolate a mark from a busy background, though its edges often need refinement. Check the selection at high zoom. Any gap or stray pixel will become part of the path.
Step 3: Convert the selection to a path
With the selection active, open the Paths panel (Window > Paths). Choose Make Work Path from the panel menu. Photoshop asks for a Tolerance value in pixels. A lower tolerance follows the selection more closely and adds more anchor points. A higher tolerance produces fewer points and smoother curves, but it can round off corners and small details. Try a value, inspect the result, and undo and retry if needed. There is no universally correct number, because it depends on image resolution and logo detail.
Double-click the work path in the Paths panel and name it to save it. Photoshop replaces an unsaved work path the next time you make one, so save each color's path before moving on. Repeat Steps 2 and 3 for each color region.
Step 4: Refine or redraw the geometry
Paths built from selections are approximations. They tend to carry too many anchor points, slightly wobbly straight edges, and corners that are not quite sharp. For logo artwork, clean them up with the Direct Selection tool, the Delete Anchor Point tool and the Convert Point tool. Where accuracy matters, redraw shapes with the Pen tool, using the traced path or the original image as a guide. Good path geometry uses as few anchor points as possible. Place points at the extremes of curves and at corners, and keep straight segments truly straight.
Step 5: Handle the typography
Tracing lettering from a scan usually produces uneven letterforms. If you can identify the typeface and have a license for it, set the text with the Type tool and match size, tracking and position to the original. Type layers in Photoshop are vector-based, but they are not paths. To include them with your other paths, use Type > Convert to Shape (in some versions, right-click the type layer). This turns the text into outlines, so it can no longer be edited as text. Keep an unconverted copy. If the lettering is custom or modified, redraw it with the Pen tool rather than relying on a font.
Step 6: Turn paths into filled shapes (optional)
To see the vector result in Photoshop, select a saved path in the Paths panel. Then choose Layer > New Fill Layer > Solid Color and pick the logo color. The new layer uses the path as a vector mask. Hide the original pixel layer and compare. Repeat for each color. This step is for review inside Photoshop. The export route below works from the paths themselves.
Step 7: Export the paths and save as SVG
The most dependable route is File > Export > Paths to Illustrator. It writes the chosen path, or all paths, to an Illustrator file. Open that file in Illustrator. The paths arrive as outlines with no fill or stroke, so apply the correct fills, then use File > Save As or File > Export with SVG as the format. You can also copy a path in Photoshop and paste it directly into an Illustrator document.
Whether Photoshop can write SVG itself depends on the version. Some earlier releases listed SVG under File > Export > Export As. Recent versions have not reliably offered it, and the supplied material did not confirm its availability for any particular version. Check the format list in your own copy. If SVG is not there, use the Illustrator route.
How to confirm the result is real vector artwork
- Open the SVG in a vector editor and switch to outline view (View > Outline in Illustrator). Every part of the logo should appear as path outlines. A rectangle with an image inside means raster content is still present.
- Open the SVG in a plain text editor and look for an image element. If one is present, the file contains embedded pixels.
- Zoom in far, or scale the artwork up a lot. Edges should stay crisp with no stair-stepping or blur.
- Select the paths and check the anchor points. An excessive number of points, or uneven points along straight edges, signals that more cleanup is needed.
- Compare the vector version against the original at actual size and enlarged. Check corners, counters (the enclosed spaces in letters) and thin strokes.
- Confirm that each color is a separate, correctly filled shape, with no unintended overlaps or gaps between them.
Choosing between tracing and redrawing
Selection-based paths work well for simple, bold, one- or two-color marks from a clean source. For detailed logos, small or degraded scans, or artwork going to print, signage or embroidery, redrawing with the Pen tool, or in a dedicated vector application, usually gives more accurate and more editable results. If an original vector master exists, ask the logo owner for it. That is generally preferable to any reconstruction.
Gaps in this guide
No version-specific documentation was supplied. Menu locations, the availability of SVG in Export As, and the exact Tolerance range for Make Work Path should be checked against the Photoshop version you are using. No measured settings or performance figures are given here, because none were available to verify.