Images, Resolution and File Formats
Tell raster from vector, work out the pixels a print job needs, choose RGB or CMYK and pick between JPG, PNG, SVG and PDF.
Welcome back!
Step 1 of 12Learn
Raster versus vector
Every image in a design is one of two kinds.
Raster images are made of a grid of pixels, each with one color. Photos are raster. Common raster formats are JPG, PNG, GIF, WebP and TIFF, and the main editing tools are photo editors. A raster image has a fixed number of pixels: scale it up too far and it becomes blurry or blocky (pixelated), because the software has to invent pixels that were never there.
Vector images are made of mathematical paths: points, lines and curves with fills and strokes. Logos, icons, illustrations and type are usually vector. Formats include SVG, AI, EPS and vector PDF. A vector image can be scaled to any size, from a business card to a billboard, with perfectly sharp edges, because the shapes are recalculated at each size.
The practical rules:
- Logos and icons should always exist as vectors. If a client only has a small JPG of their logo, it will look terrible on a banner; ask for the original vector file or have the logo redrawn.
- Photos are always raster. You cannot turn a photo into a true vector without changing it into an illustration.
- Type should stay live text or vector outlines, not be flattened into a low-resolution image.
Step 2 of 12Practice · Sort into groups
Should each asset be created or kept as a vector or a raster image?
Tap an item, then tap its group (or drag it there).
Step 3 of 12Practice · Diagram
Raster and vector
Tap the part that fits a logo that must work on a business card and a billboard.
Tap the shape that answers the question, then press Check.
- Raster
A grid of pixels with a fixed count.
- Vector
Shapes defined by math.
- Raster only
- Photos
- JPG, PNG, WebP
- Blurs when enlarged
- Raster + Vector (overlap)
- Used in print and web
- Can be exported to PNG
- Vector only
- Logos and icons
- SVG, AI, EPS, PDF
- Scales to any size
Step 4 of 12Learn
Resolution: how many pixels do you need?
For print, image quality depends on pixels per inch (ppi) at the final printed size. The standard target for high-quality print such as brochures and magazines is 300 ppi. Large posters viewed from a few meters away can look fine at 150 ppi, and billboards use far less because nobody views them up close.
The formula is simple:
pixels needed = print size in inches × ppi
Example: a photo that will print 6 inches wide at 300 ppi needs 6 × 300 = 1,800 pixels across. If your photo is only 900 pixels wide, it can print sharply at 900 ÷ 300 = 3 inches. Printing it at 6 inches means 150 ppi, which will look soft.
For screens, ppi settings in a file do not matter; only pixel dimensions count. A 1200 × 800 pixel image displays at the same size whether its file says 72 or 300 ppi. Screens with high pixel density (often called retina displays) look sharpest when you supply images at about twice the display size, for example 1600 px wide for an image shown 800 px wide.
The common beginner mistake is copying an image from a website (often 600–1000 px wide) and placing it in a full-page print layout.
Step 5 of 12Try the calculator
Print resolution calculator
Enter your image size in pixels and the printed size in inches to see the effective resolution, and how large it can print at 300 ppi.
- Effective resolution
- 300 ppi
- Maximum width at 300 ppi
- 8 in
- Pixels needed for 300 ppi at this size
- 2,400 px
Step 6 of 12Practice · Work it out
A flyer photo must print 5 inches wide at 300 ppi. How many pixels wide must the image be?
Step 7 of 12Note
Step 8 of 12Compare
Common file formats
| Aspect | JPG | PNG | SVG | |
|---|---|---|---|---|
| Type | Raster, lossy compression | Raster, lossless compression | Vector (text-based) | Container: vector, raster and text |
| Transparency | No | Yes | Yes | Yes |
| Best for | Photos on the web and in email | Screenshots, UI graphics, images needing transparency | Logos, icons and illustrations on websites | Print-ready files and documents to share |
| Watch out for | Quality drops each time you re-save with compression | Large files for photos | Not suitable for photos | Check export settings: fonts embedded, images at print resolution |
Step 9 of 12Learn
RGB or CMYK?
Screens and printers make color in opposite ways, and your file must match its destination.
RGB (red, green, blue) is an additive color model: screens emit light, and adding all three at full strength gives white. Use RGB for anything shown on a screen: websites, apps, social media, video and presentations.
CMYK (cyan, magenta, yellow, key/black) is a subtractive model: inks absorb light reflected from paper, and mixing them makes colors darker. Use CMYK for most commercial printing such as brochures, business cards and packaging.
RGB can display some very bright, saturated colors, especially vivid greens, blues and oranges, that CMYK inks cannot reproduce. If you design a print piece in RGB with a neon green, it may print as a duller green. Converting to CMYK early, and checking with a proof, avoids surprises.
For exact brand colors in print, many companies also use spot colors: premixed inks from a matching system, specified by a number. They give consistent results across print jobs, at extra cost.
Quick rule: screen = RGB, press = CMYK. When in doubt, ask the printer which color profile they want.
Step 10 of 12Practice · Choose one
A designer must deliver a logo for a website header, a printed trade show banner and an app icon. Which master file should they keep?
Step 11 of 12Note
Step 12 of 12Practice · Choose one
Which combination is correct for a brochure going to a commercial printer?
Lesson complete!