Description
The BGR888_BLUESCREEN
field is a member of the ImageFormat
enumeration in the Sandbox namespace. This specific image format represents a 24-bit image format where each pixel is composed of three 8-bit channels: blue, green, and red, in that order. The "BLUESCREEN" suffix indicates that this format is used in scenarios where a blue screen effect is applied, typically for chroma keying or special effects where the blue channel is used as a transparency mask.
Usage
Use ImageFormat.BGR888_BLUESCREEN
when you need to handle images that require a blue screen effect for transparency or special effects processing. This format is particularly useful in graphics applications where chroma keying is necessary.
Example
// Example of using ImageFormat.BGR888_BLUESCREEN
// Assume we have a method that processes images based on their format
void ProcessImage(ImageFormat format)
{
if (format == ImageFormat.BGR888_BLUESCREEN)
{
// Handle the image processing with blue screen effect
// This might involve setting up a chroma key or similar effect
}
}
// Usage
ProcessImage(ImageFormat.BGR888_BLUESCREEN);