5#ifdef USE_ONLINE_IMAGE_PNG_SUPPORT
9namespace online_image {
24 int prepare(
size_t download_size)
override;
25 int HOT
decode(uint8_t *buffer,
size_t size)
override;
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
Providing packet encoding functions for exchanging data with a remote host.