Description
The BGR888
field is a member of the ImageFormat
enumeration in the Sandbox namespace. It represents an image format where each pixel is stored using 24 bits, with 8 bits for each of the blue, green, and red color channels, in that order. This format does not include an alpha channel for transparency.
Usage
Use the BGR888
format when you need to work with images that require 24-bit color depth without transparency. This format is suitable for scenarios where the image data is stored in a BGR order, which is common in some graphics APIs and file formats.
Example
// Example of using ImageFormat.BGR888
ImageFormat format = ImageFormat.BGR888;
// Check if the format is BGR888
if (format == ImageFormat.BGR888)
{
// Perform operations specific to BGR888 format
// For example, loading or processing an image
}