7#ifdef USE_RUNTIME_IMAGE_PNG
25 int prepare(
size_t expected_size)
override;
26 int HOT
decode(uint8_t *buffer,
size_t size)
override;
An STL allocator that uses SPI or internal RAM.
Class to abstract decoding different image formats.
Image decoder specialization for PNG images.
int HOT decode(uint8_t *buffer, size_t size) override
uint32_t get_pixels_decoded() const
PngDecoder(RuntimeImage *image)
Construct a new PNG Decoder object.
void increment_pixels_decoded(uint32_t count)
RAMAllocator< pngle_t > allocator_
int prepare(size_t expected_size) override
A dynamic image that can be loaded and decoded at runtime.