Sub topic 3
Strengths and Limitations of Raster and Vector Graphics
Assume you know what pixels and common file extensions such as .jpg, .png, and .svg are. This chapter compares the two image models and applies them to practical design decisions.
Strengths and limitations side by side
Raster graphics store color values in a fixed pixel grid. They represent photographs, textures, and detailed paintings well. Their main limitation is resolution: enlarging them can reveal blurry or blocky pixels. Lossy compression, such as JPEG compression, can also remove detail.
Vector graphics store paths, points, curves, fills, and strokes. They represent logos, icons, diagrams, and flat illustrations well. Because software redraws the shapes at the requested size, vectors can scale without becoming pixelated. However, complex photographic detail usually creates inefficient or difficult vector artwork.
| Model | Strengths | Limitations | Common formats |
|---|---|---|---|
| Raster | Photorealistic detail; broad software support | Fixed resolution; enlargement can blur | JPEG, PNG, GIF, WebP |
| Vector | Resolution-independent scaling; precise editing | Poor fit for photographs; complex files can become difficult to edit | SVG, EPS, AI |
| Mixed document | Combines photos and shapes | Export settings can affect each element differently |
Choosing the right model for the job
Use a vector source when the design must work at many sizes or requires repeated edits to shapes, colors, or text.
- Logo: vector, usually SVG for digital use and AI, EPS, or PDF for production.
- Photograph: raster, usually JPEG or WebP.
- Simple web icon: SVG when supported by the workflow.
- Screenshot: PNG for sharp interface text.
- Animated, limited-color image: GIF, although WebP or video may be more efficient.
- Illustration with painted texture: raster, vector, or a combination.
Delivering for web and print
For the web, export to the required pixel dimensions and keep file sizes reasonable. Use JPEG or WebP for photographs. Use PNG when transparency or sharp, lossless detail matters. Use SVG for suitable logos and icons. Provide descriptive alternative text for meaningful images.
For print, confirm the physical size, pixel dimensions, and color mode. Photographs often need sufficient pixels for the intended print size. A print workflow may use CMYK, while screens normally use RGB. Ask the printer which PDF standard, color profile, and bleed settings it requires.
Converting between raster and vector
Rasterizing converts vector artwork into pixels. It makes the result widely compatible, but later resizing cannot recover the original paths.
Tracing converts raster pixels into estimated vector shapes. It works best for clean, high-contrast logos. It usually loses photographic detail and may create many unwanted points.
Exercise
You have a logo that must appear on a website, business card, and large sign. Which source model should you keep?
Show answer
Keep a vector source. Export an SVG for the website and an appropriate print file, such as PDF or EPS, for production.