Hi @davidma
There is nothing special for png file. This is the code I used.
img_b64 = base64.b64encode(open("16x16_jpg_png_file", "rb").read()).decode('utf-8')
Loney
Hi @davidma
There is nothing special for png file. This is the code I used.
img_b64 = base64.b64encode(open("16x16_jpg_png_file", "rb").read()).decode('utf-8')
Loney