FFileTools

IMAGE PROCESSING REFERENCE

Pixelation Block Size Calculator

Calculate the block grid produced by square pixelation and see how much source image area each block represents.

Calculate a pixelation grid

ResultValue
Block columns160
Block rows90
Total blocks14,400
Pixels in a full block144

How the block calculation works

For an image W pixels wide and H pixels tall, a block size of B produces ceil(W/B) columns and ceil(H/B) rows. The final blocks at the right and bottom edges can be smaller than B because the engine clips them to the image boundary.

columns = ceil(width / blockSize) rows = ceil(height / blockSize) blocks = columns × rows

FileTools' pixelation engine then averages the RGBA values inside each block and writes that average colour across the block.

Block size is not a security threshold

A larger mosaic usually removes more visible detail, but no particular block size should be treated as a universal guarantee that text, faces or other information cannot be inferred. For credentials and secrets, use an opaque flattened redaction instead of relying on pixelation.