Signal Generators

cancel
Showing results for 
Search instead for 
Did you mean: 

How is an RGB32 image formatted?

I have a NI PCI-1411 analog card connected to a color NTSC camera. I would like to know specifically how the RGB32 image is encoded. I have figured out that each pixel is 32 bits and that there are four "channels" of 8-bits. What I really want to know is what is in each of the four channels. Where are Red, Green, Blue, and what is the fouth one?
0 Kudos
Message 1 of 2
(11,763 Views)
Hello.

The answer to your question is essentially the following:

Least significant 8 bits: Red
Next 8 bits : Green
Next 8 bits : Blue
Most significant 8 bits : Not Used, or used for transparency (alpha)

I have attached a snapshot of a LabVIEW VI that descries this visually as well.

For more information on transparency, see the following KnowledgeBase:
http://digital.ni.com/public.nsf/websearch/00736861C29ADFB786256D120079D119?OpenDocument

Hope this helps!
Regards,
Colin C.
Applications Engineering
Colin Christofferson
Community Web Marketing
Blog
0 Kudos
Message 2 of 2
(11,763 Views)