Sub topic 1
Raster images and pixels
Prerequisites
This chapter assumes you can open, save, and export files in Photoshop, that you can find the Layers panel, and that you know what a pixel is.
Raster images and pixels
A raster image is a grid of pixels, each holding one colour value. Photoshop edits raster images, so every resize changes that grid. A raster image has a fixed number of pixels. Enlarging it means Photoshop must generate new pixels, and that process always has limits.
Pixel dimensions: the real size of an image
Pixel dimensions are the width and height of the grid, such as 3000 x 2000 px. They are the only size fixed inside the file. Screens and web browsers display an image at these dimensions unless CSS or the page layout scales it.
Resolution: pixels per inch
Resolution is the number of pixels placed in one inch of printed output, measured in pixels per inch (ppi). Changing resolution does not change the pixel count. It only changes how large each pixel prints. Print work usually uses 300 ppi, and screen work often uses 72 ppi because screens ignore that value.
> Changing ppi alone changes print size, not pixel data.
Document size: how pixels and resolution set print size
Document size is the printed width and height. It follows from one formula:
inches = pixels / ppiFor example, 3000 px / 300 ppi = 10 in. The same 3000 px at 150 ppi prints at 20 in. A 6 x 4 in print at 300 ppi needs 1800 x 1200 px.
Exercise
A 2400 x 1600 px image is set to 200 ppi. How wide and how tall is the printed document?
Show answer
Width is 2400 / 200 = 12 in. Height is 1600 / 200 = 8 in.