Skip to the content
Moovly
Menu

How to Use Images with a Transparent Background in Videos, Slides and Web Pages

A logo, a product or a person sits cleanly on any scene only when the picture's background is really transparent. Here is how that works, which files keep it and how to make one.

Updated by Moovly Team,

Key takeaways

  • Save cut-out pictures as PNG, WebP or AVIF and logos as SVG; a JPEG cannot keep a transparent background.
  • Test every transparent picture over a light, a dark and a colored background before you use it.
  • Choose the removal method by the background: remove one color when it is flat and even, use automatic subject selection when it is busy.
  • Ask for a logo as SVG, in a dark and a light version, instead of cutting it out of a screenshot.
  • Check the license of every picture you did not make; a transparent background says nothing about the right to use it.

Images with a transparent background let you place a logo, a product or a person on top of a video scene, a slide or a web page without a white box around it. This guide explains what transparency is, which file formats keep it and which lose it, how to check a file, how to remove a background yourself, and how to fix the edge problems that show up afterward.

What a transparent background is

Every picture file made of pixels is a rectangle. A photo of a mug on a white table is a rectangle of mug and table, and when you lay it over a blue scene the table comes with it.

A transparent picture stores one more value per pixel next to its red, green and blue: alpha. In the words of the PNG specification, the alpha sample determines a pixel's degree of opacity. An alpha of zero means the pixel is fully transparent, the highest value means fully opaque, and the values between are partly transparent. Together these values form the alpha channel, which the GIMP manual describes as a grayscale image of the same size as the layer, representing its transparency.

The in-between values do the fine work. A curved edge, a strand of hair or a soft shadow is made of pixels that are partly subject and partly see-through. With them, the mug blends into whatever lies behind it. Without them, it looks cut out with scissors.

This matters wherever one picture sits on another:

  • In a video, a logo in the corner, a product over a colored scene or a presenter over a slide.
  • On a slide, where the slide's background color can change with the template. Background color is a choice of its own; see color psychology in a video presentation.
  • On a web page, where the same logo may sit on a light header and a dark footer.

Which file formats keep transparency

The format decides whether the alpha channel survives the save.

Format Transparency Use it for
PNG Full alpha transparency, lossless Cut-outs, screenshots, logos when no vector file exists
WebP Transparency supported Cut-outs on web pages
AVIF Alpha channel supported Cut-outs on web pages, with a fallback
SVG No background unless one is drawn Logos, icons, diagrams
GIF One palette color fully transparent, nothing in between Avoid for cut-outs
JPEG No alpha channel Photos that fill their rectangle

PNG is the safe default. MDN describes it as lossless with full alpha transparency support, and calls it the fallback for any image that needs transparency.

WebP and AVIF make smaller files for web pages. Google, which develops WebP, says that WebP lossless images are 26% smaller in size compared to PNGs; that is the format maker's own figure. MDN advises to prefer WebP or AVIF for raster images and, for AVIF, to provide a fallback in another format because support has little historical depth. Check that the program you will place the picture in opens these formats before you choose them; PNG is the one to fall back on.

SVG is not a pixel format. It describes shapes, and MDN notes that SVG images can be rendered at any size without loss of quality. A logo saved as SVG holds only the shapes that were drawn, so there is nothing to cut out and no edge to go soft when it is enlarged.

GIF can mark one color as transparent, but a pixel is either fully visible or fully transparent. Adobe's help for Photoshop Elements explains the result when a GIF or PNG-8 file is saved with what it calls hard-edged transparency: pixels more than 50% transparent become fully transparent and the rest fully opaque, which can cause jagged edges.

JPEG cannot store transparency. When you save a cut-out as JPEG, the editor fills the empty area with a solid color. In Photoshop Elements that fill is called a matte, and white is used when no matte color is chosen.

Video files

Video can carry an alpha channel too, in a few formats:

  • WebM with VP8 or VP9. MDN states that VP8 allows video with an alpha channel where the browser supports it, and that Safari does not support alpha transparency in VP8 or VP9 video.
  • HEVC with alpha. Apple added an alpha channel to HEVC video; the session page says playback is supported in iOS 13, tvOS 13 and macOS Catalina, including Safari. A player that does not understand the alpha layer shows only the base video, without transparency.
  • Apple ProRes 4444, which Apple describes as made for 4:4:4:4 image sources, including alpha channels. The same Apple session calls such professional formats too high in data rate for delivery, so this is a format for passing material between editing programs.

MDN's codec guide mentions an alpha channel only in its sections on VP8 and VP9; its section on AVC (H.264), the codec of an ordinary MP4 file, says nothing about one. That is the guide's silence, not a rule. Our advice: treat an H.264 MP4 as a full, opaque rectangle. For a finished video that is no obstacle: you layer the transparent picture inside the video editor, and the editor exports the result flat.

How to tell whether an image is really transparent

Image editors commonly show transparent areas as a checkerboard; that part is general practice. In GIMP, the checks in the background represent the transparent region of the exported image. As that sentence says, the checks are there while you work; they are a display aid, not part of the exported picture.

A picture offered as "transparent PNG" can also have a checkerboard painted into the picture itself. Then the squares are ordinary gray and white pixels, and the file is as solid as any photo. Three checks, in order of effort:

  1. Look at the file type. A .jpg cannot be transparent. A .png can be, but need not be.
  2. Place it over a strong color. Drop the picture on a red slide or a colored scene. A white box or a checkerboard that travels with the picture means there is no transparency.
  3. Open it in an image editor and look for the alpha channel. In GIMP, the Channels dialog shows an entry named Alpha next to Red, Green and Blue when the image has one.

How to get a transparent image

Ask for the right file

For a logo, ask the designer or the brand owner for the SVG, or for a PNG exported with transparency. A logo copied from a website header or cut out of a screenshot starts with too few pixels and with a background baked in.

Export with transparency switched on

When you made the artwork yourself, the background only has to stay empty on export. Hide or delete the background layer, choose PNG, and check the transparency option in the export dialog if there is one. In Photoshop Elements, the Save For Web dialog has a Transparency checkbox for GIF and PNG. In GIMP, the manual says you must have an alpha channel to export with transparency.

Remove the background yourself

There are three methods, and the background you start with decides which one fits. The table is our summary of practice, not a test result.

Method Works well when Weak at
Remove one color The background is one flat, evenly lit color: white paper, a green wall Subjects that contain the same color; uneven light, shadows and gradients
Automatic subject selection The background is busy and the subject is clearly separate Fine hair, glass, subjects that blend into the background
Green screen when filming You control the shoot and need moving footage Green clothing or props; a creased or unevenly lit screen

Removing one color. You click the background color and the editor selects every pixel close to it. GIMP's Select by Color tool picks all pixels sufficiently similar in color, regardless of where they are located, while its magic wand picks only the connected area and, the manual says, often works very well for selecting a solid-colored background. A threshold or tolerance setting decides how far a color may differ and still be selected. The catch is that the tool knows colors, not objects: a white shirt in front of a white wall goes with the wall. For this single-color method, see Color Remover.

Automatic subject selection. Here the software looks for the object instead of a color. This is the kind of tool marketed as an AI background remover. Photoshop's Object Selection tool can automatically detect and select the object or region in the image, and an iPhone can isolate the subject of a photo from its background so that you can copy or share it. It is meant for backgrounds that are not one flat color. Zoom in and check the edge before you trust the result.

A green screen when filming. For video, you film in front of one even color and remove that color afterward. Apple's iMovie help gives the basic rule: if the subject is green or is wearing green, record in front of a blue background. For iMovie on a Mac, the same page lists a Softness control for the transition and a Clean-Up button for masking parts of the clip.

Common problems and how to fix them

A white or colored fringe. Edge pixels of the original are a blend of subject and old background. Move the cut-out to a different background and that blend shows as a thin outline. Adobe describes it as the halo effect you see when you place an anti-aliased image on a background that differs from the image background. Fixes from practice: shrink the selection by a pixel or two before deleting, or use a tool that removes the old color from the edge pixels too. GIMP's Color to Alpha filter, for one, changes the transparency and the color of pixels based on their distance from the selected color.

Jagged edges. The edge has lost its partly transparent pixels, either because the file went through GIF or PNG-8 or because the selection had hard edges. Our suggestion: export again as full PNG, and turn on anti-aliasing or a small feather; the GIMP manual defines feathering as a smooth transition between a region and the background.

Soft shadows lost. A shadow under a product is partly background, so a hard color selection deletes it or leaves a gray smear. Our suggestion: remove the shadow completely and add a new, soft one in the program where you build the scene, so that it matches the new background.

Hair and glass. Both are partly see-through in real life, which makes them the hardest edges for any method. Practice, not a rule: photograph against a background that contrasts with the hair, check the edge at full zoom, and choose a new background close in tone to the old one so that what remains is less visible.

A logo that disappears on a dark background. A black logo with a transparent background vanishes on a dark scene. Ask for a light version of the logo too, and test both. W3C notes that logo images with text are exempt from some accessibility requirements, such as minimum contrast, but the viewer still has to see the logo.

File size. A large PNG photo cut-out can be heavy. Crop away the empty transparent area around the subject, scale the picture to the largest size you will show it at, and for web pages convert it to WebP or AVIF.

Using a transparent image in a video

Put the picture on a layer above the scene in your editor. A few points from practice, not rules, keep it clean:

  • Size. Prepare the picture at least as large as it will appear in the frame. Enlarging a small pixel image softens its edges; an SVG avoids this where the editor accepts it.
  • Background contrast. Look at the picture over the actual scene, including the brightest and the darkest moment if the scene moves.
  • Margins. Our suggestion: leave space between the picture and the edge of the frame, and check the result on a phone, where the app's own buttons and captions may sit over the edges of the video.
  • Movement. When the picture moves or fades in, a fringe that was invisible on a still frame can start to flicker. Fix the edge before you animate.

For the wider job of building scenes and exporting, see the steps in how to make your own cartoon video and the export checks in how to make an explainer animation video. For the kinds of product video a small shop can make itself, see why ecommerce entrepreneurs should use video. Cut-outs work on slides in the same way, which is one route to going beyond PowerPoint in your next presentation.

Using a transparent image on a web page

Format. Use SVG for logos and icons where you have it; MDN advises to prioritize the SVG version of icons whenever possible. For cut-out photos, serve WebP or AVIF with a PNG fallback through the picture element, as the same guide describes.

Size. Export the picture at the size the layout shows it, not at the size of the original photo.

Alt text. A transparent background changes nothing about the need for a text alternative. W3C's decision tree says that when an image contains text that is not present otherwise, you should use the alt attribute to include the text of the image, and that a purely decorative image gets an empty alt attribute. A logo that is the only content of a link names the destination: W3C's example uses the text alternative "W3C home" for its logo linking to the home page.

Rights: a transparent file is not a free file

Searching for "transparent PNG" returns many cut-out pictures of products, people, characters and logos. The missing background says nothing about who owns the picture or whether you may use it. A company's logo stays that company's property, and a cut-out photo still has a photographer.

Use your own pictures, pictures the owner has given you, or library pictures whose license terms you have checked at the source. Our guide to creating free animations sets out what the main free asset libraries allow and how to read their licenses. This section is general information and not legal advice.

Questions and answers

Which image formats support a transparent background?
PNG, WebP and AVIF can store an alpha channel with partial transparency, and SVG logos have no background unless one is drawn. GIF can only switch a pixel fully on or off, and JPEG has no alpha channel at all.
Why does my transparent PNG show a gray and white checkerboard?
Image editors such as GIMP draw a checkerboard behind transparent areas while you work. If the squares are still there when you place the picture over a colored background, they are part of the picture and the file is not transparent.
Can a JPEG have a transparent background?
No. MDN's image format guide states that JPEG has no alpha channel. Saving a cut-out as JPEG fills the transparent area with a solid color, so export it as PNG, WebP or AVIF instead.
Can a video have a transparent background?
Some formats can. MDN says VP8 and VP9 video can carry an alpha channel where the browser supports it, and that Safari does not; Apple added an alpha channel to HEVC for its own platforms. MDN's guide mentions no alpha channel for H.264, the video of an ordinary MP4.
Are transparent PNG files from an image search free to use?
Not because of the file type. Transparency is a technical property; the right to use a picture comes from its license or from its owner. Use your own pictures, or pictures whose license terms you have checked at the source.

Sources

The facts and figures above come from these pages, each opened and read for this update. The year after each one is the year of its data or its last update.

  1. Portable Network Graphics (PNG) Specification (Third Edition). World Wide Web Consortium (W3C), 2025. The PNG format's own specification, a W3C Recommendation.
  2. Image file type and format guide. MDN Web Docs (Mozilla), 2026. Reference documentation for web developers, last modified November 5, 2026.
  3. Web video codec guide. MDN Web Docs (Mozilla), 2026. Reference documentation for web developers on video codecs in browsers.
  4. SVG: Scalable Vector Graphics. MDN Web Docs (Mozilla), 2026. Reference documentation for web developers on the SVG format.
  5. WebP: Frequently Asked Questions. Google for Developers, 2026. The format's own documentation, published by the company that develops WebP.
  6. Use transparency and mattes in Photoshop Elements. Adobe, 2022. A software company's own help page for its image editor, last updated January 12, 2022.
  7. Use the Object Selection tool. Adobe, 2026. A software company's own help page for Photoshop, last updated February 23, 2026.
  8. GIMP User Manual: Glossary. The GIMP Documentation Team, 2026. The manual of a free and open-source image editor, version 3.0.
  9. GIMP User Manual: Saving Images with Transparency. The GIMP Documentation Team, 2026. The manual of a free and open-source image editor, version 3.0.
  10. GIMP User Manual: Select By Color. The GIMP Documentation Team, 2026. The manual of a free and open-source image editor, version 3.0.
  11. GIMP User Manual: Fuzzy Selection (Magic Wand). The GIMP Documentation Team, 2026. The manual of a free and open-source image editor, version 3.0.
  12. GIMP User Manual: Color to Alpha. The GIMP Documentation Team, 2026. The manual of a free and open-source image editor, version 3.0.
  13. Lift a subject from the photo or video background on iPhone. Apple, 2026. A page of Apple's own iPhone User Guide.
  14. Use green-screen in iMovie to add a background to a clip. Apple, 2026. Apple's own support page for its video editor, published May 27, 2026.
  15. HEVC Video with Alpha (WWDC 2019, session 506). Apple Developer, 2019. Apple's own developer session page; its description and transcript were read, the video was not watched.
  16. About Apple ProRes. Apple, 2025. Apple's own support page on its ProRes video codecs, published March 3, 2025.
  17. An alt Decision Tree. W3C Web Accessibility Initiative, 2024. W3C's own tutorial on text alternatives for images, updated May 13, 2024.
  18. Functional Images. W3C Web Accessibility Initiative, 2017. W3C's own tutorial on images used as links and buttons, updated April 12, 2017.
  19. Tips and Tricks (Images Tutorial). W3C Web Accessibility Initiative, 2024. W3C's own tips on text alternatives, updated July 16, 2024.

Free tools for this

More articles