ESPHome
2025.2.0
|
Data Structures | |
class | BmpDecoder |
Image decoder specialization for PNG images. More... | |
class | DownloadBuffer |
class | DownloadErrorTrigger |
class | DownloadFinishedTrigger |
class | ImageDecoder |
Class to abstract decoding different image formats. More... | |
class | JpegDecoder |
Image decoder specialization for JPEG images. More... | |
class | OnlineImage |
Download an image from a given URL, and decode it using the specified decoder. More... | |
class | OnlineImageReleaseAction |
class | OnlineImageSetUrlAction |
class | PngDecoder |
Image decoder specialization for PNG images. More... | |
Typedefs | |
using | t_http_codes = enum { HTTP_CODE_OK=200, HTTP_CODE_NOT_MODIFIED=304, HTTP_CODE_NOT_FOUND=404, } |
Enumerations | |
enum | DecodeError : int { DECODE_ERROR_INVALID_TYPE = -1, DECODE_ERROR_UNSUPPORTED_FORMAT = -2, DECODE_ERROR_OUT_OF_MEMORY = -3 } |
enum | ImageFormat { AUTO, JPEG, PNG, BMP } |
Format that the image is encoded with. More... | |
Functions | |
bool | is_color_on (const Color &color) |
using esphome::online_image::t_http_codes = typedef enum { HTTP_CODE_OK = 200, HTTP_CODE_NOT_MODIFIED = 304, HTTP_CODE_NOT_FOUND = 404, } |
Definition at line 18 of file online_image.h.
enum esphome::online_image::DecodeError : int |
Enumerator | |
---|---|
DECODE_ERROR_INVALID_TYPE | |
DECODE_ERROR_UNSUPPORTED_FORMAT | |
DECODE_ERROR_OUT_OF_MEMORY |
Definition at line 7 of file image_decoder.h.
Format that the image is encoded with.
Enumerator | |
---|---|
AUTO | Automatically detect from MIME type. Not supported yet. |
JPEG | JPEG format. |
PNG | PNG format. |
BMP | BMP format. |
Definition at line 23 of file online_image.h.
|
inline |
Definition at line 24 of file online_image.cpp.