Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects RGB+Alpha background color

  • RGB+Alpha background color

    Posted by John Dean on June 8, 2009 at 7:56 am

    Why is it that when I render my animations RGB+alpha, sometimes they have a black background and sometimes they have a grey background?

    I think the correct background color should be grey right?

    Thanks

    Adolfo Rozenfeld replied 16 years, 11 months ago 3 Members · 2 Replies
  • 2 Replies
  • Tristan Nieto

    June 8, 2009 at 11:32 am

    In my experience it seems to depend on 2 things:

    1) The background colour of the composition in AE, &
    2) The program you’re importing the file into.

    Some programs will fill an alpha channel with a random colour (like black, white or middle grey), some support the checkerboard look, while others simply ignore the alpha channel and use the RGB value. Sometimes a program will mistakenly interpret the alpha as Straight instead of Premultiplied, (or vice versa), which you can usually (but not always) change. After effects will usually (if not always) fill the transparent parts of a composition with the background colour.

    AFAIK, there is no “correct” colour – it all depends on what you are planning to do with it.

  • Adolfo Rozenfeld

    June 9, 2009 at 4:09 am

    You’re right on the money.

    When After Effects renders a RGB+A file, and it’s set as Premultiplied (matted), AE mattes alpha so it’s premultiplied with the background color.
    Problem is, some video applications can only handle premultiplied alphas matted with black or white.
    It’s not only that the background color will not be the one you expect. Worse than that, the transparency information will not be handled correctly, since the interpretation is based on a wrong assumption.
    You can either set your Comp’s background color to pure black, or render with a straight alpha.

    Adolfo Rozenfeld · Adobe

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy