Raster vs Vector: Which to Use, and How to Get a Real SVG

Raster vs Vector: Which to Use, and How to Get a Real SVG

A raster image is a grid of pixels. A vector image is a set of shapes described by math. Photos, screenshots and almost everything an AI image generator gives you are raster (JPG, PNG, WebP). Logos, icons, cut files and sign artwork should be vector (SVG, AI, DXF, and usually PDF or EPS).

The practical rule: if it has to look sharp at any size, or a machine has to cut or stitch it, use vector. If it is a photograph or has soft, continuous tones, use raster and make sure it has enough pixels for the size you need.

Most of the confusion starts after that rule, when a printer asks for a vector logo and all you have is a PNG from 2019. This guide covers the difference, then the part most explanations skip: how to check what you actually have, how many pixels a print really needs, and how to turn a raster logo or a piece of AI art into a usable SVG.

Pixels Versus Paths, in Plain Terms

Raster files are images built from pixels. Each pixel holds one color, and the file knows nothing about the shapes those colors form. Stretch a raster image past its pixel count and the software has to invent the missing pixels, which is where blur and jagged edges come from.

Vector files use mathematical equations, lines and curves and contain no pixels. A circle is stored as a center point and a radius, not as thousands of colored squares. Your screen or printer draws it fresh at whatever size you ask for, so a logo looks the same on a business card and a billboard.

That difference sets what each format is good at:

  • Raster handles photos, painted textures, soft shadows, film grain and AI-generated scenes. Anything with millions of subtly different colors.
  • Vector handles flat shapes and clean lines: logos, icons, type, diagrams, stickers, vinyl decals, embroidery outlines and laser-engraving paths.

If you came here from a mapping class: GIS uses the same words for a related idea. In GIS, raster data subdivides the map into a grid of cells storing values, while vector data stores points, lines and polygons. The rest of this article is about graphics files.

Which Format Is Each File, Really

The extension tells you most of the story, but not all of it.

FormatTypeTypical use
JPGRaster, lossy compressionPhotos, social posts, web images
PNGRaster, losslessScreenshots, graphics with transparency
WebPRaster, lossy or losslessLighter web images
GIFRaster, up to 256 colorsSimple animations
BMPRasterLegacy software
SVGVector, XML-basedWeb logos, icons, cut files
AIVector, Adobe proprietaryIllustrator source files
DXFVector, from Autodesk CADCutters, CAD, laser work
PDFUsually vector, can hold rasterPrint-ready files
EPSVectorOlder print workflows

A few details behind that table. JPG is a raster format using lossy compression, so every save throws away a little detail. PNG was built as a non-patented replacement for GIF; PNG-8 is limited to 256 colors while PNG-24 handles 16.7 million. SVG was created by the W3C and is based on XML, which means an SVG is a text file you can open in a code editor. If you are choosing between the two raster workhorses, our guide to JPEG or PNG goes through it by job.

The software splits the same way. Adobe Photoshop is a raster-based program; Illustrator is vector-based. Exporting from Photoshop as PDF does not turn your pixels into paths.

The PDF catch

Most PDFs are vector files but can be saved as raster. A PDF can hold true vector paths, a flat image, or a mix. So when someone sends you logo.pdf, that alone does not prove it is a vector.

Renaming a JPG Does Not Make It a Vector

A person working at a desk, viewing a pixelated image on a computer screen, with a graphics tablet nearby.

Changing logo.jpg to logo.svg, or exporting a PNG into a vector format, does not turn pixels into paths. The file has the right extension, but what's inside is still the picture you started with. Send it to a sign shop or an embroiderer and they will open it, zoom in, see pixels, and send it back.

You can check any file yourself in a couple of minutes:

  • Zoom test. Open the file in a browser or PDF viewer and zoom to 800% or more. Real vector edges stay crisp. Pixels go soft or turn into visible squares.
  • Text test for SVG. Open the SVG in a plain text editor. A true vector is full of path, circle or polygon elements with lists of coordinates. The rule of thumb designers use: if instead you find a long run of random-looking characters starting with data:image, treat it as a picture tucked inside the file rather than paths.
  • Selection test. In any vector editor, click the artwork. If you can grab individual letters or shapes, it is vector. If the whole thing selects as one rectangle, it is a picture.

