One radius is not one blur. A radius of 9 pixels applied to 11 readable files changed 62.392% of all pixels under Gaussian, 60.854% under box and 54.909% under median. The per-file share ran from 0.008% to 99.969%.
At the extremes, the median filter left the transparent logo almost untouched while Gaussian rewrote nearly every pixel of the 128 x 128 icon. Twelve files went in, eleven decoded, and 33 PNGs came out. Two independent runs wrote byte-identical files, both hashing to SHA-256 e545d354d6a63fad.
This page measures what one blur decision does to a folder of mixed files. For other one-in-one-out operations on the same twelve files, see the batch invert measurement, the batch grayscale measurement and the batch rotate measurement. For a rectangle applied across a folder, the batch crop measurement covers padding; for many files into one canvas, the batch merge measurement; for one file into many tiles, the batch split measurement; for one radius that changes corners rather than pixels, the batch round-corners measurement.
Twelve files, 20,934,926 bytes on disk and 63,016,384 pixels across the 11 that decoded. One radius, 9 pixels, was applied to every file through three filter families: Gaussian, box and median. Each file was written as a PNG in each family, 11 files times 3 filters = 33 outputs. Every output was reopened from disk and compared with the decoded input, pixel by pixel.
The library documents three different definitions behind one radius control. Gaussian radius is the standard deviation of the kernel. Box radius is the size of the box in one direction: radius 0 returns an identical image and radius 1 averages 9 pixels. Median size is the kernel size in pixels and must be odd, which is why the sweep uses 9. A separate article claims Pillow computes a Gaussian kernel of 2 times radius plus 1; the library documentation we read defines radius as a standard deviation and does not state that formula, so we did not use it as a measurement.
Applied to the same folder, the three definitions changed different numbers of pixels. Gaussian altered 39,317,126 pixels, box 38,348,295 and median 34,601,670, out of 63,016,384. Gaussian changed 1.136 times as many pixels as median across the batch.
| Filter | Pixels changed | Share of batch | PNG bytes | vs input bytes |
|---|---|---|---|---|
| Gaussian | 19,712,475 | 0.942 x | 39,317,126 | 62.392% |
| Box | 25,293,798 | 1.208 x | 38,348,295 | 60.854% |
| Median | 39,186,938 | 1.872 x | 34,601,670 | 54.909% |
Bytes are the sum of all 33 PNG files written to disk. The input total is 20,934,926 bytes. A filter that changes fewer pixels can still write more bytes: the median outputs totaled 39,186,938 bytes against 19,712,475 for Gaussian because blocky, flat patches compress differently from smooth gradients.
The same 9 pixel radius produces a different change rate on nearly every file. The table shows each file's native size, its pixel count, the share of pixels changed by each filter, and the Gaussian PNG size in bytes. One row is a failure, not a zero.
| File | Size | Pixels | Gaussian | Box | Median | Gaussian bytes |
|---|---|---|---|---|---|---|
| photo_landscape.jpg | 4000 x 3000 | 12,000,000 | 62.233% | 61.345% | 55.931% | 4,113,332 |
| photo_portrait.jpg | 3000 x 4000 | 12,000,000 | 62.222% | 61.283% | 56.012% | 4,081,332 |
| photo_square.png | 3000 x 3000 | 9,000,000 | 81.918% | 80.229% | 71.442% | 4,058,639 |
| duplicate_photo.jpg | 3000 x 4000 | 12,000,000 | 62.222% | 61.283% | 56.012% | 4,081,332 |
| exif_orient6.jpg | 2000 x 1500 | 3,000,000 | 66.071% | 63.742% | 57.319% | 1,104,463 |
| screenshot.webp | 1600 x 900 | 1,440,000 | 69.611% | 66.383% | 57.282% | 552,032 |
| logo_alpha.png | 1200 x 800 | 960,000 | 17.836% | 8.132% | 0.008% | 110,065 |
| gray_16bit.png | 800 x 600 | 480,000 | 4.019% | 1.871% | 0.091% | 4,098 |
| gray_8bit.jpg | 3000 x 4000 | 12,000,000 | 52.747% | 50.674% | 45.514% | 1,592,546 |
| animation.gif | 400 x 300 | 120,000 | 18.473% | 7.5% | 0.027% | 4,277 |
| small_icon.png | 128 x 128 | 16,384 | 99.969% | 80.835% | 65.704% | 10,359 |
| broken.jpg | failed to decode, skipped; no output | |||||
The two byte-identical portrait JPEGs produced byte-identical outputs under each filter, so their rows match. The 128 x 128 icon reached 99.969% under Gaussian; the transparent logo reached only 0.008% under median. Those two numbers are the ends of the range in this batch.
Holding the first 4000 x 3000 photo fixed and moving the Gaussian radius gives the shape of the control. At 0 pixels the output was identical: 0 pixels changed. At 1 pixel, 37.497% of the image changed. At 9 pixels it was 62.233%, and at 50 pixels 71.254%. The byte count falls as the radius rises, from 12,661,759 bytes at zero to 2,059,609 bytes at 50, because a smoother image compresses smaller.
| Radius | Pixels changed | Share | PNG bytes | Filter ms |
|---|---|---|---|---|
| 0 | 0 | 0.0% | 12,661,759 | 17.8 |
| 1 | 4,499,635 | 37.497% | 10,884,550 | 700.7 |
| 2 | 6,220,270 | 51.836% | 8,271,190 | 666.4 |
| 3 | 6,717,280 | 55.977% | 6,753,462 | 653.0 |
| 5 | 7,127,422 | 59.395% | 5,252,685 | 656.6 |
| 9 | 7,467,982 | 62.233% | 4,113,332 | 670.2 |
| 15 | 7,747,616 | 64.563% | 3,384,126 | 660.6 |
| 25 | 8,045,207 | 67.043% | 2,797,530 | 669.6 |
| 50 | 8,550,497 | 71.254% | 2,059,609 | 675.0 |
Timings are single measurements on one photo, not an average, and they are shown so the sweep is reproducible rather than to rank machines. The first non-zero radius in this sweep was 1.
The 1200 x 800 logo started with 607,580 fully transparent pixels and 2 distinct alpha values. Filtering changes that edge. Gaussian moved 80,996 formerly transparent pixels out of transparency and gave 220,600 of them a non-zero RGB value. Box moved 36,252. Median moved 0 and kept the alpha at 2 distinct values.
| Filter | Transparent before | Transparent after | Became solid | Got RGB value | Alpha levels |
|---|---|---|---|---|---|
| gaussian | 607,580 | 526,584 | 80,996 | 220,600 | 256 |
| box | 607,580 | 571,328 | 36,252 | 189,600 | 256 |
| median | 607,580 | 607,628 | 0 | 160,828 | 2 |
Three files carry state that a blur batch can quietly drop.
The twelfth file was a 1,200-byte truncated JPEG that failed with OSError: image file is truncated (2 bytes not processed). The run skipped it and kept going, producing 33 outputs rather than 36. The 11 readable inputs totaled 20,933,726 bytes; the 1,200 truncated file accounts for the difference from the 20,934,926 byte total.
Applying the three filters across the batch took 131,760.0 ms of measured filter time, and writing the 33 PNG files took 24,710.0 ms. The whole run, including a separate repeat pass, took 337,085.5 ms; median on the large photos dominates that figure. A second independent pass wrote 33 files, and both flat trees hashed to SHA-256 e545d354d6a63fad. The same input and setting produce the same bytes every time.
We did not measure stack, motion, radial, heavy radial or soften blur, percentage radii, region masks, face detection, a quality score, output as JPEG or WebP, resizing, or tag reinsertion. We did not use a second image library or a hardware accelerator. The interface caps quoted in section 1 are claims from public pages, not values from this run. All figures come from 11 local files, a single radius of 9 pixels and three filter families; a different radius or folder changes every percentage here.
Seven modes are advertised on one tool page: stack, Gaussian, motion, box, radial, heavy radial and soften. In the local run we measured three families that accept a single radius or size number from the image library: Gaussian, box and median. They are not the same operation. With a radius of 9 on 11 files, Gaussian changed 39,317,126 pixels, box 38,348,295 and median 34,601,670. The other four modes need a second control such as an angle, a centre or a blend strength, so one number cannot describe them.
The same number means three different things. The library documents Gaussian radius as the standard deviation of the kernel, box radius as the size of the box in one direction, and median size as the kernel size in pixels. We swept the Gaussian radius on one 4000 x 3000 photo: at 0 pixels 0 pixels changed, at 1 pixel radius 37.497% changed, and at 9 pixels 62.233% changed. Moving the number is not a linear step in blur.
Blur removes detail, but this run does not establish that it hides a face or plate. What it measures is pixel change: under a 9 pixel radius, Gaussian altered 62.392% of the 63,016,384 pixels, box 60.854%, median 54.909%. On the 128 x 128 icon Gaussian altered 99.969%, while on the 1200 x 800 transparent logo median altered only 0.008%. Whether that is enough for your subject is a judgement this measurement cannot make for you.
The largest local input decoded was 20,934,926 bytes across 12 files, and 11 of them were readable. One 1,200-byte truncated image failed with an OSError and produced no output. Public pages advertise their own caps, 15 MB on one and 25 MB on another; those are interface claims, not measurements from this run, and they are not the same as what a local batch can open.
No. Under a single 9 pixel radius the share of pixels changed ran from 0.008% on the transparent logo with the median filter to 99.969% on the 128 x 128 icon with Gaussian. Grouped across the batch, Gaussian changed 62.392%, box 60.854% and median 54.909% of all 63,016,384 pixels. The same number produces a barely visible change on one file and almost total change on another.
On the 1200 x 800 logo, 607,580 pixels started fully transparent. Gaussian left 80,996 of them no longer transparent and gave 220,600 of them a non-zero RGB value; box moved 36,252 and median moved 0. Alpha values went from 2 distinct levels to 256 under Gaussian and 256 under box, but stayed at 2 under median. If the output must keep a hard transparent edge, the filter choice matters more than the radius.
The 800 x 600 grayscale PNG held 65,536 distinct levels; after conversion for filtering the saved file carried 256, a 256-level ceiling. The GIF carried 6 frames and the converted copy carried 1. The orientation tag of 6 on the portrait JPEG survived the filter and read 6 on the output. Three file types, three different surprises from one batch.
Yes. Two independent full runs of all three filter families produced 33 PNG files each, and both flat trees hashed to SHA-256 e545d354d6a63fad. The first pass spent 131,760.0 ms applying filters and 24,710.0 ms writing files; the whole run including the separate repeat pass took 337,085.5 ms. Determinism is about bytes, not speed: the same setting writes the same file every time.
We did not measure stack, motion, radial, heavy radial or soften blur, because they need controls beyond a single radius. We did not measure percentage radii, region masks, face detection, a quality score, output as JPEG or WebP, or any change to image dimensions. All figures come from 11 local files, one radius of 9 pixels and three filter families. A different radius or folder changes every percentage here.
Related measurements on the same twelve files: what one rectangle does to a batch, what one split button does, what one combine button does, and what one corner radius does. For a single-file crop, the photo cropper measurement covers what is thrown away; the crop image page does the cut locally. Batch flipping is a different operation with its own page.
See all free image tools and measured guides