|
libepaper 2.0.0
A C++23 library for controlling Waveshare e-paper displays on Raspberry Pi, featuring transparent sleep/wake management and a fluent builder API.
|
Utilities for loading/saving images and converting formats. More...
#include <image_io.hpp>
Classes | |
| struct | ImageResult |
Static Public Member Functions | |
| static auto | load_image (std::string_view path, int desired_channels=0) -> std::expected< ImageResult, Error > |
| static auto | save_png (std::string_view path, std::size_t width, std::size_t height, int channels, std::span< const std::uint8_t > data) -> std::expected< void, Error > |
| template<FramebufferLike FB> | |
| static auto | framebuffer_to_rgb (const FB &fb) -> std::vector< std::uint8_t > |
Utilities for loading/saving images and converting formats.
Static-only utility class - all methods are static, no instantiation needed.
Design Philosophy:
|
static |


|
static |

|
static |

