Beginner Topic 3 of 49 Graphics, Vision & Media
Raster vs Vector Graphics
Pixel grids versus mathematically defined shapes.
How it works
Raster graphics store images as a grid of pixels, so detail is limited by resolution and scaling up causes blur; formats include JPEG, PNG and WebP. Vector graphics describe shapes mathematically as paths, curves, fills and strokes, so they scale to any size without losing sharpness and have small file sizes for simple art; formats include SVG, PDF and EPS. Photographs and complex textures suit raster images, while logos, icons, diagrams and typography suit vectors. Rendering vectors converts them to pixels at display time.
Where it is used
Websites use SVG for icons and charts and raster formats for photos, designers use Illustrator and Figma for vectors and Photoshop for raster work, and fonts are vector outlines.
Common pitfall
Detailed photos converted to vector become huge and look artificial. Raster images used at large sizes look pixelated, so provide multiple resolutions. Complex SVGs with thousands of paths render slowly. Text in vector files may depend on missing fonts unless converted to outlines. Pick the type by content and target sizes.
Where it fits in the course
Raster vs Vector Graphics is topic 3 of 49 in Graphics, Vision & Media, rated Beginner. It follows Color Models. The next topic is Image Formats.
Practice and explore
- Open the interactive lesson, with a mini quiz.
- Take the Graphics, Vision & Media quiz.
- Explore the Graph Traversal visualizer: BFS, DFS and Dijkstra on a weighted graph.
How to study this topic
- Read the explanation above and restate the definition in your own words.
- Open the interactive lesson and answer its mini quiz.
- Read the common pitfall, then write a short example that avoids it.
- Check your understanding in the Graphics, Vision & Media quiz, and revisit the topic if you miss a question.
Frequently asked questions
What is Raster vs Vector Graphics?
Where do people use Raster vs Vector Graphics?
What is the most common mistake with Raster vs Vector Graphics?
What should I learn before this topic?
How can I practice it?
Is Raster vs Vector Graphics hard to learn?
How long does it take to learn Raster vs Vector Graphics?
Which topics are related to Raster vs Vector Graphics?
What should I study after Raster vs Vector Graphics?
Related topics
- Color Models (Graphics, Vision & Media)
- Image Formats (Graphics, Vision & Media)
- Pixels and Resolution (Graphics, Vision & Media)
- Image Compression (Graphics, Vision & Media)
- Support Vector Machines (AI & Machine Learning)
- SIMD and Vector Processing (Computer Architecture & Logic)
- Vector Databases (Databases)