ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
image_format.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  esphome
 
namespace  esphome::runtime_image
 

Functions

 esphome::runtime_image::PROGMEM_STRING_TABLE (ImageFormatStrings, "AUTO", "BMP", "JPEG", "PNG", "QOI", "UNKNOWN")
 
const char * esphome::runtime_image::get_mime_type_for_format (ImageFormat format)
 Canonical MIME type for a format; "image/*" for AUTO/unknown.
 
std::optional< ImageFormat > esphome::runtime_image::get_format_for_mime_type (const char *mime_type)
 Case-insensitive substring match of known media types; nullopt if none found.
 
const LogString * esphome::runtime_image::get_format_name (ImageFormat format)
 Human-readable name for a format; "UNKNOWN" if not recognized.