The lowdown on black vs straight alpha

Hey everyone,
I use motion and livetype a lot, so I'm very familiar with the strange and interesting visual effects you get when you forget to switch alpha from straight to black (why does FCP not do this for .motn and livetype files anyway??)
Anyway, I was just wondering if somebody could explain in simple, practical terms what the differences are in various FCP alpha formats and how they store and interpret transparency?
Thanks!
Clint

From page 372 of the FCP manual…
A_ Straight: Typically generated by a 3D animation or compositing program, straight
alpha channels contain only the pixels rendered for an image with no background
(although the background appears black). Because of this, movies with translucent
effects, such as volumetric lighting or lens flares, appear distorted unless they’re
composited with something in the background. Movies or images with a straight
alpha channel are easy to composite and always have very clean edges when
composited in a multilayered sequence.
A_ Black: Most other alpha channels, especially channels that are hand drawn in
Photoshop, are premultiplied. This means that, unlike a movie with a straight alpha
channel that contains only the pixels of the foreground image, movies with alpha
channels premultiplied against black always look right, even if they have translucent
lighting effects. This is because the entire image is precomposited against black.
It’s important that graphics with premultiplied alpha channels be correctly identified.
If a graphics file with a premultiplied black alpha channel is incorrectly identified as
having a straight alpha channel, a black fringe appears around the edges of your
imported image. If this happens, you can simply change the way the alpha channel is
used in the clip’s Item Properties window.
A_ White: Works the same as the black alpha channel, except that the clip is
precomposited against white.
A_ None/Ignore: If a clip has no alpha channel, or if you want to disable the alpha
channel of a clip so that it’s no longer used, you can use the None/Ignore setting.

