01Chapter 1: Pixels, resolution, and screen densityThis chapter assumes you can use a design tool such as Figma, Sketch, Photoshop, or Illustrator. You should know what layers, artboards, and frames are. You should also know that a web page is built from HTML, CSS, and images.2 min read
02Chapter 2: Raster versus vector imagesThis chapter assumes you can work in a design tool such as Figma, Sketch, Photoshop, or Illustrator, and that you know what pixels and screen density are from the previous chapter. It covers the two ways an image can store a picture and what that means for the files you export.3 min read
03Chapter 3: Lossy versus lossless compressionThis chapter assumes you can export from a design tool and know that JPEG and PNG are image formats. It explains the two ways a format can make a file smaller. Later chapters rely on this split when they compare formats.2 min read
04Chapter 4: JPEG: photographs and complex imagesThis chapter assumes you know what pixels and display density are, and the difference between lossy and lossless compression. It also assumes you can export from a design tool such as Figma or Photoshop.2 min read
05Chapter 5: PNG: sharp edges, flat color, and transparencyThis chapter assumes you know the difference between raster and vector images and between lossy and lossless compression. It also assumes you can export from a design tool such as Figma or Photoshop.2 min read
06Chapter 6: SVG: icons, logos, and illustrationsThis chapter assumes you know the difference between raster and vector images, and that you can open a layered file in Figma, Sketch, or Illustrator. It also assumes you have seen basic HTML tags such as <img>.2 min read
07Chapter 7: GIF: why it is rarely the right choiceThis chapter assumes you know the difference between lossy and lossless compression and between raster and vector images. It also assumes you can read a short HTML snippet.2 min read
08Chapter 8: WebP: a modern all-round formatThis chapter assumes you can already tell JPEG and PNG apart, know the difference between lossy and lossless compression, and can export a file from a design tool. It covers what WebP does, when it is a good choice, and what to watch for.2 min read
09Chapter 9: AVIF: higher compression, with trade-offsThis chapter assumes you know the difference between lossy and lossless compression, and that you have exported JPEG and WebP files before. AVIF is the newest of the common web image formats. It usually produces the smallest files, but it has costs you should know before you switch to it.2 min read
10Chapter 10: Transparency and animation across formatsThis chapter assumes you can export images from a design tool and know the difference between lossy and lossless compression. It covers two features that decide which format you can use: transparency and animation.2 min read
11Chapter 11: Choosing a format for each imageThis chapter assumes you know the difference between raster and vector images, and between lossy and lossless compression. It also assumes you have met the main formats: JPEG, PNG, SVG, GIF, WebP and AVIF. Here you will turn that knowledge into a repeatable decision.2 min read
12Chapter 12: Export dimensions and 1x/2x scalesThis chapter assumes you know what a pixel is, that screens differ in density, and how to use frames and export settings in a design tool such as Figma or Sketch. It covers how to choose the pixel size of an exported file and how to produce the 2x version that sharp screens need.2 min read
13Chapter 13: Setting compression qualityThis chapter assumes you know the difference between lossy and lossless compression, can pick a format for an image, and already know the export dimensions. It covers how to choose a quality setting once those decisions are made.2 min read
14Chapter 14: Color space and metadataThis chapter assumes you can export images from a design tool and know the formats covered earlier (JPEG, PNG, WebP, AVIF). It covers two settings that change how an exported file looks and how large it is: the color space and the metadata.2 min read
15Chapter 15: Responsive images with srcset and pictureThis chapter assumes you can export images at 1x and 2x, know the main formats (JPEG, PNG, WebP, AVIF), and can read basic HTML. It covers how the browser chooses among the files you export.2 min read
16Chapter 16: File-size budgets and page performanceThis chapter assumes you know how to pick a format, export at the right dimensions, and set compression quality. Here you will learn how to decide whether the resulting files are small enough.2 min read
17Chapter 17: Export tools and workflowThis chapter assumes you know the image formats from earlier chapters (JPEG, PNG, SVG, WebP, AVIF), how to pick export dimensions, and how to set a compression quality. It covers how to run those decisions through a tool, so the result is the same every time.2 min read
18Chapter 18: Verifying exported imagesThis chapter assumes you can export images from your design tool and know the formats, dimensions, and compression settings covered earlier. Here you check that the exported files are correct, then name them and hand them to developers.2 min read