Siloshot

Transparent PNG Explained

What a transparent PNG is, how the alpha channel works, why JPG can't be transparent, and how to make and use transparent images.

Drop an image anywhere on this page. Processed on your device.

A transparent PNG is an image file where some pixels have no color at all: they're see-through. Put it on a red web page and the red shows through around the subject. Put it on a photo and the subject sits on top of the photo. That's what makes transparent PNGs the standard format for logos, product cutouts, stickers and anything layered over something else.

Pixels, color and alpha

Every digital image is a grid of pixels. In a normal photo, each pixel stores three numbers: how much red, green and blue light it has (RGB). A transparent image stores a fourth number per pixel, called alpha, for how opaque it is.

The set of alpha values for the whole image is called the alpha channel. Image editors often show it as a gray mask: white is solid, black is transparent, gray is partial.

Why partial transparency matters

Real edges are rarely perfectly sharp. Hair, fur, the soft edge of a slightly out-of-focus product, a wisp of smoke: these blend into the background over a few pixels. If every pixel had to be either fully solid or fully transparent, cutouts would look jagged and fake, like a paper doll cut with blunt scissors.

Partial alpha lets edge pixels be, say, 40% opaque. Put the cutout on a new background and those pixels blend smoothly into it. That's why a good transparent PNG of a person looks natural on any background, and a bad one shows a hard outline or a halo of the old background color.

PNG vs. JPG vs. others

FormatTransparencyCompressionBest for
PNGYes, full alphaLosslessCutouts, logos, graphics, screenshots
JPG/JPEGNoLossyPhotos with backgrounds
GIFOn/off only, no partialLossless, 256 colorsSimple animations
WebPYes, full alphaLossy or losslessWeb images, smaller files
SVGYesVector, not pixelsLogos and icons drawn as shapes
HEICFormat supports it; cameras rarely use itLossyiPhone photos

JPG can't store transparency. When you save a cutout as JPG, every transparent pixel is filled with a color, usually white or black. That's the most common reason a "transparent" image shows a white box. Renaming photo.jpg to photo.png doesn't help either: the file has no alpha data to begin with.

GIF's transparency is all-or-nothing. Each pixel is either fully transparent or fully solid, so soft edges come out jagged. Use PNG for still cutouts.

WebP supports full transparency with smaller files than PNG, and all modern browsers display it. Some older editing and printing tools still expect PNG.

SVG is a different kind of file. It describes shapes, not pixels, so it scales to any size. Logos are best as SVG when the original vector file exists. A photo cutout is pixels and belongs in PNG.

The checkerboard

Image editors show transparent areas as a gray-and-white checkerboard, because "nothing" is hard to display. The checkerboard is not part of the image.

This causes a common trap: sites offering "transparent PNG" downloads that actually have a checkerboard pattern baked into the pixels. The file looks transparent in a preview, then shows a checkerboard when you use it. If that happens, the image isn't transparent. Remove the background again to get real alpha.

How to make a transparent PNG

  1. Start with the best source you have: the original photo, not a screenshot or a compressed copy.
  2. Remove the background. In Siloshot, open or paste the image (Ctrl/Cmd+V). It's processed in your browser; nothing is uploaded.
  3. Check edges with the before/after slider, especially hair, fur and fine details.
  4. Download as PNG. Free downloads go up to 1024 px on the long edge; Pro keeps full resolution.

How to check that a PNG is really transparent

Using transparent PNGs

File size

Transparent PNGs are bigger than JPGs because PNG compression is lossless. A 1024 px product cutout is usually a few hundred kilobytes; a full-resolution one can be several megabytes. For websites, compress with a PNG optimizer or convert to WebP. For print, keep the full-size PNG.

Summary

A transparent PNG stores an alpha value per pixel, so parts of the image can be solid, invisible or anywhere in between. That partial transparency is what makes cutouts look natural. JPG can't hold it, GIF does it poorly, WebP and PNG do it well. Make transparent images from your best source, check the edges, and test them on a colored background before you use them.