PIX FMT RGBA: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (add example) |
||
Line 1: | Line 1: | ||
PIX_FMT_RGBA is a pixel format where 4 bytes are stored per pixel, one pixel for each of R, G, and B (red, green and blue) and one pixel for the [[alpha channel]]. The alpha channel allows [[transparency]] information to be stored per pixel. | PIX_FMT_RGBA is a pixel format where 4 bytes are stored per pixel, one pixel for each of R, G, and B (red, green and blue) and one pixel for the [[alpha channel]]. The alpha channel allows [[transparency]] information to be stored per pixel. | ||
Example 4 pixels will be stored as: | |||
RGBA RGBA RGBA RGBA. | |||
4 pixels will take 4 * 4bpp (bytes per pixel) = 16 bytes of storage (uncompressed). | |||
[[Category:FFmpeg Pixel Formats]] | [[Category:FFmpeg Pixel Formats]] |
Revision as of 23:20, 28 May 2007
PIX_FMT_RGBA is a pixel format where 4 bytes are stored per pixel, one pixel for each of R, G, and B (red, green and blue) and one pixel for the alpha channel. The alpha channel allows transparency information to be stored per pixel.
Example 4 pixels will be stored as: RGBA RGBA RGBA RGBA.
4 pixels will take 4 * 4bpp (bytes per pixel) = 16 bytes of storage (uncompressed).