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
format when you need to handle images that are in 24-bit RGB format and require a blue screen effect for chroma keying. This format is particularly useful in scenarios where you need to replace the blue background with another image or video content.
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 to replace the blue background
}
}