Color get_rgb565_pixel_(int x, int y) const
const uint8_t * data_start_
Color get_rgb_pixel_(int x, int y) const
bool has_transparency() const
size_t get_width_stride() const
Return the stride of the image in bytes, that is, the distance in bytes between two consecutive rows ...
Image(const uint8_t *data_start, int width, int height, ImageType type, Transparency transparency)
Color get_pixel(int x, int y, Color color_on=display::COLOR_ON, Color color_off=display::COLOR_OFF) const
int get_height() const override
ImageType get_type() const
bool get_binary_pixel_(int x, int y) const
const uint8_t * get_data_start() const
lv_img_dsc_t * get_lv_img_dsc()
Transparency transparency_
void draw(int x, int y, display::Display *display, Color color_on, Color color_off) override
int get_width() const override
Color get_grayscale_pixel_(int x, int y) const
const Color COLOR_ON(255, 255, 255, 255)
Turn the pixel ON.
const Color COLOR_OFF(0, 0, 0, 0)
Turn the pixel OFF.
@ TRANSPARENCY_ALPHA_CHANNEL
@ TRANSPARENCY_CHROMA_KEY
Providing packet encoding functions for exchanging data with a remote host.