chore: add stride information in the image resource file (#5653)
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
This commit is contained in:
@@ -25,6 +25,7 @@ const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_IMAGE_IMG_HAND uint8_t img_hand_map[]
|
||||
const lv_image_dsc_t img_hand = {
|
||||
.header.w = 100,
|
||||
.header.h = 9,
|
||||
.header.stride = 400,
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.data = img_hand_map,
|
||||
.data_size = sizeof(img_hand_map),
|
||||
|
||||
Reference in New Issue
Block a user