The difference at a glance
| Raster | Vector | |
|---|---|---|
| Made of | Pixels in a fixed grid | Paths: points joined by straight lines and curves, with fills and strokes |
| Enlarging | Pixels become visible; edges blur or turn jagged | Redrawn sharply at any size |
| Best for | Photographs, scans, screenshots, painted textures, complex shading | Logos, icons, illustrations, diagrams, maps, type |
| File size depends on | Pixel dimensions and compression | Number and complexity of shapes |
| Editing | Pixel by pixel, in tools such as Photoshop | Shape by shape, in tools such as Illustrator, Inkscape or Figma |
| Common formats | JPEG, PNG, WebP, AVIF, GIF, TIFF, HEIC, PSD | SVG, AI, EPS, PDF (when it contains vector artwork) |
A raster image has a fixed resolution: a 1,200 × 800 pixel photo printed at 300 pixels per inch is 4 × 2.7 inches. A vector logo has none; the same file fills a business card or a building wrap.
File formats, one by one
- SVG (Scalable Vector Graphics) is the W3C's vector format for the web. It is text (XML), displays in every browser and can be styled and animated with CSS. See SVG files.
- AI is Adobe Illustrator's working format. Recent AI files contain a PDF-compatible copy of the artwork, which is why other software can often preview them. See AI files.
- EPS (Encapsulated PostScript) is an older exchange format for print, still sent by many printers and agencies. See EPS files.
- PDF can hold vector artwork, raster images or both. A logo exported as PDF from Illustrator stays vector; a scanned page saved as PDF is a raster image inside a PDF.
- PNG, JPEG, WebP, AVIF and TIFF are raster formats. PNG and WebP support transparency, which is why logos are often supplied as PNG for slides and websites, but a PNG is never a vector file, whatever it shows.
- PSD (Photoshop) is mainly raster, though it can contain vector shape layers and text. See PSD files.
Some files mix both: a vector layout can contain a placed photo, and an SVG can embed a raster image. Opening the file in an editor, or zooming in far, shows which parts are which.
Converting between the two
Vector to raster is simple and lossless at the chosen size: the software draws the shapes into a grid of pixels (rasterising). Every preview of a vector file on a screen is a rasterised copy. Rasterise at the size and resolution of the final use, because the result cannot be enlarged afterwards.
Raster to vector (vectorising, or image tracing) is the hard direction. Tracing tools detect edges and colour areas and turn them into paths. This works for simple, flat artwork such as a clean logo on a white background, and fails on photographs, gradients and fine detail. A traced logo usually needs manual correction; the reliable fix is to find or rebuild the original vector file.
Which one to use
| Task | Use |
|---|---|
| Logo on a website or app | SVG, with a PNG fallback where SVG is not accepted |
| Logo for print, signage, embroidery, vehicle livery | Vector (AI, EPS or PDF), with colours specified in CMYK or Pantone |
| Logo in slides or documents | PNG with transparency, or SVG where the software supports it |
| Photographs | Raster: JPEG, WebP or AVIF for screens, TIFF or high-quality JPEG for print |
| Icons and diagrams | SVG |
| Social media posts | Raster at the platform's pixel size |
Raster and vector in day-to-day marketing work
The most common request a brand team receives is "can you send the logo in high resolution?" The person usually has a small JPEG taken from a website and needs something that prints sharply. The answer is a vector file, and the problem is that it is often hard to find: buried in a designer's folder, named logo_final_v3.eps, or lost after an agency change. A second problem follows: the person who receives an EPS or AI file often cannot open it, so they ask again for a PNG. A brand library that offers each logo as a vector file and as ready-to-use PNG or SVG answers both requests at once.
Raster and vector files in Freedam
- SVG, EPS, AI and PDF files get previews and thumbnails at upload: Freedam rasterises them into images, so vector files can be browsed and searched like photos without opening a design tool.
- The download dialog keeps the vector original available to those allowed to have it, and marks EPS and AI files as source files for editing software. Resized images are made from the vector source, so they stay sharp at every size. See the download dialog.
- The brand guide offers each logo in the formats that were uploaded, such as SVG and EPS, together with a WebP version that opens anywhere.
- The free EPS viewer and AI viewer show an EPS, AI or PSD file in the browser and turn it into a PNG or JPEG, for people who receive a vector file and cannot open it.
Frequently asked questions
Is a PNG a vector file?
No. PNG is a raster format: it stores pixels. It supports transparency, which makes it useful for logos on screens, but it cannot be enlarged without losing sharpness. SVG, AI, EPS and vector PDF are vector formats.
How do I know if an image is raster or vector?
Zoom in far. If the edges turn into visible squares, the image is raster. If they stay sharp at any zoom level, it is vector. The file format is a first indication: JPEG, PNG and WebP are always raster; SVG, AI and EPS are usually vector.
Is vector or raster better for printing?
Vector, for logos, type and illustrations, because they print sharply at any size. Photographs are always raster; for print they need enough pixels for the printed size, usually 300 pixels per inch at the final dimensions.
Can I convert a JPEG logo into a vector file?
Partly. Image tracing turns a simple, high-contrast logo into paths, but the result usually needs manual cleaning, and complex or low-resolution logos trace badly. Ask for the original vector file first.
Related terms
Freedam is a digital asset management (DAM) platform: one library where your team stores, finds and shares its images, videos and brand files.
Download a logo as vector and as an image
Open a logo in the demo brand guide: download the vector original for print, or the WebP version for a slide or a web page.
The demo opens the workspace of a fictional homewares brand: follow its team through a product launch, then explore the workspace yourself.