ImageFormat BGRX8888

robot_2Generated
code_blocksInput

Description

The BGRX8888 field is a member of the ImageFormat enumeration in the Sandbox namespace. This format represents an image with 32 bits per pixel, where each pixel is composed of 8 bits for blue, green, and red channels, and an additional 8 bits that are unused (often referred to as padding or ignored). This format does not include an alpha channel, making it suitable for images where transparency is not required.

Usage

Use the BGRX8888 format when you need to work with images that require 24-bit color depth with an additional 8 bits for alignment or padding, but do not require transparency. This format is often used in scenarios where performance is critical, and the alpha channel is not needed.

Example

// Example of using ImageFormat.BGRX8888

// Assuming you have a method to load an image with a specific format
Image image = LoadImage("path/to/image", ImageFormat.BGRX8888);

// Process the image as needed
ProcessImage(image);