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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
1,111件の閲覧回数
ZYQ
Contributor II

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

ZYQ_0-1725981510723.png

 

0 件の賞賛
返信
1 解決策
1,013件の閲覧回数
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,089件の閲覧回数
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,046件の閲覧回数
ZYQ
Contributor II
经过反复测试,发现小分辨率的图像是可以显示的,尺寸稍微大一点就不行了,比如你可以在800*480的屏幕上,使用image 组件 ,放一张 480*320的图片就不可以,
0 件の賞賛
返信
1,014件の閲覧回数
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 件の賞賛
返信