Vector vs. Raster

Raster and vector are the two most common file types you’ll encounter. Learn about the key features, similarities, and differences between the two to decide when and where to use each. Most of this information is from Adobe's Raster vs Vector webpage.

Vector

Vector files are built from mathematical equations, lines, and curves with fixed points on a grid (anchor points and paths).

File Types

Programs

Raster (Bitmap)

Raster (also called bitmap) files are built from pixels. A pixel is a square with one color in it.

File Types

Programs

Resolution & Pixel Density (ppi)

Resolution refers to the amount of visual detail in a raster file

Vector-only files do not have a resolution. Because you can add raster files (like images) to vector files (like in Illustrator), these vector files will have a ppi setting specifically for "Raster Effects".

Resolution/Dimension: Often the size of a digital file will be measured by the number of pixels vertically and horizontally. 

Pixel Density: The number of pixels within a certain area, for example, pixels per inch (ppi) is considered the pixel density and is important to note when comparing screen quality and print quality. 

Examples:

Print: When creating/exporting a raster file that will be printed, it is important to set it to at least 300 ppi for a high-quality print.

Digital: Most will tell you that for digital, you should export at 72 ppi (and this is important to know for the Precision Test). However, on a screen, pixels are pixels and the pixels don’t change size unless you change the resolution setting of your screen. What matters is the number of pixels in the image.