Sub topic 8
Raster Images and Vector Artwork in Print
This chapter assumes you can place images in a layout application and know what ppi means. You should also know a photo from a logo. The question here is which kind of artwork keeps its quality when a printer reproduces it at final size.
Two kinds of artwork
A raster image is a grid of pixels. Photos and scans are raster. Its detail is fixed when it is created, so enlarging it spreads the same pixels over a longer distance. The previous chapter's idea of resolution applies to it.
Vector artwork is made of mathematical shapes: points, lines, curves, and fills. Logos, icons, line art, and most type are vector. A vector has no pixel grid. The printer's output device draws the shapes at its own resolution, so edges stay sharp at any size.
| Property | Raster | Vector |
|---|---|---|
| Built from | Pixels | Paths and fills |
| Typical sources | Photos, scans, painted textures | Logos, icons, line art, type |
| Quality when enlarged | Drops as effective ppi falls | Unchanged |
| Common formats | JPEG, TIFF, PSD, PNG | AI, SVG, EPS, PDF |
| File size grows with | Pixel count | Number of shapes |
Why this matters in print
A logo drawn as a vector prints with crisp edges on a business card and on a banner from the same file. A logo saved as a small PNG looks fine on screen, because screens are forgiving. At print size it shows stair-stepped or blurry edges.
A raster has a safe maximum size. Divide its pixel width by the width you plan to place it at. If the result falls well below your target ppi, the image is too small for that use.
def max_print_width_inches(pixels_wide, target_ppi=300):
"""Largest width at which the image still meets the target ppi."""
return pixels_wide / target_ppi
print(max_print_width_inches(1800)) # 6.0
print(max_print_width_inches(1800, 150)) # 12.0The second call shows a trade-off. Accepting 150 ppi doubles the usable size, at a visible loss of detail on close inspection.
Converting between the two
Turning a vector into a raster is easy: export it at the pixel size you need. Turning a raster into a vector (tracing) works only for simple, high-contrast shapes such as a flat logo. A photo cannot be traced into a vector in any useful way.
Common errors
- Placing a web logo. A 200 px wide logo from a website cannot reach 300 ppi at a useful size. Ask for the original vector file.
- Rasterizing type. Converting text to pixels before export makes edges soft. Keep type live or as outlines.
- Flattening early. Merging vector layers into a photo layer locks them at one resolution.
- Embedding a low-resolution preview. A linked image may display a small proxy. Check the original file, not what the screen shows.
- Effects that rasterize. Drop shadows and transparency on vector shapes can be rasterized at export, at a resolution set by the export settings.
A quick decision guide
Mixed layouts are normal. A flyer might have a raster photo background with a vector logo and live text on top. Only the photo needs a ppi check.
Exercise
A client sends a 600 px wide JPEG logo and wants it 4 inches wide on a printed brochure at 300 ppi. Does it meet the requirement, and what should you ask for?
Show answer
No. 600 px over 4 inches is 150 ppi, which is half the target. Ask for the original vector file (AI, SVG, EPS, or PDF), which prints sharply at 4 inches or any other size.
Exercise
Why can a vector logo be used on both a business card and a banner without changing the file?
Show answer
A vector is defined by shapes, not pixels, so the output device draws it at its own resolution at whatever size it is placed. Edges stay sharp at both sizes.