Output quality

    Alpha channel

    Also called Transparency channel, Alpha transparency.

    An alpha channel is a fourth layer of image data, alongside red, green and blue, that records how transparent each pixel is — and whether a file keeps one depends entirely on its format, not on how good the cutout underneath it was.

    Background removal produces a matte: a per-pixel record of how much of each pixel belongs to the subject. An alpha channel is where that matte actually lives once the file is saved — a value per pixel running from fully see-through to fully opaque, stored alongside the colour rather than baked into it. A perfect matte written into a format with no alpha channel is not a worse cutout. It is not a cutout at all any more.

    This is a format question, not a quality setting, and providers do not agree on the answer. JPEG has no alpha plane structurally — it stores colour as blocks and a quality factor, with no fourth channel to hold transparency in at any setting. PNG and WebP do carry one. On video the same split exists: the ordinary delivery shape most generated clips arrive in, H.264 inside an MP4, has no alpha channel either, while a handful of formats — ProRes 4444, WebM with VP9 — were built to carry one.

    The consequence is a one-way door. Converting a file with a real alpha channel into a format without one does not degrade the transparency, it deletes it — the encoder has to put something in every formerly-transparent pixel, and once that file is saved there is no undo. The removal was correct; the export threw it away.

    In practice

    • Keep a cutout in PNG or WebP; converting either to JPEG fills every transparent pixel with a solid colour and cannot be reversed afterwards.
    • Standard H.264-in-MP4 video delivery does not carry alpha; a transparent video export needs a format built to hold one.
    • A transparent PNG re-opened and re-saved as JPEG anywhere in a pipeline is a one-way trip — the hole cannot be recovered from the JPEG.

    The mistake to avoid

    Assuming a 'high quality' export setting preserves transparency. Alpha is not a quality slider — a format either has a channel for it or it structurally does not, and no quality setting changes which one you picked.

    Go deeper

    JPEG conversion fills transparency with white, not black

    The browser converter paints transparent pixels white before writing JPEG because JPEG has no alpha; keep PNG or WebP to keep a hole.

    Where you will run into it

    Related terms

    The all-in-one AI studio for creators. 60+ models for video, image, voice, music and lipsync in a single app.