GUI-guider exception, Error: Image size out of limit. The width and height should not exceed 1280

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

GUI-guider exception, Error: Image size out of limit. The width and height should not exceed 1280

ソリューションへジャンプ
2,704件の閲覧回数
lucky1
Contributor I

GUI-guider1.4.0

My asserts picture file resolution size 720x1440.

Run simulate occur exception,as flows,

Uit 3.0: Start to generate C code for UI

Uit 3.0: Generate C code for screen
Uit 3.0: Generate C code for screen_img_1
Error: Image size out of limit. The width and height should not exceed 1280 ! color depth: 24 /Applications/Gui-Guider.app/Contents/environment/tools/img-converter/darwin/img-converter -p /Users/ranqiyu/GUI-Guider-Projects/papl_demo_big/import/faceBackground.png -n images/_faceBackground_720x1440 -w 720 -h 1440 -f true-color-alpha -d 24 Error: Run into trouble to generate picture C file

 

How fix it?

Thanks!

 

0 件の賞賛
1 解決策
2,667件の閲覧回数
david_piskula
NXP Employee
NXP Employee

Hello @lucky1, this is a bug in the tool probably made from the assumption that only the officially supported displays (with 1280 px max size) would be supported. The limitation will be removed in version 1.4.1 so that displays of any size can be supported properly. For now a workaround would be to split the image into two parts and create two image widgets.

Thank you for reporting this issue.

元の投稿で解決策を見る

0 件の賞賛
4 返答(返信)
2,668件の閲覧回数
david_piskula
NXP Employee
NXP Employee

Hello @lucky1, this is a bug in the tool probably made from the assumption that only the officially supported displays (with 1280 px max size) would be supported. The limitation will be removed in version 1.4.1 so that displays of any size can be supported properly. For now a workaround would be to split the image into two parts and create two image widgets.

Thank you for reporting this issue.

0 件の賞賛
2,689件の閲覧回数
david_piskula
NXP Employee
NXP Employee

Hello @lucky1, have you tried resizing the picture to have a height of 1280 or less?

0 件の賞賛
2,682件の閲覧回数
lucky1
Contributor I

In fact, if resizing image widget size to have a height of 1280 or less, won't have this exception.

But our display resolution height exceed 1280 to 1440, the lvgl image widget needs to cover the entire display area.

By the way, the real resolution of the picture file is 360x720, not the lvgl image widget size .

0 件の賞賛
2,677件の閲覧回数
david_piskula
NXP Employee
NXP Employee

Hello, can you please describe your whole setup? Which MCU are you using, what are the display dimensions, how did you configure the GuiGuider project?

Or are you only experimenting with the simulator for now?

I am able to reproduce your issue and will report it to our developers.

0 件の賞賛