diff --git a/demos/music/assets/img_lv_demo_music_cover_1.c b/demos/music/assets/img_lv_demo_music_cover_1.c index 8edf379b9..d54e06667 100644 --- a/demos/music/assets/img_lv_demo_music_cover_1.c +++ b/demos/music/assets/img_lv_demo_music_cover_1.c @@ -187,6 +187,7 @@ const LV_ATTRIBUTE_MEM_ALIGN uint8_t img_lv_demo_music_cover_1_map[] = { const lv_image_dsc_t img_lv_demo_music_cover_1 = { .header.w = 176, .header.h = 175, + .header.stride = 704, .header.cf = LV_COLOR_FORMAT_ARGB8888, .data = img_lv_demo_music_cover_1_map, .data_size = sizeof(img_lv_demo_music_cover_1_map), diff --git a/demos/music/assets/img_lv_demo_music_cover_1_large.c b/demos/music/assets/img_lv_demo_music_cover_1_large.c index 045d904db..44c99bcd8 100644 --- a/demos/music/assets/img_lv_demo_music_cover_1_large.c +++ b/demos/music/assets/img_lv_demo_music_cover_1_large.c @@ -448,6 +448,7 @@ img_lv_demo_music_cover_1_map[] = { const lv_image_dsc_t img_lv_demo_music_cover_1 = { .header.w = 428, .header.h = 428, + .header.stride = 1712, .header.cf = LV_COLOR_FORMAT_ARGB8888, .data = img_lv_demo_music_cover_1_map, .data_size = sizeof(img_lv_demo_music_cover_1_map), diff --git a/demos/music/assets/img_lv_demo_music_cover_2.c b/demos/music/assets/img_lv_demo_music_cover_2.c index d0af29bc4..6865cb6df 100644 --- a/demos/music/assets/img_lv_demo_music_cover_2.c +++ b/demos/music/assets/img_lv_demo_music_cover_2.c @@ -188,6 +188,7 @@ const LV_ATTRIBUTE_MEM_ALIGN uint8_t img_lv_demo_music_cover_2_map[] = { const lv_image_dsc_t img_lv_demo_music_cover_2 = { .header.w = 176, .header.h = 175, + .header.stride = 704, .header.cf = LV_COLOR_FORMAT_ARGB8888, .data = img_lv_demo_music_cover_2_map, .data_size = sizeof(img_lv_demo_music_cover_2_map), diff --git a/demos/music/assets/img_lv_demo_music_cover_2_large.c b/demos/music/assets/img_lv_demo_music_cover_2_large.c index 6f777c50c..4aae5b647 100644 --- a/demos/music/assets/img_lv_demo_music_cover_2_large.c +++ b/demos/music/assets/img_lv_demo_music_cover_2_large.c @@ -448,6 +448,7 @@ img_lv_demo_music_cover_2_map[] = { const lv_image_dsc_t img_lv_demo_music_cover_2 = { .header.w = 428, .header.h = 428, + .header.stride = 1712, .header.cf = LV_COLOR_FORMAT_ARGB8888, .data = img_lv_demo_music_cover_2_map, .data_size = sizeof(img_lv_demo_music_cover_2_map), diff --git a/demos/music/assets/img_lv_demo_music_cover_3.c b/demos/music/assets/img_lv_demo_music_cover_3.c index fd4e01989..683b7c9f4 100644 --- a/demos/music/assets/img_lv_demo_music_cover_3.c +++ b/demos/music/assets/img_lv_demo_music_cover_3.c @@ -188,6 +188,7 @@ const LV_ATTRIBUTE_MEM_ALIGN uint8_t img_lv_demo_music_cover_3_map[] = { const lv_image_dsc_t img_lv_demo_music_cover_3 = { .header.w = 176, .header.h = 175, + .header.stride = 704, .header.cf = LV_COLOR_FORMAT_ARGB8888, .data = img_lv_demo_music_cover_3_map, .data_size = sizeof(img_lv_demo_music_cover_3_map), diff --git a/demos/music/assets/img_lv_demo_music_cover_3_large.c b/demos/music/assets/img_lv_demo_music_cover_3_large.c index 69475bb69..192098703 100644 --- a/demos/music/assets/img_lv_demo_music_cover_3_large.c +++ b/demos/music/assets/img_lv_demo_music_cover_3_large.c @@ -447,6 +447,7 @@ img_lv_demo_music_cover_3_map[] = { const lv_image_dsc_t img_lv_demo_music_cover_3 = { .header.w = 428, .header.h = 428, + .header.stride = 1712, .header.cf = LV_COLOR_FORMAT_ARGB8888, .data = img_lv_demo_music_cover_3_map, .data_size = sizeof(img_lv_demo_music_cover_3_map), diff --git a/examples/assets/img_star.c b/examples/assets/img_star.c index 0910f7664..d62098fa7 100644 --- a/examples/assets/img_star.c +++ b/examples/assets/img_star.c @@ -58,6 +58,7 @@ const lv_image_dsc_t img_star = { .header.magic = LV_IMAGE_HEADER_MAGIC, .header.w = 30, .header.h = 29, + .header.stride = 120, .data_size = 870 * 4, .data = img_star_map, };