chore: add stride information in the image resource file (#5653)

Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
This commit is contained in:
_VIFEXTech
2024-02-15 11:58:18 +08:00
committed by GitHub
parent bf47753ee0
commit aad5a325d5
111 changed files with 150 additions and 11 deletions

View File

@@ -46,6 +46,7 @@ const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMAGE_IMG_STA
const lv_image_dsc_t img_star = {
.header.w = 30,
.header.h = 29,
.header.stride = 120,
.header.cf = LV_COLOR_FORMAT_ARGB8888,
.data = img_star_map,
.data_size = sizeof(img_star_map),