A decoded raster image. More...
#include <image_codecs.hpp>
Public Attributes | |
| uint32_t | width = 0 |
| uint32_t | height = 0 |
| std::vector< uint8_t > | rgba |
| Tightly packed RGBA8. .size() == width * height * 4. | |
A decoded raster image.
Pixels are RGBA8 in scanline order (row-major, top-down, no row padding — stride == width * 4).
| uint32_t pulp::canvas::DecodedRaster::height = 0 |
| std::vector<uint8_t> pulp::canvas::DecodedRaster::rgba |
Tightly packed RGBA8. .size() == width * height * 4.
| uint32_t pulp::canvas::DecodedRaster::width = 0 |