Home Tutorials/How to Links Blog Photos
After Effects
Coldfusion
Dreamweaver/CSS
DVD Studio Pro
Final Cut Pro
Flash
Photoshop
Premultiplied Alpha VS Straight Alpha  
  PDF   Flashpaper    

Every wonder what is the difference between a straight or premultiplied alpha channel? Well here goes a little explanation as well as an example when “guess” does not work.

Straight - In a straight alpha channel each of the RGB channels are filled with color and the object only resides in the alpha channel

Example 1:
Photoshop Channels palette - straight alpha channel

 

Premultiplied – In a premultiplied alpha channel the object resides in all channels and the background is usually black or white but it could be any color.

Example 2:
Photoshop Channels palette - premultiplied alpha channel

Now when not to you guess in After Effects.

I have imported example 2 into After Effects and hit guess. After Effects and hit guess. After Effects guessed it as straight which was not right. See the white halo around the drop shadow in the image below.

Premultiplied alpha imported as straight
After Effects Composition palette - premultiplied alpha imported as straight

 

Same image imported as premultiplied with a white background. No more halo.
After Effects Composition palette - After Effects Composition palette - premultiplied alpha imported as straight

Please support this site by visiting sponsors. Sponsor form.

[damonledet.com] [tutorials/howto] [links] [damon blog] [photos]
© copyright 2008, Damon Ledet all rights reserved
contact me