Tuxia guide · about 5 min

Image obfuscation: shuffling blocks

Steganography's worst enemy is compression — one pass through WeChat or QQ and the hidden data is gone. Is there a method that still recovers after compression, screenshots, and re-sharing? Obfuscation is one answer. It hides nothing; it cuts the picture into blocks and shuffles them.

What obfuscation is

An image is ultimately a pile of pixels, each with a position and a color. Obfuscation does exactly one thing: scramble the block positions, touch none of the colors. Every red dot and blue dot from the original is still there — just moved. Without knowing the "moving rules", all anyone sees is a mosaic of color blocks.

The key distinction: steganography hides (invisible); obfuscation locks (visible but unreadable). They stack: hide first, then obfuscate — the recipient de-obfuscates, then extracts. Double protection.

Whole-block shuffle: the moving map

Tuxia cuts the picture into blocks tens of pixels wide and moves whole blocks: pixels inside each block stay put, only the block positions are shuffled. Bigger blocks look chunkier, smaller blocks look more shattered — three strength levels in the tool. The moving rules come from a fixed seed and are fully reversible: de-obfuscation moves every block back — pixel for pixel.

Measured: obfuscate then de-obfuscate, and the result is pixel-identical to the original (given lossless transfer).

Why it survives compression

Obfuscation changes "where", never "what color" — the image's overall color makeup is identical to the original. JPEG compression mainly discards high-frequency detail and nudges color values. Block size is a multiple of 8, so each block holds continuous original content that lines up with JPEG's 8×8 compression blocks — compression damage stays small, and after de-obfuscation the subject stays recognizable. That's the "compression can't wash it away" part.

Honest caveat: a compressed obfuscated image will never look as good as a lossless one after recovery. For important images, always transfer originals / as files (see sending originals on WeChat/QQ); compression is the safety net, not the first choice. Never resize or crop the image — once the pixel grid changes, recovery fails. Always forward it at its original size.

Three steps

This site uses a fixed seed + block permutation — both sides just need Tuxia with the same strength selected, no password exchange.

⚠️ Obfuscation is not encryption: it stops "understanding at a glance", not a determined attacker running the same algorithm. For truly sensitive content, layer password steganography on top (PBKDF2 + AES-256-GCM).

Try image obfuscation → ← Previous: image steganography, hiding secrets in pixels

Related: FAQ · Guide