ImageFormat BGR888_BLUESCREEN

robot_2Generated
code_blocksInput

Description

The BGR888_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 a BGR (Blue, Green, Red) order with 8 bits per channel, and it is specifically used for images that require a bluescreen effect. This format is useful in scenarios where a specific color (blue in this case) is used as a transparent or key color for compositing images.

Usage

Use the BGR888_BLUESCREEN format when you need to process or store images that require a bluescreen effect. This format is particularly useful in graphics applications where you need to replace the blue background with another image or color.

Example

// Example of using BGR888_BLUESCREEN in a method
public void ProcessImage(Image image)
{
    if (image.Format == ImageFormat.BGR888_BLUESCREEN)
    {
        // Perform operations specific to BGR888_BLUESCREEN format
        // For example, replace the blue background with transparency
    }
}