Year 7 › Raid: Code for a Cause › Lesson 2 of 5
Year 7 · Summer 2 · Raid: Code for a Cause Image editing: cropping, layers and file formats
Topic 5 Representing images
KS3 Computing · A picture is a grid of tiny squares called pixels. Each pixel's colour is stored as a binary number. More pixels and more colours make a better picture, and a bigger file.
Computer Systems Cambridge Lower Secondary Computing 0860
You will learn to Use cropping and layers to edit a photo and put text on top. Explain the difference between a bitmap image and a vector image. Compare the file size of the same image saved as PNG and as JPEG. Calculate the size of an image before compression, from its width, height and colour depth.
Success criteria I can crop a photo and add a text layer over it. I can say when to use JPEG, PNG or GIF. I can work out an image's size in bits and bytes with the formula.
colour depth Bits per pixel. Sets how many colours are possible.
Pixel The smallest single-colour dot of an image.
Bitmap An image stored as a grid of pixels.
Resolution Number of pixels: width × height.
Metadata Data about data, like an image's width and height.
Vector An image stored as shapes and instructions.
The simplest image: black and white If a pixel is only black or white, 1 bit is enough: 1 = black, 0 = white. A 5 × 5 letter T:
1 1 1 1 1
0 0 1 0 0
0 0 1 0 0
0 0 1 0 0
0 0 1 0 0 Stored row after row: 25 bits. The computer also needs to know the width (5) to rebuild the rows.
More colours = more bits per pixel Bits per pixel = colour depth . Same rule as before: n bits give 2ⁿ colours.
Calculating file size
The steps for this lesson
Mark this lesson as done Saved on this device.
← Previous lesson Copyright, Creative Commons and crediting sources Next lesson → Designing for an audience: layout, colour and typography