Files
ManuelandGitHub 56ba81bb7b fix: ARGB8888 images -> RGB565A8 for better FPS (#269)
* some images were ARGB8888 format -> RGB565A8

* remove unused color formats

* allow custom display buffers

* nodes images -> A8 color format

* limit receive queue processing

* lodepng needs ARGB8888

* A8 node images
2026-01-23 00:28:34 +01:00

68 lines
3.8 KiB
C

#ifdef __has_include
#if __has_include("lvgl.h")
#ifndef LV_LVGL_H_INCLUDE_SIMPLE
#define LV_LVGL_H_INCLUDE_SIMPLE
#endif
#endif
#endif
#if defined(LV_LVGL_H_INCLUDE_SIMPLE)
#include "lvgl.h"
#elif defined(LV_BUILD_TEST)
#include "../lvgl.h"
#else
#include "lvgl/lvgl.h"
#endif
#ifndef LV_ATTRIBUTE_MEM_ALIGN
#define LV_ATTRIBUTE_MEM_ALIGN
#endif
#ifndef LV_ATTRIBUTE_IMG_NODE_CLIENT_IMAGE
#define LV_ATTRIBUTE_IMG_NODE_CLIENT_IMAGE
#endif
static const
LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_NODE_CLIENT_IMAGE
uint8_t img_node_client_image_map[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x12,0x20,0x20,0x12,0x01,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0e,0x51,0x9c,0xca,0xdd,0xdd,0xcb,0x9d,0x52,0x0e,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x39,0xb7,0xfb,0xff,0xf6,0xe6,0xe6,0xf5,0xff,0xfc,0xb9,0x3a,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x49,0xe2,0xff,0xd4,0x7a,0x3a,0x21,0x21,0x3a,0x79,0xd3,0xff,0xe3,0x4a,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x8b,0xfd,0x9d,0x1e,0x00,0x04,0x18,0x18,0x04,0x00,0x1e,0x9b,0xfd,0x8d,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1e,0x49,0x0b,0x04,0x57,0xb5,0xdc,0xdd,0xb6,0x5a,0x05,0x0b,0x49,0x1f,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7c,0xfa,0xff,0xea,0xea,0xff,0xfb,0x80,0x01,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xa2,0xe5,0x74,0x27,0x27,0x72,0xe3,0xa6,0x06,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x17,0x27,0x00,0x0b,0x0c,0x00,0x26,0x18,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0e,0xab,0xab,0x0e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1f,0xe4,0xe4,0x1f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1d,0xe2,0xe2,0x1d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x02,0x17,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1d,0x3a,0xe6,0xe6,0x3a,0x1d,0x1f,0x1f,0x17,0x02,0x00,0x00,
0x00,0x14,0x8c,0xd7,0xe2,0xe2,0xe2,0xe2,0xe2,0xe2,0xe2,0xe2,0xe2,0xe6,0xfd,0xfd,0xe6,0xe2,0xe2,0xe2,0xd7,0x8c,0x14,0x00,
0x02,0x8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02,0x1a,0x24,0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x24,0x1a,0x02,0x00,0x00,
};
const lv_image_dsc_t img_node_client_image = {
.header.magic = LV_IMAGE_HEADER_MAGIC,
.header.cf = LV_COLOR_FORMAT_A8,
.header.flags = 0,
.header.w = 24,
.header.h = 24,
.header.stride = 24,
.data_size = sizeof(img_node_client_image_map),
.data = img_node_client_image_map,
};