Sub topic 2
Cropping without losing pixels
This chapter assumes you can open and save images, use the toolbar and options bar, and work with layers. You should also know that an image is a grid of pixels.
Cropping removes the outer part of an image and keeps the inner part at its original scale. Resizing changes the pixel dimensions of the whole image. Changing the canvas size adds or removes empty space around the image. Only cropping shrinks the image without rescaling what remains.
Using Delete Cropped Pixels
Select the Crop tool with C. The options bar contains a checkbox named Delete Cropped Pixels. Its state determines what happens to the pixels outside the crop box.
- Checked: Photoshop deletes the outside pixels when you press Enter. The file gets smaller, and those pixels are gone once you save.
- Unchecked: Photoshop hides the outside pixels. You can drag the crop box outward later to recover them.
Leave the box unchecked while you experiment. Check it only when the crop is final.
Straightening a tilted image
Click the Straighten button in the options bar. Draw a line along something that should be level, such as a horizon or the edge of a table. When you release the mouse, Photoshop rotates the image so that the line is horizontal.
Rotation creates empty triangles in the corners. Drag the crop box edges inward until those corners fall outside the frame.
> Note: With Delete Cropped Pixels unchecked, the rotated image keeps the original pixels outside the frame. You can adjust the crop after straightening.
Exercise
You straighten a photo with Delete Cropped Pixels unchecked, then save it as a flattened JPEG and reopen it. Can you recover the cropped pixels?
Show answer
No. A flattened JPEG stores only the visible canvas, so the hidden pixels are discarded. Recovery works only while the file is open or if it was saved as a layered file such as PSD.