Image methods Steganography
Bit plane
A 24-bit colour image can be read as 24 stacked black-and-white images: for each of the three channels, eight “planes”, one per bit. Plane 7 of red says whether red is above 128; plane 0 only says whether it is odd or even. Hiding a drawing in a bit plane means replacing one of those 24 images with your own.
How does bit-plane hiding work?
- Prepare a black-and-white drawing the size of the image: a word, a logo, a QR code.
- Choose a channel (red, green or blue) and a bit (from 0, the lowest, to 7, the highest).
- Write: for each pixel, set that bit to 1 where the drawing is light, 0 where it is dark.
To reveal it, display the chosen plane: white where the bit is 1, black elsewhere. The drawing comes back exactly.
Red = 1011011[0] light drawing → 1011011[1]
Red = 1011011[1] dark drawing → 1011011[0] What does an image processed with a bit plane look like?
It depends on the bit:
- Bit 0 — invisible. The colour changes by at most 1 out of 255.
- Bits 1 to 3 — discreet, visible only against the original.
- Bits 5 to 7 — the drawing shows through directly: no longer steganography.
Flipping through the planes of a normal photo, the high planes show the picture as a silhouette and the low planes irregular noise. A crisp, readable word in the middle of that noise leaves no doubt.
What are the weaknesses of bit-plane hiding?
Strengths
- Read without computing: just display a plane, no format to know.
- Error-tolerant: a few damaged pixels do not make the drawing unreadable, unlike bit-coded text.
- Great for a puzzle: the answer is, literally, visible.
Weaknesses
- The first thing anyone checks. Any analysis tool shows all 24 planes in seconds.
- Low capacity: one bit per pixel, and only for a shape.
- Destroyed by JPEG when the chosen bit is low.
How do you recover a drawing hidden in a bit plane?
By looking: go through the 8 planes of each channel (24 images, 32 with alpha). StegSolve, zsteg or the CipherChronicle workbench do it with a slider. The plane holding a drawing stands out from its neighbours at once.
What are the variants of bit-plane hiding?
- Several drawings — one per channel, or one per bit: up to 24 independent drawings in the same image.
- Scrambled drawing — permute the drawing’s pixels with a key before writing: the plane shows only noise.
- Combined planes — the drawing only appears as the XOR of two planes, for example bit 0 of red and bit 0 of blue.
- Image in an image — the same idea over several planes at once, to hide a shaded image.
In CipherChronicle
When encrypting, the workbench turns the supplied image into black and white (threshold at mid-brightness) and writes it into the chosen channel and bit. When decrypting, the same two settings act as an explorer: drop any image and browse its planes.
Demonstration
The CipherChronicle artwork is encrypted then decrypted right here, in your browser, with the same engine as the workbench. Drag the bar to compare.