EditSafely

Generate Alpha Channel Histogram

Chart the transparency levels in a PNG and count the fully transparent, semi-transparent and opaque pixels.

Runs on your device, nothing uploaded

Drop an image anywhere on this page

or paste with Ctrl / ⌘ + V ·

Accepts PNG

Your PNG files never leave this tab

Generate Alpha Channel Histogram is JavaScript that your browser has already downloaded, and it does the whole job on your own machine. On a normal site, 200 photos straight off a camera means 1.6 GB uploaded, a wait in somebody's queue, and 240 MB downloaded again. Here it means 0 bytes up and 0 bytes down.

  • No upload
  • No file size limit
  • Works offline once loaded
  • Nothing stored or logged

How to use Generate Alpha Channel Histogram

  1. 1. Add the PNG. Drop a PNG file. The alpha values are read straight from the file in your browser, so semi-transparent pixels keep their exact opacity.
  2. 2. Read the chart. Fully transparent pixels sit at 0 on the left, fully opaque ones at 255 on the right. The logarithmic scale is on hand because those two ends usually dwarf everything in between.
  3. 3. Check the counts. The counts of fully transparent, semi-transparent and opaque pixels show at a glance whether the edges are anti-aliased or hard.

When to use Generate Alpha Channel Histogram

Generate Alpha Channel Histogram charts how transparent the pixels of a PNG are. Every pixel counts here, including invisible ones. Pixels between the two ends are the semi-transparent ones: soft edges, shadows and glows, which are what turn into fringes and halos when a cutout lands on a new background.

  • Checking a cutout for soft edges. A clean cutout with smooth edges shows a thin spread of values between 0 and 255. None at all means hard, jagged edges; a lot means a soft, possibly blurry matte.
  • Finding stray semi-transparent pixels. Background removers often leave faint pixels across the whole canvas; a bump near 0 reveals them before they show up as a haze on a dark page.
  • Confirming an image is really opaque. If every pixel sits at 255 the alpha channel carries no information and can be removed to make the file smaller.

Examples

Chart the alpha channel

Input

image.png

Output

A 256-bar opacity chart plus transparent, semi-transparent and opaque counts

About the Generate Alpha Channel Histogram tool

Generate Alpha Channel Histogram is a free online tool that works entirely inside your web browser. Chart the transparency levels in a PNG and count the fully transparent, semi-transparent and opaque pixels. Because the processing happens on your own device, nothing you enter is uploaded, logged or stored anywhere.

This page is one of 292 PNG utilities on EditSafely. Each one does a single job well, and all of them follow the same rule: your input stays on your machine.

You can shape the output with the Height scale setting; the result is redone automatically when you change one. A worked example further down the page shows exactly what the tool produces for a real input.

Because nothing leaves your device, the tool is suitable for sensitive images such as ID scans, screenshots of internal systems or personal photos. It is also quick, since the pixels are processed on your own machine rather than by a remote API.

Frequently asked questions

Does Generate Alpha Channel Histogram cost anything?

Yes, it is completely free. All 2,943 tools on EditSafely work without an account, a subscription or usage limits.

Are my files uploaded to a server?

No data leaves your device. The whole tool is JavaScript that runs inside your browser tab, so there is no upload, no server-side processing and no log of what you did. If you disconnect from the internet after the page loads, it keeps working.

Which files does Generate Alpha Channel Histogram accept?

It accepts PNG images. There is no file size cap imposed by a server; very large files are limited only by your device's memory.

Do I need to sign up or install anything?

Nothing to install and no account needed. Open the page in any up-to-date browser, including on a phone or tablet, and the tool is ready.

Can I save what the tool produces?

Yes. Use the download or copy controls in the output panel to keep the rendered result once it looks the way you want.

Related tools

All PNG Tools →