Hi All,
We are using lodepng in LVGL and found that it crashes with 16 bit/channel images. We fixed it like this.
Probably it's not the best way to fix it, though.
This is an image to reproduce the error:

Are you interested in fixing it here as well? If so, I can send a PR.
Hi All,
We are using lodepng in LVGL and found that it crashes with 16 bit/channel images. We fixed it like this.
Probably it's not the best way to fix it, though.
This is an image to reproduce the error:

Are you interested in fixing it here as well? If so, I can send a PR.