How to save snapshot data to PNG file?

As the title says,I want to save screenShot as PNG file,but lv.img_dsc_t.data is blob type
image
How can i save to PNG file in microPython environment?
Thanks so much!

1 Like