Computing · represent and reconstruct an image

Encode a pixel picture with run lengths

Can someone recreate a picture without seeing it? Draw a small black-and-white grid and send only the lengths of its color runs. Your child can test whether the receiver reconstructs exactly the same cells, then compare a stripe with a checkerboard. This introduces image representation and compression through an agreed format, rather than treating a secret code or binary number as a picture.

2 reviewed starting pointsIndependent editorial guide
CS Unplugged website introducing computer science activities without computers
The quick answer

Why these resources fit

CS Unplugged’s Squeezing Pictures into Less Space provides run-length worksheets and discussion of encoding conventions. Code.org’s Black and White Images lesson offers a later digital comparison using pixel representation. Choose the paper activity to make every instruction visible and the course lesson as an adult-selected extension. The Code.org widget uses its own format, so the paper row codes should not be presented as instructions that can be pasted straight into it.

Reviewed starting points

Resources worth comparing

Browse Coding →
A practical way to choose

Make the shortlist fit your family.

This guide draws on directory reviews. Age fit, costs, sign-in, advertising, privacy, and accessibility are unconfirmed for individual activities. Check the provider’s current information and preview the activity with your child’s device.

01Check the age and skill fit
02Choose a format that fits today
03Preview before handing it over
Questions parents ask

Before you choose