ImageFormat RGB888_BLUESCREEN

book_4_sparkGenerated
code_blocksInput

Description

The RGB888_BLUESCREEN field is a member of the ImageFormat enumeration in the Sandbox namespace. This field represents an image format where the pixel data is stored in 24-bit RGB format, with 8 bits per channel (Red, Green, Blue). The "BLUESCREEN" suffix indicates that this format is typically used for images where a blue screen effect is applied, often for chroma keying purposes in video and image processing.

Usage

Use the RGB888_BLUESCREEN field when you need to specify an image format that uses 24-bit RGB color with a blue screen effect. This is particularly useful in scenarios where you need to perform chroma keying or similar operations that require a specific color to be treated as transparent or as a key color.

Example

// Example of using RGB888_BLUESCREEN in a method
public void ProcessImage(Image image)
{
    if (image.Format == ImageFormat.RGB888_BLUESCREEN)
    {
        // Perform operations specific to RGB888_BLUESCREEN format
        // For example, apply chroma keying
    }
}