Skip to content
UniKit

PNG inspector

Decode a PNG for real and map its transparency: fully and semi-transparent pixels, opaque bounds, colour count, chunk structure, text chunks and pHYs density.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

The PNG is decoded and analysed locally in your browser and never uploaded.

Pick a PNG and its size, DPI, chunk structure and transparent-pixel statistics appear right away.

PNG details

Pick a PNG and its size, chunks, DPI and transparent-pixel statistics appear here.

What this tool does

  • Inspect transparency: see exactly which region is transparent and how large the margins are from the bounds box and pixel counts.
  • Spot feathering: a non-zero semi-transparent count means gradients or shadows are present, so switching the background will not create hard edges.
  • Check DPI: the pHYs chunk is read and converted to DPI so you can confirm the print resolution was written correctly.
  • Read the chunk list: IHDR / IDAT / IEND and friends reveal whether extra tEXt or eXIf metadata sneaked in.

Example

Input

A 4 × 4 PNG with two fully transparent left columns and one semi-transparent pixel in the top-right

Output

File: logo.png
Size: 4 × 4
Bytes: 79
DPI: n/a
Chunks: IHDR IDAT IEND
Pixels: 16
Opaque: 7
Transparent: 8 (50%)
Semi-transparent: 1
Colors: 3
Bounds: 2,0 2×4

The numbers come from real decoding: the PNG is restored to RGBA through all five row filters, classified per pixel by alpha and the minimum bounding rectangle of the opaque area is computed. Field names in the report stay in the PNG vocabulary (Size, Transparent, Bounds…) so they line up with tools like pngcheck.

Frequently asked questions

Why do some PNGs report no transparent pixels?

If the file has no alpha channel (color type 0 grayscale or 2 truecolour) every pixel alpha is 255, so the result is "no transparency". That reflects the file, not a parse failure.

Does it support 16-bit or palette PNGs?

The decoder supports 8-bit grayscale, truecolour and truecolour-with-alpha (color type 6, 2, 0). 16-bit and palette (color type 3) are reported as unsupported instead of returning wrong numbers.

How do I use the per-row transparency profile?

It compresses the transparent pixel count per row into a single line of blocks (█ where transparency exists), so you can instantly see whether transparency sits at the top, bottom or sides.

Are images uploaded?

No. Parsing, statistics and report generation all run in your browser; the image never leaves your machine.

Keywords:img-pngpng inspectorpng alpha

Related tools