设置图片存储在FLASH 中模拟仿真无法显示图片的问题

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

设置图片存储在FLASH 中模拟仿真无法显示图片的问题

Jump to solution
784 Views
ZYQ
Contributor I

GUI guider 1.8.0版本中 将图片设置为存储在FLASH 中,那么模拟仿真的时候将无法显示图片资源

ZYQ_0-1725981510723.png

 

0 Kudos
Reply
1 Solution
686 Views
WenbinYuan
NXP Employee
NXP Employee

Hi @ZYQ,

 

Please note that when you storing the images in external storage(SD card, Flash) the LVGL will decoding the original image file which cost lots of runtime memory.

The simple solution is increasing the mem size of LVLG:

WenbinYuan_0-1726627316668.png

 

Best Regards,

Wenbin

View solution in original post

0 Kudos
Reply
3 Replies
762 Views
WenbinYuan
NXP Employee
NXP Employee

Hi @ZYQ,

 

Please try to use image with same size of widget and JPG format, it may has a different result.

 

Best Regards,

Wenbin

0 Kudos
Reply
719 Views
ZYQ
Contributor I
经过反复测试,发现小分辨率的图像是可以显示的,尺寸稍微大一点就不行了,比如你可以在800*480的屏幕上,使用image 组件 ,放一张 480*320的图片就不可以,
0 Kudos
Reply
687 Views
WenbinYuan
NXP Employee
NXP Employee

Hi @ZYQ,

 

Please note that when you storing the images in external storage(SD card, Flash) the LVGL will decoding the original image file which cost lots of runtime memory.

The simple solution is increasing the mem size of LVLG:

WenbinYuan_0-1726627316668.png

 

Best Regards,

Wenbin

0 Kudos
Reply