Guide · Vector graphics
How to Convert an Image to Vector: Auto-Trace, AI and Manual Methods
Converting an image to vector means rebuilding a pixel-based picture, such as a PNG or JPG, as paths and shapes that scale to any size. There are three ways to do it: automatic tracing, an AI vectorizer, or redrawing the shapes by hand. Which one works depends mostly on the source image, not on the software. This guide explains how each method works, which images suit which method, how to prepare the file and clean the result, and what the law says when the image is a logo you did not create.

Key takeaways
- Flat artwork with few colors and clean edges converts well; photographs and soft gradients convert badly with any method.
- Auto-trace is free and fast, AI vectorizers handle color artwork better, and manual redrawing gives the cleanest paths for small, important graphics.
- The quality of the source decides the quality of the vector: use the largest, sharpest version of the image you have.
- Always inspect the result at high zoom and delete stray points, specks and unwanted background shapes before you export.
- Trace only artwork you own or have permission to change; a logo that belongs to another company is protected, and its official brand kit is the legal source.
What does it mean to convert an image to vector?
Converting an image to vector means replacing a grid of colored pixels with outlines and fills that a program can redraw at any size. A raster file such as a JPG or PNG records one color per pixel. A vector file records shapes, so the same drawing stays sharp on a business card and on a billboard.
Automated tools do this by reducing the image to a limited set of colors, outlining regions of matching color and approximating those outlines with curves, usually cubic Bezier curves (Wikipedia, Image tracing). A tolerance setting controls how closely the curves follow the original pixel edges.
The conversion is a reconstruction, not a recovery. The pixel image has already lost information, so the software has to guess where edges and corners were. Results vary by image, and the same article notes that no single vectorization method works well on all images.
If you want the background on why this matters, read vector vs raster images first.
Which images convert well and which do not?
Images made of flat shapes and solid colors convert well; images made of continuous tone do not. A one-color logo, a line drawing, a signature, an icon or a simple illustration gives the tracer clear edges to follow.
Wikipedia's overview of image tracing lists the usual trouble spots: noisy scans often need cleanup, gradients can turn into visible bands, small details such as text may be dropped, and continuous-tone photographs convert poorly. A traced photograph can also produce a file much larger than the original, which defeats the point of vector.
- Good candidates: logos, line art, hand-drawn sketches on white paper, icons, simple flat illustrations, stencils, maps made of solid regions.
- Needs work: screenshots with text, scanned pages with paper texture, artwork with soft shadows, low-resolution logos pulled from websites.
- Poor candidates: photographs, paintings, 3D renders, anything with smooth gradients across large areas.
If you only need a photograph to look sharper at a larger size, tracing is the wrong tool. Use an AI image upscaler or read how to upscale images instead.
Which method should you use: auto-trace, AI or manual?
Use auto-trace for simple one-color or few-color artwork, an AI vectorizer for color artwork with many small regions, and manual redrawing for anything small, important or reused for years. The three methods trade time against control.
Most designers start with auto-trace because it is built into common editors and costs nothing. The image to vector converters category covers tools that do this online, and vector graphics software covers the editors where you can trace and redraw.
- Auto-trace (Inkscape, Adobe Illustrator and similar): fast, free or already paid for, and adjustable with threshold, color and smoothing controls. Best for black-and-white and flat color artwork.
- AI vectorizer (an online service): fits curves and corners to the image rather than only following pixel edges, and usually handles more colors. Best for color logos, illustrations and clip art. Most charge to download.
- Manual redrawing: you place every point and curve over the original image. Slowest, but you control the node count, corner shapes and color list. Best for a logo you will use for years.
A fourth option sits outside all three: ask whoever made the image for the original vector file. If the artwork is your own or your client's, a designer, agency or earlier project folder often still has the AI, SVG or PDF source.
How do you prepare an image before converting it?
Preparation improves the result more than any slider does. A tracer can only follow the edges it can see, so give it the biggest, cleanest, highest-contrast version of the image.
Do the work in a photo editor or in the tracing tool's own preprocessing before you trace. Potrace, the open source tracer behind many free tools, recommends preprocessing greyscale and color images before tracing, and it includes a separate tool for that step (Potrace project page).
- Find the largest original: ask for the source file, check the email attachment, the old website or the print file before you settle for a thumbnail.
- Crop to the artwork and straighten scans so edges run square.
- Raise contrast: darken the lines and lighten the paper so the background is plain white or plain color.
- Remove noise and dust marks by hand while the image is still pixels; a background remover helps when the artwork sits on a busy background.
- Do not upscale with sharpening filters and then trace the halos; either start from a bigger file or upscale cleanly first.
- Save as PNG, not a repeatedly compressed JPG, which adds blocky artifacts around edges.
How do you auto-trace an image step by step?
Auto-tracing takes five steps: import the image, choose a mode, adjust the controls while watching the preview, apply the trace, then clean the paths. Inkscape calls its feature Trace Bitmap, and Adobe Illustrator calls its version Image Trace. Wikipedia notes that Inkscape's tracing is based on Potrace.
The names of the controls differ by program, but the ideas are the same. Potrace, for example, exposes three adjustments: speckle suppression, a corner threshold and curve optimization (Potrace project page).
- Place the cleaned image in a new document at the size you want the final artwork.
- Pick the mode that matches the image: black and white for a one-color logo or line art, a limited color mode for flat color artwork.
- Set the threshold so thin lines stay connected but the background does not turn into blobs.
- Raise speckle suppression until stray dots disappear, then lower it if small details such as the dot on a letter i vanish.
- Increase smoothing until curves look natural, stopping before sharp corners turn round.
- Apply the trace, then ungroup the result so you can work on individual shapes.
Keep the original image on a separate layer, hidden, so you can compare against it. Tracing creates new objects and does not change the source.
How do AI vectorizers work and what are their limits?
An AI vectorizer converts a raster image to vector by fitting shapes, curves and corners to the pixels instead of simply following pixel boundaries. Vectorizer.AI, one such service, describes its approach that way on its site.
Its stated limits show what to expect from this kind of tool: input formats are PNG, JPG, GIF, BMP and WebP, output formats are SVG, EPS, DXF and PDF, and the maximum image size is 3 megapixels with a 30 megabyte file limit (Vectorizer.AI, 2026). Uploading and previewing are free, while downloading a result requires a subscription, except for the example images.
Use the preview to check the palette, corners, background removal and regions before you pay. If the preview already shows merged colors or rounded corners, adjust the settings or go back to preparing the source.
- Strengths: better corners and color regions than a basic trace, little setup, results in minutes.
- Weaknesses: a recurring cost for downloads, size limits on the input, and no guarantee that the node structure is tidy enough for hand editing.
- Best use: color logos and illustrations you need quickly, followed by a short cleanup pass in a vector editor.
When is manual redrawing worth the time?
Manual redrawing is worth it when the graphic is small, important and will be used for years. A company mark, a mascot or a core set of icons gets reused on websites, packaging and signs, and clean paths pay back every time someone edits them.
The process is simple: lock the original image on a bottom layer at reduced opacity, draw shapes over it with the pen or shape tools, and snap shapes to shared geometry such as circles, straight lines and common angles. Hand-drawn files usually have fewer points, so they are easier to recolor and to resize.
Redrawing also lets you correct the flaws in the original. A tracer faithfully copies a wobbly line or an uneven curve, while a designer rebuilding the shape can make it symmetrical and consistent.
A vector graphics editor is all you need. If the result will be used on the web, a dedicated SVG editor is also fine, and how to edit SVG files covers the editing side.
How do you clean up a traced vector?
Cleanup turns a raw trace into a usable file. Zoom in far and look for the problems that automatic tools leave behind.
Wikipedia's overview points out that tracing relies on heuristics, so you should expect to fix some results by hand.
- Delete the background shape if the tracer added a white rectangle behind the artwork.
- Remove specks and single-point fragments, which add weight and show up when the file is scaled.
- Reduce points: fewer nodes mean smoother curves and a smaller file.
- Straighten edges that should be straight and rebuild perfect circles and rectangles from real shapes.
- Merge near-duplicate colors into one swatch so recoloring is a single change.
- Test on both a white and a dark background to find halos or leftover edge pixels.
- Convert text to outlines, or retype it in the correct font, before you hand the file over.
Then export. SVG vs EPS vs AI vs PDF explains which format to save for web, print and handoff.
Is it legal to vectorize a logo or image you did not make?
Vectorizing your own artwork is fine. Vectorizing someone else's artwork is a copy, and it needs permission. Changing the file format does not change who owns the design.
Brand logos have two layers of protection. The US Copyright Office says copyright may protect logo artwork that contains sufficient authorship, while names, titles, slogans and short phrases are not covered by copyright. The US Patent and Trademark Office explains that a trademark can be a word, phrase, symbol or design that identifies where goods or services come from, and that a logo can function as a trademark (USPTO, What is a trademark).
For a company logo you are not entitled to redraw, use the official source: the brand or press kit on the company's website, or a written request to its marketing team. Many companies publish a press page with approved files and rules on spacing, color and misuse. How to get a logo in vector format walks through that route for your own logo and for official brand assets.
If the logo is yours and you only have a JPG, trace or redraw it using the methods above, then keep the new vector file in the project archive so the problem does not repeat. This site does not offer downloads of brand logos.
What file should you deliver after converting?
Deliver SVG for web and app use, plus a PDF or EPS if a printer asks for one, and keep your editable master file. Send flat one-color versions of a logo as well, since signs, stamps and embroidery need them.
Name the files clearly, for example brand-logo-black.svg and brand-logo-white.svg, and note the font used if you converted text to outlines. If the logo is your own, consider the next step: a small brand folder with all variants, so you never need to trace it again. For logo design from scratch, see how to design a logo.
Frequently asked questions
Can you convert a JPG or PNG to SVG for free?
Yes. Free options include Inkscape's Trace Bitmap, Potrace and the free previews of online vectorizers. Auto-trace works well on logos, line art and flat illustrations.
Some AI services let you upload and preview for free but charge for the download. Results on photographs are poor with any method, so expect to clean up the paths in a vector editor.
Why does my traced image look jagged or blobby?
Usually the source was too small, too compressed or too low in contrast. A tracer follows the pixel edges it sees, so blocky JPG artifacts become wobbly curves. Start from a larger file, raise contrast, then increase smoothing.
Too much smoothing rounds corners, so adjust in small steps and compare against the original.
Can you convert a photograph to vector?
Technically yes, but the result rarely looks good. Photographs have continuous tone, and tracing turns that into banded color regions and a very large file. If you want a stylized poster effect, a limited color trace can work.
For a sharper photograph at a larger size, use an upscaler instead.
Is an AI vectorizer better than auto-trace?
For color artwork, often yes: AI tools fit corners and regions more accurately than a basic trace. For one-color logos and line art, a good auto-trace is usually enough and costs nothing. AI services also have limits, such as the 3 megapixel input cap on Vectorizer.AI, and they charge for downloads, so test with the free preview first.
Can I trace a logo I found online?
Only if you have permission. A logo can be protected by copyright as artwork and by trademark as a brand identifier. Tracing a copy changes the file type, not the ownership.
Use the company's official brand or press kit, or ask its marketing team. If the logo is your own, trace it freely.
What image size gives the best trace?
The largest clean version you can find. There is no universal pixel count that works, because it depends on the artwork's detail, but thin lines and small text need more pixels than bold shapes. If your only copy is tiny, redrawing by hand over the image often gives a better result than tracing it.
Sources and further reading
- Image tracing, Wikipedia
- Potrace: transforming bitmaps into vector graphics, Peter Selinger
- Vectorizer.AI: convert raster images to vector, Vectorizer.AI
- What is a trademark?, US Patent and Trademark Office
- Copyright FAQ: what does copyright protect?, US Copyright Office