PDFs can store images the way PNG does. Instead of each pixel, a row can hold the difference from a neighbour, and its filter says which: None (nothing), Sub (left), Up (above), Avg (halfway between those two) or Paeth (whichever of left, above or above-left a small rule picks). Values wrap past 255. Every mode breaks the reading of that data.
Raw pixels
A row is labelled with a filter but holds plain pixels, so the reader adds neighbours onto them anyway. With Up, each column becomes the running total of everything above it, in stripes. None reads clean.
Real filters
The rows are saved properly, then read as if each pixel had a different number of bytes, so the reader looks back the wrong distance. 3 bytes is right and reads clean. In both of these modes, Chaos gives some rows a random filter.
Row above
A correct Paeth file. Above the first row a reader uses zeros; here it finds a colour, or a rainbow. At first only the tint changes. Once values wrap, Paeth picks the wrong neighbour, and the mistake spreads right and down as blocks. With Wrap around, black reads clean. Stop halts values at 0 and 255 and reads each saved difference as a step up or down. The biggest steps are lost, leaving soft streaks, even with black.
Navy above the first row, at Full size, recreates how a real poster broke.
Mismatch
Rows are saved with one filter and read with another. Each pair smears differently; the same filter both ways reads clean.
Bad copies
Zip-style compression saves a repeated stretch as “go back this far and copy it”. Here some copies go to the wrong place, and later copies can repeat the damage. Wrong copies sets how many. It imitates this damage rather than breaking a real compressed file.
On top of any mode
Starts at keeps the top clean. Chunk size sets the size the glitch runs at, so each size breaks differently. Ragged and Stretch reshape the result into blocks. Outlines draws lines traced from the original. Exposure and Saturation adjust the colour.
Sound and video
Sound is turned into rows of bytes and put through the same mode, so Starts at becomes a point in time, and Ragged and Stretch change the sound too. Row above uses one grey level for sound. For an audio file, the picture is the file’s bytes scrolling.
Datamosh removes a video’s full frames after the first and repeats some of the movement, so it smears across cuts. Frame stacking piles each frame onto the ones before, starting over every set number of frames.
The Glitched / Original switch changes only what you see and hear here. Exports keep the glitch.
Everything runs on your device. Your files are never uploaded.