Open png image?

I’m starting to use micropython and I want to load a stored png image, I tried with

img = lv.img(scr)
img.set_src("./back.png")

But had no success, can somebody please show me an example on how to do with?

Thanks in advance.

Answering my own question, I found this and its working ok!

Hope this helps anyone.

2 Likes