One more trap: vector gradients are actually raster effects and do not work for processes that need pure paths, such as cutting or engraving. A logo with a soft glow can be a perfectly good SVG for a website and still fail at the vinyl cutter.

How Many Pixels a Print Actually Needs

Raster files have no fixed physical size. They have pixel dimensions. The printed size comes from one division:

pixels ÷ ppi = inches

Raster resolution is expressed in DPI or PPI, and for paper the usual floor is 300 ppi, with shirt printers asking for at least 240. Run the numbers on a few common jobs:

  • A 1024-pixel-wide image at 300 ppi prints about 3.4 inches wide. That is a coaster, not a poster.
  • A 1600×900 download at 300 ppi prints about 5.3 × 3 inches. Fine for a postcard-sized flyer insert.
  • An 8×10 inch flyer at 300 ppi needs 2400 × 3000 pixels.
  • A 12-inch-wide shirt print at 240 ppi needs 2880 pixels across.

The ppi number stored in the file is mostly a label. DPI is set by the printer device, not the image, so changing 72 to 300 in a file's settings without changing its pixel count does nothing for quality. Pixel dimensions are what count.

Vector skips all of this. A real SVG logo prints at 3 inches or 30 feet from the same file. That is the main reason printers keep asking for one.

When your photo is too small

Photos cannot become vectors in any useful way, so an undersized photo simply needs more real pixels, and the surest way to get them is a larger source. Resizing up, in any tool, only spreads the same information over more pixels; it does not add detail. Our free photo editor is useful for the opposite job: cropping and resizing down to exact dimensions for print or social, with no watermark and no sign-up.

Screens, Retina and Why Icons Go SVG

The old advice that the web displays 72dpi stops being useful once you own a phone. Modern high-density screens, Apple's Retina displays among them, are where designers say a small raster logo starts to look soft, and that is the usual argument for moving logos and icons to vector.

The practical fork:

  • Logos, icons, arrows and simple illustrations: SVG is the better default on websites and in no-code builders that accept it. One file stays sharp at any size.
  • Photos, hero backgrounds and AI-generated scenes: stay with raster. A common designer rule of thumb is to export larger than the display size; check the result on the screens your visitors use.

Our guide to image optimization for the web covers keeping those raster files light.

Cricut and Other Cutting Machines

A cutting machine working on red vinyl with leaf designs, surrounded by tools and colorful materials.

Cutting machines are where the raster versus vector choice stops being theory. A blade follows paths. It cannot follow pixels.

Cricut Design Space accepts PNG, JPG, SVG, DXF, GIF and BMP uploads, so a raster upload will not be rejected. The difference shows up afterward. SVG and DXF files come in as vectors and are automatically separated into layers, so a three-color decal arrives as three cuttable pieces. A PNG or JPG comes in as a flat image that has to be cleaned up and traced into a single cut shape, and fine lines or soft edges often get lost on the way.

If you sell decals, shirts or stickers, a few habits save material:

  • Start from SVG whenever the design is flat color. Layers, weeding and resizing all get easier.
  • Keep raster uploads for print-then-cut jobs, where the printer handles the colors and the blade only cuts the outline.
  • Strip out gradients, drop shadows and glows before cutting. They are raster effects even inside an SVG.
  • Check any purchased or downloaded SVG with the zoom and text tests above before you cut material with it.

Turning a Raster Logo Into a Real Vector Without Illustrator

Most explanations stop at Illustrator's Image Trace, which is a fine tool if you already pay for Illustrator. If you don't, the job can be done in a browser.

Our photo editor has a Convert to SVG task, also listed as JPG to SVG and Vectorize Image, that turns raster artwork into scalable vector graphics online. It accepts JPG, PNG, WebP, GIF, BMP and SVG uploads. As of November 2026, cropping and resizing are free without sign-up, while vectorizing, AI background removal and other AI features use AI credits that come with paid plans.

