Unblocked _top_ | Bit Planes

This produces 8 images, bitplane_0.png (LSB) through bitplane_7.png (MSB). Bit planes are the binary layers of an image. Higher planes define the scene; lower planes hold micro‑details and noise. Understanding them unlocks compression, steganography, and advanced image processing. No special hardware, no payment — just a shift of perspective (and a right‑shift operator).

(public domain code):

A bit plane is a way of breaking down a digital image into its constituent binary bits. bit planes unblocked

Look only at the leftmost bit of each byte. This produces 8 images, bitplane_0

for bit in range(8): plane = (pixels >> bit) & 1 # isolate one bit plane_img = Image.fromarray(plane * 255) # 0→black, 1→white plane_img.save(f'bitplane_bit.png') Look only at the leftmost bit of each byte

Row 1: 0, 1, 0, 0 → as an image row: black, white, black, black.