ImageFormat LINEAR_BGR888

book_4_sparkGenerated
code_blocksInput

Description

The LINEAR_BGR888 field is a member of the ImageFormat enumeration in the Sandbox namespace. It represents an image format where the pixel data is stored in a linear color space with 8 bits per channel for the blue, green, and red components, in that order. This format does not include an alpha channel.

Usage

Use ImageFormat.LINEAR_BGR888 when you need to work with images that are stored in a linear color space and do not require an alpha channel. This format is suitable for scenarios where color accuracy is important, and the image data is processed in a linear color space.

Example

// Example of using ImageFormat.LINEAR_BGR888

// Load an image with the LINEAR_BGR888 format
Image image = Image.Load("path/to/image", ImageFormat.LINEAR_BGR888);

// Process the image data
ProcessImage(image);

// Save the image back in the same format
image.Save("path/to/output", ImageFormat.LINEAR_BGR888);