# PNG transparency & format benchmark 2026

Open dataset by Rocco Bombardieri. Page: https://triim.ca/research/png-transparency-benchmark-2026

## Files

| File | Contents |
| --- | --- |
| `results.csv` | One row per icon x condition (encoded file size in bytes). |
| `summary.json` | Aggregates (median, mean, p90, p99, min, max), environment versions and exact encoder settings. |

## results.csv columns

| Column | Meaning |
| --- | --- |
| `slug` | simple-icons slug of the icon (the unit of observation). |
| `experiment` | `padding`, `format` or `dimension`. |
| `encoder` | `png_default` (sharp defaults), `png_palette` (`palette: true, compressionLevel: 9`), `webp_lossless`, `webp_q80` (lossy, quality 80), `avif_q50` (quality 50). |
| `padding_pct` | Transparent padding added on EACH side, as a percent of the 512 px content size (0, 10, 25, 50, 100). |
| `content_px` | Size the SVG was rasterised at before padding (256, 512 or 1024). |
| `width`, `height` | Pixel dimensions of the encoded image (content plus padding). |
| `bytes` | Encoded file size in bytes. |

Row layout: `padding` rows hold PNG default and PNG palette at all five padding levels (the 0% rows are also the PNG baselines for the format comparison). `format` rows hold WebP lossless, WebP q80 and AVIF q50 at 512 px and 0% padding. `dimension` rows hold PNG default at 256 and 1024 px (the 512 px value is the 0% padding row).

## Method summary

Corpus: every icon in the simple-icons package (CC0 SVG). Each SVG is given `fill="#000000"` and rasterised to RGBA by sharp/libvips, then padded with fully transparent pixels and encoded. Trim round-trips are verified by pixel comparison and reported in `summary.json` (`trim`). Full method, limitations and reproduction steps: the page above and `scripts/research/README.md` in the repository (https://github.com/RoccoBMB/Triim).

## License

Data (CSV, JSON): Creative Commons Attribution 4.0 International (CC BY 4.0), https://creativecommons.org/licenses/by/4.0/. Please credit "Rocco Bombardieri, Triim" and link to the page above.

The source SVG artwork is not redistributed. It comes from simple-icons (CC0); individual logos may be trademarks of their owners.

## Cite

Bombardieri, R. (2026). PNG transparency & format benchmark 2026. Triim. https://triim.ca/research/png-transparency-benchmark-2026
