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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
1,118 次查看
ZYQ
Contributor II

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

ZYQ_0-1725981510723.png

 

0 项奖励
回复
1 解答
1,020 次查看
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 项奖励
回复
3 回复数
1,096 次查看
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 项奖励
回复
1,053 次查看
ZYQ
Contributor II
经过反复测试,发现小分辨率的图像是可以显示的,尺寸稍微大一点就不行了,比如你可以在800*480的屏幕上,使用image 组件 ,放一张 480*320的图片就不可以,
0 项奖励
回复
1,021 次查看
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 项奖励
回复