Description
The BGRA4444
field is a member of the ImageFormat
enumeration in the Sandbox namespace. This format represents an image with 4 bits per channel for blue, green, red, and alpha, resulting in a 16-bit image format. It is used for images where a balance between color depth and memory usage is required, providing a compact representation with transparency support.
Usage
Use ImageFormat.BGRA4444
when you need to work with images that require a compact format with moderate color fidelity and alpha transparency. This format is suitable for applications where memory usage is a concern, but some level of transparency is still needed.
Example
// Example of using ImageFormat.BGRA4444
// Assuming you have a method to load an image with a specific format
Image myImage = LoadImage("path/to/image", ImageFormat.BGRA4444);
// Use the image in your application
DisplayImage(myImage);