Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

load image from file system slows everything #76

Open
borkog opened this issue Dec 26, 2024 · 3 comments
Open

load image from file system slows everything #76

borkog opened this issue Dec 26, 2024 · 3 comments

Comments

@borkog
Copy link

borkog commented Dec 26, 2024

Hi,
When I load image into imageWidget from the file system (SD card) everything gets slower (arc, text scroll) ..

I got nothing in the loop() but

  lv_timer_handler();  
  delay(20);     

It is fine when I load image from the memory (with .h file)

Thanks,
B.

@lewisxhe
Copy link
Contributor

Do you mean when loading images and other resources from SD?

@borkog
Copy link
Author

borkog commented Dec 27, 2024

Yes, like this
lv_img_set_src(ui_aaaa, "A:/boot.jpg");

it's full size image, and arc on top of it

@borkog
Copy link
Author

borkog commented Dec 28, 2024

It appears that LVGL doesn't like progressive JPG
When you "Export as" from Photoshop it defaults to progressive
Hope it helps...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants