Image formats
Transparent backgrounds: what the file stores, and why it sometimes turns black
By the end you'll know which format to save a cutout in, why it can land on a black or white box, and when it's smarter to flatten the background yourself before you upload.
Why did my transparent PNG land on a black box?
You export a logo with no background, upload it to your Etsy shop, and it shows up sitting on a black rectangle. Nothing is wrong with the file. Etsy's help page spells it out: transparent PNGs aren't supported there, and whatever was transparent shows up black.
The same thing happens whenever an image with transparency is pushed somewhere that can't hold it. JPG is the usual suspect. It has no alpha channel, so whatever writes the JPG has to flatten the picture onto a solid color first, and every program picks its own:
- Web browsers: the HTML Standard tells them to composite onto opaque black when a canvas is exported to a format without alpha. A tool that exports through the canvas without painting a background first ends up with black.
- Photoshop Elements: Save for Web fills with white when no matte color is picked for a JPEG.
- LivreImage: paints the canvas white (#FFFFFF) before writing a JPG, PDF or BMP.
Pasting is the least predictable route: it depends on what the source app puts on the clipboard and what the receiving app can read. If a pasted cutout arrives on black or white, try inserting the saved file instead.
What the alpha channel actually stores
Next to red, green and blue, each pixel carries a fourth value, the alpha, that says how opaque it is. In the PNG specification an alpha of zero is fully transparent and the maximum (255 in an 8-bit channel) is fully opaque; everything in between is a partially transparent pixel. A red pixel with an alpha of 128 shows about half red and half whatever sits behind it.
Two details from that spec explain most surprises. First, the file defines the foreground and its transparency mask, but not the background; whatever displays the image supplies one. Second, a transparent pixel still has a color stored underneath. The spec expects that some readers won't fully support transparency, which is why it advises giving transparent pixels a reasonable background color. In a browser canvas the default empty pixel is transparent black (0, 0, 0, 0). Drop the alpha and black is what's left.
Which formats keep transparency, and which can't
Soft edges and fading shadows need partial transparency. Not every format gets that far.
| Format | Transparency | How it's stored |
|---|---|---|
| PNG | Partial | 8- or 16-bit alpha channel; palette PNGs use an alpha table with one value per color |
| WebP | Partial | Alpha channel, in both lossy and lossless modes |
| AVIF | Partial | Alpha channel |
| SVG | Partial | Vector: every shape has an opacity from 0 to 1 |
| ICO | Partial | A container of BMP or PNG images up to 256 × 256 px |
| GIF | On or off | One palette color is flagged as transparent; a pixel shows fully or not at all |
| JPG | None | No alpha channel |
| 24-bit BMP | None | Three bytes per pixel: blue, green, red |
GIF's on-or-off rule is why old logos and stickers have jagged rims. Per the GIMP manual, semi-transparent edge pixels are forced to fully visible or fully invisible, and the anti-aliasing is lost.
The halo around a cutout is leftover background
In the original photo, edge pixels are already a blend: part jacket, part sky. A cutout gives those pixels partial alpha, but the blended color stays. Adobe's Photoshop help describes the same effect: partially transparent edge pixels keep color from the original background, and it shows once the selection moves somewhere new.
Put numbers on it. A red jacket (200, 30, 40) against blue sky (90, 150, 230) makes an edge pixel of (145, 90, 135). At 50% alpha over white it displays as (200, 172, 195), a lilac tint that was never in the jacket. A quarter of the sky is still in that pixel.
LivreImage's background remover doesn't repaint edge colors: each pixel keeps its photo color and takes its alpha from the AI mask. Your lever is the Cutout level slider. Drag it right and the uncertain band gets more transparent, so the halo shrinks. Do it before downloading; once a new background is flattened in, edge and halo are the same pixels.
What transparency costs in file size
What editors label PNG-24 with transparency is, in the spec, truecolor with alpha: four 8-bit samples, 4 bytes per pixel. A 2,000 × 2,000 px image is 16,000,000 bytes before compression. A palette PNG (PNG-8) stores a 1-byte index per pixel instead: 4,000,000 bytes, plus a palette of up to 256 colors and its alpha table.
The catch with PNG-8 is that 256-color ceiling: fine for a logo or an icon, while a photo has to drop tones to fit. One more trap: the spec allows partial alpha for every palette entry, yet Adobe's Photoshop Elements help describes PNG-8 as one-level transparency, like GIF. What you get depends on the exporter.
WebP is the shortcut. Google reports lossless WebP files 26% smaller than PNG, and says lossy WebP, which also carries alpha, is typically 3 times smaller than PNG. In its study of 12,000 PNGs crawled from the web, lossless WebP compressed 23% better than PNGs already optimized with ZopfliPNG.
LivreImage writes PNG through the browser's encoder: lossless, with no reduced-palette option. To cut weight and keep the alpha, use PNG to WebP or lower the pixel dimensions.
Where to flatten before you upload: marketplaces, email, print
Transparency only works when the destination knows what to put behind the image. These three often don't.
| Marketplace | What the official page says | What to upload |
|---|---|---|
| Amazon (main image) | Pure white background, RGB 255, 255, 255. Accepts JPEG, TIFF, PNG and non-animated GIF; JPEG is recommended | JPG or PNG already flattened on white |
| Etsy | Accepts .jpg, .gif, .png, .svg and .heic, but transparent PNGs aren't supported and transparent areas appear black | An image flattened on the color you choose |
| eBay | The picture policy sets no background rule; the photo tips call white generally best. Accepts JPEG, PNG, GIF, TIFF, BMP, WEBP, HEIC and AVIF, at least 500 px on the longest side | White or neutral background, flattened |
The background belongs to the reader's mail app. In dark mode, Outlook swaps the white message background for black, so a transparent logo with dark lettering can vanish. WebP is risky too: the Can I email tables list it as not supported in Outlook for Windows (2007 to 2019) and as converted to JPG by Gmail, while PNG has no unsupported entry at all.
Adobe notes that artwork with transparency usually has to be flattened on its way to print. Garment printing is the reverse case: Printful suggests a PNG with a transparent background, yet warns that semi-transparent pixels print poorly and let the white base show through. The soft edge of a cutout is made of exactly those pixels.
Marketplace rules change. Before redoing a whole catalog, open the official page listed under Sources.
How LivreImage handles transparency, tool by tool
The general rule, in tools that run in your browser: formats with alpha keep the transparency, formats without it get white.
| What you do | What you get |
|---|---|
| Remove background, set to Transparent | PNG with an alpha channel, up to 2,048 px on the longest side |
| Remove background, set to White or Color | Opaque PNG, already flattened on that color |
| Pick PNG or WebP | Transparency kept |
| Pick JPG, PDF or BMP, as on PNG to JPG | Transparent areas turn white (#FFFFFF) |
| Leave the format on Auto | PNG and WebP keep their format; GIF and SVG come out as PNG; everything else becomes a JPG on white |
| Circle crop | PNG with transparent corners, even if you click JPG |
| Make an ICO | A PNG inside the ICO, alpha included, up to 256 px |
Two exceptions
- The compress-to-a-target pages (100 KB, 200 KB and the rest) open on JPG: switch the format to WebP before generating if the background has to stay transparent.
- A format your browser can't write gets a stand-in. Without WebP, the output falls back to PNG and the transparency survives. AVIF is not written by LivreImage today: the option only appears when the browser reports that it can encode the format, and in our tests of September 2026 Chrome could not.
Tools to put it into practice
Frequently asked questions
Is the gray-and-white checkerboard part of my image?
No. It is how editors preview empty areas; GIMP even lets you swap it for solid black, white or gray in its preferences. LivreImage draws it on the page behind the preview, not in the file. If the squares still show when you place the image on a colored background, they were painted into the pixels and the file has no transparency.
Can I get transparency back by converting a JPG to PNG?
No. A JPG's background is made of solid pixels, and converting only changes the file format. The subject has to be separated from the background again, which is the background remover's job.
Is the background I removed still hidden inside the PNG?
In our test on September 28, 2026, in a Chromium 152 browser, fully transparent pixels were written as transparent black (0, 0, 0, 0), with none of the old background color. Only the semi-transparent edge band keeps blended color. That comes from the browser's encoder, so other browsers may differ.
Can a favicon (.ico) have a transparent background?
Yes. ICO is a container for BMP or PNG images, and LivreImage writes a PNG with an alpha channel inside it, up to 256 px.
Is a transparent WebP accepted everywhere?
No. Amazon's supported formats are JPEG, TIFF, PNG and GIF, Etsy's list has no WebP either, and Outlook for Windows is marked as not supporting it in the Can I email tables. Use WebP on your own site; use PNG or JPG for listings and email.
Sources
Official documents and technical references consulted for this guide.
- Portable Network Graphics (PNG) Specification (Third Edition) — W3C (accessed September 28, 2026)
- Image file type and format guide — MDN Web Docs (Mozilla) (accessed September 28, 2026)
- opacity — SVG attribute reference — MDN Web Docs (Mozilla) (accessed September 28, 2026)
- HTML Standard — 4.12.5 The canvas element (Serializing bitmaps to a file; Premultiplied alpha) — WHATWG (accessed September 28, 2026)
- Graphics Interchange Format, Version 89a — CompuServe (copy hosted by W3C) (accessed September 28, 2026)
- BITMAPV4HEADER structure (wingdi.h) — Microsoft Learn (accessed September 28, 2026)
- An image format for the Web (WebP) — Google for Developers (accessed September 28, 2026)
- Lossless and Transparency Encoding in WebP — Google for Developers (accessed September 28, 2026)
- Fringe pixels around a selection — Adobe — Photoshop Help (accessed September 28, 2026)
- Use transparency and mattes — Adobe — Photoshop Elements Help (accessed September 28, 2026)
- Print and save transparent artwork — Adobe — Illustrator Help (accessed September 28, 2026)
- Semi-Flatten (web filters) — GIMP 3.0 manual (accessed September 28, 2026)
- Display (preferences: transparency check style) — GIMP 3.0 manual (accessed September 28, 2026)
- Product image guide — Amazon Seller Central (United States) (accessed September 28, 2026)
- Requirements and Best Practices for Images in Your Etsy Shop — Etsy Help (accessed September 28, 2026)
- Picture policy — eBay Customer Service (accessed September 28, 2026)
- Adding pictures to your listings — eBay Customer Service (accessed September 28, 2026)
- Dark Mode in Outlook — Microsoft Support (accessed September 28, 2026)
- WebP image format — Can I email (accessed September 28, 2026)
- PNG image format — Can I email (accessed September 28, 2026)
- Create the perfect DTG file — Printful (accessed September 28, 2026)
- Transparency in DTG Printing — Printful (accessed September 28, 2026)
Found a mistake or something out of date? Tell us through the contact form