‹ Journal

Artificial identities · Lyfera · 2026-11-23

Why a transparent AI image still has a black background

Distinguish a viewer’s background from opaque pixels, a painted checkerboard and transparency lost during export before changing an approved AI portrait.

Haruto Morita holds the edge of a blue translucent curtain in front of a charcoal wall with pale rectangular outlines.

If an AI image saved as a transparent PNG appears on a black or white rectangle, reopen the downloaded file in an editor and place a coloured layer underneath it. Move the image or change the lower layer's colour. If the surrounding area reveals that lower layer, transparency is working in this copy. If a rectangle or checkerboard remains attached to the picture, inspect the file's transparency information and its visible layers before asking a generator to remake the subject.

There are several different problems behind a similar preview: an opaque background in the image, transparency lost during export or conversion, and a viewer displaying transparent pixels against its own chosen colour. The useful first question is where the rectangle begins. Correcting the wrong stage can waste a good portrait or change an identity that needed no revision.

Separate the picture from the viewer's background

The W3C PNG specification describes transparency separately from the colour samples of an image. An alpha value expresses opacity: zero is fully transparent, while the maximum value is fully opaque. PNG can represent transparency through a full alpha channel or other transparency information, depending on its colour type. The extension alone does not tell you whether any part of a particular file is transparent.

A viewer must still put something behind those transparent areas to display them. That may be white, black, a checkerboard or the page underneath. Seeing black in one preview therefore does not establish that black pixels have replaced the background. Open the actual file in another application that supports transparency, or use an editor with a deliberately coloured layer underneath. Compare the same file rather than a screenshot or a newly downloaded preview.

Imagine preparing a portrait of Lyfera talent Haruto Morita for a programme cover. The surrounding area looks black in a file browser but shows the cover's blue paper when placed in the layout. In that hypothetical case, there is no black rectangle to remove from the portrait. The preview and the layout are simply supplying different backgrounds. The right action is to verify the final placement and preserve the usable master.

Check whether the checkerboard is actually in the image

An editor often uses a checkerboard to represent transparency. A generated picture can also contain an ordinary pattern of grey and white squares. The two can look similar in a small preview, but only one lets a lower layer show through. Change the lower layer to a distinctive solid colour. If the squares keep their colours and move with the image, they belong to the picture in that copy.

Zooming in may reveal a painted pattern, but the layer test is more decisive than judging its appearance. A very clean checkerboard can still be opaque. Equally, a rough-looking transparent edge may have valid opacity values and need a separate local cleanup. The presence of an alpha channel is not enough either: a channel whose values are all fully opaque leaves no transparent area.

If the unwanted background is baked into the file, use the original master and an editable mask where possible. Preserve the approved face, cranial structure, body and clothing while isolating the background. A broad instruction to regenerate the portrait introduces a much larger creative change than the file problem requires. The appropriate background-removal controls depend on the editor and source image; there is no prompt that proves the resulting download contains transparency.

An imagined study with Haruto Morita. Visible translucency is a material effect; this photograph does not demonstrate an alpha-channel export. — Lyfera

Find the export that changed the result

Keep the editable master open and reopen the exported copy as a separate document. Put a coloured layer below each. If the master reveals the lower layer and the export does not, inspect the export format and pixel settings. GIMP's PNG export documentation distinguishes RGB or grayscale output with and without an alpha channel. In a workflow that offers RGBA, the A denotes the alpha component; exporting RGB without transparency information can lose what was visible in the editor.

GIMP's transparency guide also separates adding an alpha channel from removing background layers. Adding the capacity to store opacity does not decide which pixels should become transparent. A solid layer behind the subject can still fill the exported rectangle even when the foreground layer has a carefully made mask. Hide only the background intended to be absent and check that the subject remains complete before exporting a new copy.

Then follow the actual delivery path. A download, an attachment, a pasted clipboard image and a platform-generated thumbnail may be different files. If a local export works and an uploaded rendition does not, inspect the rendition the destination actually serves, where it can be downloaded normally. Compare its transparency in an editor. A change of format or a destination that flattens the image may explain the difference; do not assume a particular website does either without checking.

Keep transparency and edge quality separate

Once the lower layer shows through, inspect the transition around the subject. A pale rim around dark hair or clothing is a different question from an opaque rectangle. It may remain visible because edge colours still carry information from the previous background. The Journal's guide to hair halos after AI background removal develops that local problem. It is worth reaching that diagnosis before shrinking a mask until the outline loses detail.

For the imagined Haruto layout, a clean shoulder silhouette and the openings between the fingers matter to recognition and contact. Turning every partly transparent pixel into a hard cutout could simplify those boundaries while making thin fabric or a soft edge look wrong. Review the composite against the intended page, then against a contrasting temporary background that makes mistakes easier to find.

The accompanying photographs use solid and translucent materials to give those differences a visible setting. They are imagined editorial scenes featuring Haruto, not screenshots of a removal tool, before-and-after tests or evidence that the photographs themselves contain an alpha channel. Physical fabric transmitting light and an exported file storing opacity are different mechanisms.

Deliver the copy that passed the placement check

For a reusable cutout, retain the editable master and a verified export that preserves the required transparency. If the destination requires a flattened image, make a separate copy against the intended final background rather than replacing the cutout master. Reopen that delivery file, check the whole head, hands and garment, and place it in the actual layout at the intended size.

This protects the same visual identity discussed in keeping an AI talent recognisable across images. A file-handling fault should not become a reason to redesign the talent. Once you know which copy still carries usable transparency and which stage introduced the visible rectangle, the repair can stay limited to that stage.

Refusing optional tools does not limit access to Lyfera. Google Tag Manager loads only after optional consent.

Your choice is saved for six calendar months. New purposes or material changes require a new choice. Read more.