The Pt::Gfx image API provides classes for storing image data, accessing pixels and working with image formats. Images own their pixel data and support a range of pixel formats such as Argb32, Rgb32, Rgb16 and Yuv12. Views and pixel views provide lightweight, non-owning access to regions of image data without copying.
Each pixel format has a concrete pixel type for direct, format-aware pixel access and a generic pixel type for runtime-polymorphic access via ImageFormat.
Classes | |
| class | Argb32Image |
| Image storing pixels in ARGB-32 format. More... | |
| class | Rgb32Image |
| Image storing pixels in premultiplied ARGB-32 format. More... | |