Similar Messages

  • Saving TGA with straight alpha (not premultiplied) and other weird stuff

    Is there a way to save the alpha channel not premultiplied in a tga as I need straight alpha ... ?
    While testing I got strange behaviour.... I have 5 bar from white to black with RGB value of 255,191,128,64,0
    1) Copy pasting those from rgb to alpha give me some "conversion error"
    255
    191
    128
    64
    0
    255
    191 and 192
    128 and 129
    64 and 65
    0
    Opening this in other software will give me
    255
    175
    105
    46
    0
    2) Copy pasting the red channel to the alpha give me "converted premultiplied" value
    255
    191
    128
    64
    0
    255
    204
    149
    85
    0
    opening this in other software will give me
    255
    191
    128
    64
    0
    I don't think we're the only one that needs to have straight alpha?
    cheers

    RGB to Grayscale make sense but shouldn't create that much noise ...
    When copying from the red channel to the alpha channel, in the same file,  I got those value as shown in the graphic and that's not gamma
    But opening the image in any other software will be as the rgb value was. That means that editing value directly in the alpha when you need the exact value is impossible. That why we have to copy it from the red channel to the alpha channel to have the exact value

  • Should be straight alpha, but it doesn't look like it

    I'm using Keylight on some footage in AE CS4, and then bringing it into PPro CS3 for the rest of the editing process.  In AE, one of my roses (a light one chosen to accentuate what is going on) looks like this:
    I have "Unpremultiply" checked in Keylight, and here are my Output Module Settings for the render:
    As far as I can tell, I should be doing everything right to end up with footage with straight alpha, but in PPro, I get the famous "premultiplied-alpha halo" anyway!  At first, the halo was only appearing a second or two after I would click in a new spot on the timeline - that really got my attention that it was something other than just bad keying on my part.  I actually tried to catch a screen capture during that moment before the halo would appear (to show the before-and-after), but by the time I decided to try that, Murphy's law had kicked in - now there is no delay and it looks like this all the time:
    I have several roses that I have processed in the same manner, and they all have the halo, but it's of course not as obvious if the rose itself and/or the background footage is darker.
    I'm pretty new to keying and alpha, but I thought I had done my homework, so to speak.  What other settings should I check?

    Thanks for the suggestion - it basically worked.  PPro CS3 doesn't appear to have an effect called "Alpha Key", so I used "Track Matte Key", specifying the track where I put the alpha clip and selecting Luma Key for the setting (setting it to Alpha Key didn't do anything, and it was clear that the "alpha" AVI was not an alpha channel per se, but just a regular video clip with a B&W representation of the transparency).  I also don't see any effect called "Minimax".  Anyway, I followed your suggestion as best I could with the tools I have - you must be using a newer version of PPro.  I can indeed see about a pixel or so that would be better if it was more  transparent - I suspect your Minimax suggestion would have taken care of  that.  But this is definitely usable.
    Key point for those reading this later: You have to choose "Straight" for the Color setting when you render by this method, even though you get some strong warnings that dissauded me the first time I tried it (I thought they were saying I had to include an alpha channel in the stream, not the method I was about to use).
    One more question: When rendering the separate alpha clip (essentially just a grayscale video of the transparency) to be used as the luma matte for the Track Matte Key, does it matter whether the Color setting is Straight or Premultiplied?  I can't imagine that it would matter for that clip, but if there is a subtle difference, let me know.
    I have no idea why I can't get it to work with an embedded alpha channel, though - surely hundreds or thousands of people use these two programs to handle RGB+Alpha video files.  For this time, I'll re-render my roses (twice for each rose to get the two streams - this will give my CPU a workout!) and use this workaround, but if someone has any insight about the more direct method, please enlighten us all.

  • My ipod nano 5th gen is still making the clicking noise but won't play music and the screen is black what's wrong?!my ipod nano 5th gen is still making the clicking noise but won't play music and the screen is black what's wrong?!

    my ipod nano 5th gen is still making the clicking noise but won't play music and the screen is black what's wrong?!

    Downloading past purchases from the App Store, iBookstore, and iTunes Storehttp://support.apple.com/kb/HT2519
    Message was edited by: michael08081

  • Some times when I press the home button to read my finger the screen becomes black and it shows the Apple logo, this take a few seconds to get back the screen and this has been happening even 3 or 4 times in a row!   What should I do?

    Some times when I press the home button to read my finger the screen becomes black and it shows the Apple logo, this take a few seconds to get back the screen and this has been happening even 3 or 4 times in a row!
    What should I do?

    Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Try each of these in order until the issue is resolved.

  • IPhone black screen does not show anything, but I can hear that the device works. I hear the lock open the screen and hear the iPod but the screen remains black

    IPhone black screen does not show anything, but I can hear that the device works. I hear the lock open the screen and hear the iPod but the screen remains black!!

    It's happened to me before as well. Try holding both lock(top right) and home buttons simultaneously until u see a slight flash of wight then just reboot it normally. If that doesn't work try restoring your device from itunes

  • Text put into a canvas element with context.fillText() always has a black box where each letter goes. If the text is black you just see the black rectangle. If the text is not black you see it on the black bounding box. Surely this is not right.

    This has happened on the last few versions of firefox, as long as canvas has been supported. I see other people's screen shots from canvas tutorials, and the text always looks normal. On my system, any text put into a canvas element via context.fillText() will have a black bounding box for each letter, sized appropriately for the letter. If the text is black, of course you only see rectangles. If the text is a contrasting color, then you can read it, but it looks bizarre.

    Thomas...same kind of crap here.
    I used Custom Text - entered a sentence, hit return, entered another.
    Set to 72 pt.
    The default alignment is centred - I want left aligned text...the text start point stays at the centre of frame and the sentence runs off the edge of the bounding box.
    There is no settings in the Text or Title inspector dialog to correct that!
    Using Transform will not sort it!

  • When I click on a link in an email, the comoputer locks p and the screen goes black, requiring a shut down from the on-off switch. My version of Firefox is up-to-date.

    The on-off switch is the only way I can turn off the computer, because the screen is black. Then I turn on the computer again to reboot, and when I click on Firefox again it takes from 30 to 90 seconds before Firefox opens, at which point I get a message asking if I want to begin a new session. Then I open emails and don't click on any links. If I check my email using Internet Explorer, the problem does not occur. Your help would be appreciated. After 50 years of operating comoputers, I have never seen this problem. Regards----Lloyd Schultz

    Fred...thanks, but this is not about one site. The same thing happens often, with many sites, when i click a link that has come up in Google search, or on Twitter or Facebook or within a story I'm reading. The link takes me to the url of what it was supposed to take me too, then within a second or so it switches to that Yahoo 'error handler' url, a page that offers search for similar sites.
    Again, thank you.

  • We just moved from the United States to Costa Rica.  The first two days my mac worked great.  Then all of a sudden I was trying to use a game application and the screen went black and there is a white cursor which I can move around, but I can't escape it

    We just moved from the United States to Costa Rica.  The first two days my mac worked great.  Then all of a sudden I was trying to use a game application and the screen went black and there is a white cursor which I can move around, but I can't escape it. When I restart it seems okay and I see my main screen, but only for a second and then it goes black again. 
    This computer was brand new in June.  Is it the humidity???   What can I do.  Please help!!!!

    No guarantess but try smc and pram resets,

  • When I click on video it is stuck on one tv show, when I click 'done' the screen goes black so I can't access any other video that I downloaded from iTunes onto my iPad 2. How do I troubleshoot?

    The video on my iPad 2 is frozen on a tv show, although it will play the tv show until the end. At the end, when I click 'done' the screen goes black so I can't see the other movies that I've downloaded. I've shut down a few times but it reverts to the same thing. How can I re-set the video feature or do what is necessary to get it working again?

    Have you tried resetting the iPad:
    Reset iPad:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.

  • I have this problem as well. The screen is black . i can.t get it to respond.Power   home soft reset didnt work. Itunes could detect any sync apps. I used my home phone to call my iphone and on my home phone i can hear the calling tone.But my iphone didn'

    The screen is black . i can.t get it to  respond.Power + home soft reset didnt work. Itunes could detect any sync  apps. I used my home phone to call my iphone and on my home phone i can  hear the calling tone.But my iphone didn't ring/screen did not light  up. Its a iphone 4. Any ideas how to fix this?

    If the basics (restart, reset, restore from backup, restore as new) don't work, you'll need to bring the phone to Apple for evaluation

  • How can I make the combo box turn to the value of black.

    When the show button is pressed (and not before), a filled black square should be
    displayed in the display area. The combo box (or drop down list) that enables the user to choose the colour of
    the displayed shape and the altering should take effect immediately.When the show button is pressed,
    the image should immediately revert to the black square, the combo box should show the value that
    correspond to the black.
    Now ,the problem is: after I pressed show button, the image is reverted to the black square,but I don't know
    how can I make the combo box turn to the value of black.
    Any help or hint?Thanks a lot!
    coding 1.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class test extends JFrame {
         private JPanel buttonPanel;
         private DrawPanel myPanel;
         private JButton showButton;
         private JComboBox colorComboBox;
    private boolean isShow;
         private int shape;
         private boolean isFill=true;
    private String colorNames[] = {"black", "blue", "cyan", "darkGray", "gray",
    "green", "lightgray", "magenta", "orange",
    "pink", "red", "white", "yellow"}; // color names list in ComboBox
    private Color colors[] = {Color.black, Color.blue, Color.cyan, Color.darkGray,
                              Color.gray, Color.green, Color.lightGray, Color.magenta,
                              Color.orange, Color.pink, Color.red, Color.white, Color.yellow};
         public test() {
         super("Draw Shapes");
         // creat custom drawing panel
    myPanel = new DrawPanel(); // instantiate a DrawPanel object
    myPanel.setBackground(Color.white);
         // set up showButton
    // register an event handler for showButton's ActionEvent
    showButton = new JButton ("show");
         showButton.addActionListener(
              // anonymous inner class to handle showButton events
         new ActionListener() {
                   // draw a black filled square shape after clicking showButton
         public void actionPerformed (ActionEvent event) {
                             // call DrawPanel method setShowStatus and pass an parameter
              // to decide if show the shape
         myPanel.setShowStatus(true);
                   isShow = myPanel.getShowStatus();
                                            shape = DrawPanel.SQUARE;
                        // call DrawPanel method setShape to indicate shape to draw
                                            myPanel.setShape(shape);
                        // call DrawPanel method setFill to indicate to draw a filled shape
                                            myPanel.setFill(true);
                        // call DrawPanel method draw
                                            myPanel.draw();
                             myPanel.setFill(true);
                             myPanel.setForeground(Color.black);
                   }// end anonymous inner class
         );// end call to addActionListener
    // set up colorComboBox
    // register event handlers for colorComboBox's ItemEvent
    colorComboBox = new JComboBox(colorNames);
    colorComboBox.setMaximumRowCount(5);
    colorComboBox.addItemListener(
         // anonymous inner class to handle colorComboBox events
         new ItemListener() {
         // select shape's color
         public void itemStateChanged(ItemEvent event) {
         if(event.getStateChange() == ItemEvent.SELECTED)
         // call DrawPanel method setForeground
         // and pass an element value of colors array
         myPanel.setForeground(colors[colorComboBox.getSelectedIndex()]);
    myPanel.draw();
    }// end anonymous inner class
    ); // end call to addItemListener
    // set up panel containing buttons
         buttonPanel = new JPanel();
    buttonPanel.setLayout(new GridLayout(4, 1, 0, 50));
         buttonPanel.add(showButton);
    buttonPanel.add(colorComboBox);
    JPanel radioButtonPanel = new JPanel();
    radioButtonPanel.setLayout(new GridLayout(2, 1, 0, 20));
    Container container = getContentPane();
    container.setLayout(new BorderLayout(10,10));
    container.add(myPanel, BorderLayout.CENTER);
         container.add(buttonPanel, BorderLayout.EAST);
    setSize(500, 400);
         setVisible(true);
         public static void main(String args[]) {
         test application = new test();
         application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    coding 2
    import java.awt.*;
    import javax.swing.*;
    public class DrawPanel extends JPanel {
         public final static int CIRCLE = 1, SQUARE = 2;
         private int shape;
         private boolean fill;
         private boolean showStatus;
    private int shapeSize = 100;
    private Color foreground;
         // draw a specified shape
    public void paintComponent (Graphics g){
              super.paintComponent(g);
              // find center
    int x=(getSize().width-shapeSize)/2;
              int y=(getSize().height-shapeSize)/2;
              if (shape == CIRCLE) {
         if (fill == true){
         g.setColor(foreground);
              g.fillOval(x, y, shapeSize, shapeSize);
    else{
                   g.setColor(foreground);
    g.drawOval(x, y, shapeSize, shapeSize);
              else if (shape == SQUARE){
         if (fill == true){
         g.setColor(foreground);
                        g.fillRect(x, y, shapeSize, shapeSize);
    else{
                        g.setColor(foreground);
    g.drawRect(x, y, shapeSize, shapeSize);
    // set showStatus value
    public void setShowStatus (boolean s) {
              showStatus = s;
         // return showstatus value
    public boolean getShowStatus () {
              return showStatus;
         // set fill value
    public void setFill(boolean isFill) {
              fill = isFill;
         // set shape value
    public void setShape(int shapeToDraw) {
              shape = shapeToDraw;
    // set shapeSize value
    public void setShapeSize(int newShapeSize) {
              shapeSize = newShapeSize;
    // set foreground value
    public void setForeground(Color newColor) {
              foreground = newColor;
         // repaint DrawPanel
    public void draw (){
              if(showStatus == true)
              repaint();

    Hello,
    does setSelectedIndex(int anIndex)
    do what you need?
    See Java Doc for JComboBox.

  • My iphone 5 screen has gone black in the middle of updating a app. i have tried to back it up using itunes and restore it however it will not restore my phone as i have got the app find my iphone switched on. i cannot turn it off as the screen is black

    my iphone 5 screen has gone black in the middle of updating a app. i have tried to back it up using itunes and restore it however it will not restore my phone as i have got the app find my iphone switched on. i cannot turn it off as the screen is black. can anyone help me please??

    christobell86 wrote:
    ... it will not restore my phone as i have got the app find my iphone switched on.
    You can access iCloud.com on a computer to turn it off.
    http://support.apple.com/kb/PH2702

  • In iTunes, my printing is white and the background is black, How do I change it back to white printing on a black background.

    In my iTunes store, the printing is white and the background is black and I have forgotten how to change it back to black printing on a white background? I know that it is a simple answer, but right now I cannot think of it.
    Also, what is the "other" when you are syncing an ipad in itunes and in my case the other is more than half of my 64Gb. How do I find out what it is and then get rid of it if I want to?
    Thanks

    Hi gramie47,
    Sorry to hear that didn't resolve the issue.
    I checked online for issues printing from the Internet, found a couple of things you can try. Most likely it is a setting that needs to be changed in the browser settings, since the printer prints fine from the computer.
    From Internet Explorer, go to File, Page setup, Remove check from "Printer background color and images" if checked, or vise versa, to see if that helps.
    Here is another document you may take a look at.
    Map Images May Not Print Properly When Using Internet Explorer.
    If you continue to have issues, contact your Internet Provider for further assistance.
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • A few days ago my TV show and movie displays went whacky-the shows are no longer in alpha order, there are multiple listings of the same show, the pictures are random-including album covers.  I downloaded latest version.  Any ideas??

    A few days ago my TV show and movie displays went whacky-the shows are no longer in alpha order, there are multiple listings of the same show, the pictures are random-including album covers.  I downloaded latest version & no change.  Any ideas??

    ME TOO.
    I think mine are all still in alphabetical order, but :
    * movies I deleted from my library and told "hide this purchase in the cloud" are showing up again. If I try to play them, I get the "cannot find the file in its proper location, would you like to locate it" error message.
    * for movies that have "iTunes Extras," the extras show up as a separate item, with another copy of the movie artwork. Most of these I believe I had DELETED the "iTunes Extras" anyway.
    * Items are showing up multiple times.
    * A few MUSIC ALBUMS are listed in my Movies section.
    * Some movies (I believe ones that I deleted off my HD but are still in the cloud) are showing random album covers instead of their proper artwork.
    * Just rented a movie, and it didn't show up anywhere in my library. It downloaded properly and completely, was in a suitably labeled folder in my iTunes/Media/Movies section, but didn't show up in any section of the library (or via a library search). Had to manually find it and tell it to open the file using iTunes.
    Running the latest version, even checked for updates. No other changes made lately since the last round of apple software updates. This was wonky before the latest small update to iTunes - now it's even wonkier. And it is very, VERY effing annoying.

Maybe you are looking for