We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I use LVGL's file system API, it work fine when i transform the img to bin file,but when i open png file directly,it display “nodata”.
I Initalize the decocer with lv_png_init() and add #define LV_PNG_USE_LV_FILESYSTEM 1.
It printf: ERROR 48:empty input buffer given to decoder. Maybe caused by non-existing file?
The text was updated successfully, but these errors were encountered:
Hi,
Have you tried to open this example file? lv_img_set_src(img, "P:lv_lib_lodepng/png_decoder_test.png");
lv_img_set_src(img, "P:lv_lib_lodepng/png_decoder_test.png");
If so have you placed lv_lib_lodepng to the root folder of the project?
lv_lib_lodepng
Can you "manually" open the file with lv_fs_open?
lv_fs_open
Sorry, something went wrong.
Yes, I placed lv_lib_lodepng to the root folder of the project, and try the example. I will try to manually open the file with lv_fs_open, thank you!
No branches or pull requests
I use LVGL's file system API, it work fine when i transform the img to bin file,but when i open png file directly,it display “nodata”.
I Initalize the decocer with lv_png_init() and add #define LV_PNG_USE_LV_FILESYSTEM 1.
It printf: ERROR 48:empty input buffer given to decoder. Maybe caused by non-existing file?
The text was updated successfully, but these errors were encountered: