1

Sometimes I insert an image (PNG) and the background remains transparent, as intended.

Some other times I insert an image and the transparent background becomes black. This happens seemingly at random, but probably has some explanation.

How do I make sure the transparent background of an image remains transparent?

EXAMPLE

This PNG image (below) appears in Premiere with the transparent background in black.

enter image description here

I then used Paint.net to resize it (to 75%). It was again saved as PNG (below). The transparent background showed up correctly when I inserted this new, smaller image into Premiere.

enter image description here

It would seem that the only difference between the two PNG images is the size.

This is what these two images show up as in Premiere (with a white-ish snowflakes background).

enter image description here

  • 1
    Is the outcome consistent for all uses of an image? Meaning does A.png always show up transparent and B.png always black or does A.png sometimes show up transparent and other times black. If the former, upload one example of each type of PNG. – Gyan Oct 31 '15 at 5:16
  • More details needed: insert the image where? with what program? do you create the PNGs yourself? if yes, with what program? – CyanideBaby Nov 1 '15 at 22:30
  • @nofare Please see my updated question. – Kenny LJ Nov 6 '15 at 6:35
  • @Mulvya Yes, the former. Please see my updated question. – Kenny LJ Nov 6 '15 at 6:35
  • Another option is to just scale the image inside premiere using the Motion scale effects – User Nov 11 '15 at 10:26
2

The PNG image giving you trouble has pixel format PAL8, which is "palettized RGB with PIX_FMT_RGB32 palette" whereas the acceptable PNG has pixel format RGBA. Likely, Premiere doesn't know how to handle the alpha information in the former.

You can use ffmpeg to convert such PNGs to RGBA PNGs, like this:

ffmpeg -i input.png -pix_fmt rgba output.png

Download ffmpeg (32-bit static build) from here.

Or you can use Paint.net to resave the PNG without changing the size.

  • How do I make sure that I correctly save PNGs in Paint.net in the correct format? – Kenny LJ Nov 7 '15 at 3:00
  • 1
    Can you share a screenshot of the options shown when saving a PNG? – Gyan Nov 7 '15 at 10:17
1

The most likely thing would be that you are choosing different settings for the way the alpha channel is interpreted. There are multiple options and some will not interpret it as transparent. I believe there are 3 different choices if memory serves. If it is actually defaulting to different settings, then I'm not sure what would result in that though.

  • Please see my updated question. – Kenny LJ Nov 6 '15 at 6:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.