APixelFormat#
Pixel in-memory format descriptor (type, count and order of subpixel components).
| Header: | #include <AUI/Image/APixelFormat.h> |
| CMake: | aui_link(my_target PUBLIC aui::image) |
Detailed Description#
A format is a combination of a component layout (R, RG, RGB, RGBA, ARGB, BGRA) and a component type
(BYTE or FLOAT), i.e., RGBA_BYTE or RGBA_FLOAT. DEFAULT is RGBA_BYTE.
Use AImageView::convert to move between formats; see Processing images.
Public Types#
Value#
enum APixelFormat::Value
| Constant | Description |
|---|---|
Value::UNKNOWN
|
|
Value::BYTE
|
|
Value::FLOAT
|
|
Value::R
|
|
Value::RG
|
|
Value::RGB
|
|
Value::RGBA
|
|
Value::ARGB
|
|
Value::BGRA
|
|
Value::RGB_BYTE
|
|
Value::RGBA_BYTE
|
|
Value::RGBA_FLOAT
|
|
Value::DEFAULT
|