Encompasses all API of component NilkinsImages. More...
Classes | |
struct | AlignmentDescriptor |
Holds information about alignment constraints. More... | |
class | AlignmentUtils |
Offers tools to realign an image's memory. More... | |
class | BmpEncoder |
Offers capabilities to encode and decode BMP format. More... | |
class | CompositeEncoder |
Utility encoder using all other encoders within nkImages to parse arbitrary data. More... | |
class | ConversionUtils |
Utility class offering helpers for conversions. More... | |
class | DdsEncoder |
Offers capabilities to encode and decode DDS format. More... | |
class | HdrEncoder |
Offers capabilities to encode and decode HDR format. More... | |
class | Image |
Holds all information required for an image, with ownership over the data. More... | |
class | ImageBase |
Base for all image data classes. More... | |
struct | ImageDescriptor |
Describes an image within an array. Used internally. More... | |
class | ImageView |
Holds all information required for an image, with no ownership over the data. More... | |
struct | JpgCompressionSettings |
Describes available settings for Jpeg encoding queries. More... | |
class | JpgEncoder |
Offers capabilities to encode and decode JPEG format. More... | |
class | LogManager |
Responsible for logging all messages from the component. More... | |
struct | MipDescriptor |
Describes a mip within an image. Used internally. More... | |
class | PixelFormatUtils |
Utility class to translate enum values into linked useful data. More... | |
class | PngEncoder |
Offers capabilities to decode the PNG format. More... | |
Enumerations | |
enum | ALPHA_MODE { ALPHA_MODE::AUTO = 0, ALPHA_MODE::NO_ALPHA, ALPHA_MODE::ALPHA } |
Lists possible modes for the alpha channel. More... | |
enum | PIXEL_FORMAT { PIXEL_FORMAT::UNKNOWN_FORMAT = 0, PIXEL_FORMAT::R8, PIXEL_FORMAT::R8A8, PIXEL_FORMAT::R8G8B8, PIXEL_FORMAT::R8G8B8A8, PIXEL_FORMAT::B8G8R8, PIXEL_FORMAT::B8G8R8A8, PIXEL_FORMAT::R16G16B16A16, PIXEL_FORMAT::R32G32B32, PIXEL_FORMAT::R32G32B32A32, PIXEL_FORMAT::Y8U8V8_444, PIXEL_FORMAT::Y8U8Y8V8_422, PIXEL_FORMAT::Y8U8V8_420_SP, PIXEL_FORMAT::Y8Y8U8Y8Y8V8_411, PIXEL_FORMAT::BC1, PIXEL_FORMAT::BC2, PIXEL_FORMAT::BC3, PIXEL_FORMAT::BC4, PIXEL_FORMAT::BC5 } |
Lists formats for pixels. More... | |
enum | JPG_COMPRESSION { JPG_COMPRESSION::AUTOMATIC = 0, JPG_COMPRESSION::YUV_444, JPG_COMPRESSION::YUV_422, JPG_COMPRESSION::YUV_420 } |
Encompasses all API of component NilkinsImages.
This component provides utility to load and save images, supporting some well-known formats.
nkImages is designed with graphics in mind, meaning that there are multiple options for specifying data alignment constraints. Decoded data will fit these alignment restrictions.
This can be useful for textures, which can require specific pixel / row alignments. Specifying these alignment constraints in advance means that no memory copy and realignment is necessary after decoding.
For more information on what formats are supported, see the *Encoder classes adapted to each format.
|
strong |
Lists possible modes for the alpha channel.
This enum can be used to describe what kind of constraint an image should satisfy. Encoders will follow these constraints to generate images fitting the needs of the caller.
|
strong |
Lists formats for pixels.
A pixel is often described by a set of 4 channels : Red, Green, Blue, and Alpha. Depending on the format, those channels can be exposed or not, with differing memory layouts. This enum hints what is available and how it is exposed.
|
strong |
Lists available compression schemes for Jpeg encoding.