simonchen

Results 28 comments of simonchen

esp32 having 320K memory. And I read the code of lodepng, "memory allocation failed" is because case 83 . if esp32 out of memory, I would not send any error,...

but why if I use the normal way(make the png as c-array first), and do not use lodepng, even 100kb png file is works ?

> Hi, I think it'd be better to add a similar [pattern](https://github.com/lvgl/lvgl/blob/26ab373b43d7c4d50bac9cb7d815943348a35c2b/lv_conf_template.h#L95-L97) than in lvgl. It allows platform-independent configuration. If not defined, we can use `malloc/free`. > > What do...

That should be nice. But lv_lib_png need to be change too. > I meant adding **similar** defines for PNG. E.g. > > ```c > #define LV_PNG_MALLOC_INCLUDE /*Header for the dynamic...

> > But lv_lib_png need to be change too. > > Yes, that's why we have this PR smile Or how do you mean it? I'm agree with you.

> Can you update the PR accordingly? To the LVGL main repo ?

can you plase paste the py file ? thanks

got it , thanks

have you resolved this issue ?