6#ifdef USE_ONLINE_IMAGE_PNG_SUPPORT
10namespace online_image {
25 int prepare(
size_t download_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.
Download an image from a given URL, and decode it using the specified decoder.
Image decoder specialization for PNG images.
PngDecoder(OnlineImage *image)
Construct a new PNG Decoder object.
int HOT decode(uint8_t *buffer, size_t size) override
int prepare(size_t download_size) override
RAMAllocator< pngle_t > allocator_
Providing packet encoding functions for exchanging data with a remote host.