chore: add stride information in the image resource file (#5653)
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
This commit is contained in:
@@ -133,6 +133,7 @@ const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_IMAGE_IMG_COGWHEEL_INDEXED16 uint8_t i
|
||||
const lv_image_dsc_t img_cogwheel_indexed16 = {
|
||||
.header.w = 100,
|
||||
.header.h = 100,
|
||||
.header.stride = 50,
|
||||
.header.cf = LV_COLOR_FORMAT_I4,
|
||||
.data = img_cogwheel_indexed16_map,
|
||||
.data_size = sizeof(img_cogwheel_indexed16_map),
|
||||
|
||||
Reference in New Issue
Block a user