Vector vs. raster
A raster or bitmap image, such as a JPG, PNG or WebP, is a grid of pixels: enlarge it past its original size and it turns blurry or blocky. A vector image stores instructions, like "a curve from this point to that point, filled with this color," which software recalculates at any size. Photos are always raster; logos, icons, flat illustrations and type should be vector. Vector files are light, too: a logo that weighs 200 KB as a large PNG often fits in an SVG of a few kilobytes.
Vector formats
- SVG: an open W3C format based on XML that every browser renders; lightweight, animatable and sharp on any screen.
- AI: Adobe Illustrator's native format, the source file to keep.
- EPS: an older print standard some printers and embroiderers still request.
- Vector PDF: universal and accepted by almost every printer, as long as it was exported from vector software.
How to tell if a file is truly vector
Zoom to 800%: vector edges stay perfectly crisp. Open the file in Illustrator or the free Inkscape: you should be able to select each shape and its anchor points. Beware, a PNG placed inside an .ai or .pdf file is still not vector. A logo that only exists as a pixel image has to be redrawn, because automatic tracing rarely produces clean results.
Uses and common mistakes
Vinyl cutting for vehicle graphics, embroidery, laser engraving and screen printing all require vector files. Before sending artwork to a printer, convert text to outlines so a missing font cannot break the layout. On the web, optimize SVGs to strip unnecessary metadata. Note that some CMSs, including WordPress, block SVG uploads by default because the format can contain scripts.
