ESPHome 2026.3.0-dev
Loading...
Searching...
No Matches
esphome::runtime_image Namespace Reference

Data Structures

class  BmpDecoder
 Image decoder specialization for BMP images. More...
 
class  ImageDecoder
 Class to abstract decoding different image formats. More...
 
class  JpegDecoder
 Image decoder specialization for JPEG images. More...
 
class  PngDecoder
 Image decoder specialization for PNG images. More...
 
class  RuntimeImage
 A dynamic image that can be loaded and decoded at runtime. More...
 

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 }
 Image format types that can be decoded dynamically. More...
 

Functions

bool is_color_on (const Color &color)
 

Enumeration Type Documentation

◆ DecodeError

Enumerator
DECODE_ERROR_INVALID_TYPE 
DECODE_ERROR_UNSUPPORTED_FORMAT 
DECODE_ERROR_OUT_OF_MEMORY 

Definition at line 6 of file image_decoder.h.

◆ ImageFormat

Image format types that can be decoded dynamically.

Enumerator
AUTO 

Automatically detect from data.

Not implemented yet.

JPEG 

JPEG format.

PNG 

PNG format.

BMP 

BMP format.

Definition at line 14 of file runtime_image.h.

Function Documentation

◆ is_color_on()

bool esphome::runtime_image::is_color_on ( const Color & color)
inline

Definition at line 21 of file runtime_image.cpp.