The quality of any trace depends mostly on what you feed it. A sequence that works:

  • Find the biggest, cleanest copy. Dig out the original from the person who made the logo, an old email signature, or the website header. Avoid screenshots of screenshots.
  • Crop tight and remove the background. A transparent background stops the tracer from turning a white box into a shape. Our walkthrough on removing a background covers it.
  • Simplify. Flat colors and hard edges trace cleanly. Remove any shadow or texture you don't need.
  • Convert, then verify. Run the vector conversion, download the SVG, and do the zoom and text tests. Look closely at small type, which is where traces wobble first.
  • Send the right file. Most printers want SVG, PDF or EPS. Export from the clean SVG, not from the original raster.

Be honest about photos

Auto-tracing works on logos, icons, line art and clean-edged graphics. The tool itself says Vectorize Image is best suited for graphics rather than detailed photographic images. Run a portrait or a sunset through any tracer and you get a heavy file of blotchy color patches that looks like bad poster art. If someone asks you for a vector of a photo, the honest answer is usually a high-resolution raster instead.

Getting Vector Art From AI Images

Four colorful vector illustrations: a robot, a cloud, a compass, and a padlock, arranged on a desk with stationery.

The working assumption most people use: treat an image generator's stills as fixed-size raster images unless the tool itself exports SVG. That suits backgrounds, wallpapers, blog headers and social posts. It doesn't suit a logo, a cut file or an icon set.

There are three ways to get scalable artwork instead:

  • Download ready-made vectors. Our SVG packs are themed sets of ready-made illustrations, for example a Browser security pack with 21 illustrations. This is the quickest route when you need icons or spot art for a deck or a landing page.
  • Generate vectors directly. SVG Studio is our AI SVG generator. You write a prompt, or upload a PNG, JPG or WebP reference, and it returns editable vector shapes on a transparent background. As of November 2026, each finished creation costs 300 credits and needs a verified account. It saves every version and refunds failed processing. It does not accept SVG uploads for editing, and it adapts a reference into vector shapes rather than copying every pixel, so treat a reference as a starting sketch.
  • Trace a flat AI image. If you generated something simple, such as a mascot or badge with bold outlines and few colors, the vectorize route in the section above can work. Prompt for flat color, thick outlines and a plain background to give the tracer a fair chance.

For anything you plan to sell or print commercially, check the licensing terms on the page you downloaded from before it goes on a product. Our plain-English explainer on what royalty-free means covers the basics.

Frequently Asked Questions

A flat lay of design materials including a photo, patterns, color swatches, and geometric shapes on a textured surface.

Is a JPEG a raster or vector?

A JPEG is raster. It stores a grid of pixels with lossy compression, so it softens when enlarged and loses a little detail each time it is re-saved. Use it for photos, not for logos you need to scale.

Is Photoshop raster or vector?

Photoshop is raster-based. It has some shape and type tools, but its core is pixel editing, and exporting from it does not create true vector artwork. Illustrator and other vector editors work with paths.

Is a PNG a vector file?

No. PNG is a raster format with lossless compression and transparency support. A transparent PNG logo is handy for slides and websites, but it still has a fixed pixel size.

Is SVG a vector or raster?

SVG is vector. The name stands for Scalable Vector Graphics, and the file is XML text describing shapes. A file with an .svg extension is not automatically clean paths, though, so run the zoom and text tests if you need to be sure.

Is a PDF always a vector?

No. Most PDFs from design software hold vector paths, but a PDF can just as easily contain a scanned or pasted image. Zoom in far: if edges stay sharp, the content is vector.

Can I convert a photo into a vector?

Technically yes, usefully rarely. Tracers reduce photos to blocks of flat color and produce huge files. For photos, get a larger original instead.

Do I need an SVG for my Cricut?

Not always, since Design Space also takes PNG and JPG. SVG is the better choice for multi-color cut designs because it arrives already split into layers. Raster files suit print-then-cut projects.

What size should my logo PNG be for a website?

The common designer rule of thumb is to export it larger than the size it will be displayed at, then check it on a high-density screen. Better still, use an SVG if your site builder supports it.

Final Thoughts

Photos and AI-generated scenes belong in raster: get enough pixels, and use the pixels ÷ ppi math before anything goes to print. Logos, icons and anything a blade or needle will follow belong in vector, and a real vector is made of paths, not a renamed JPG.

When you need the vector side, you can start with our SVG packs, convert a clean logo in the photo editor, or build something new in SVG Studio. Then zoom in and check the edges before you send it.