Noticed the library has methods to draw bmp and jpg from buffer but not png, so I added it.
Tried it on my Inkplate10 (v1) and behaves identically to drawPngFromWeb
Personally I need a function like this as I download png data using a custom function (need to also read HTTP headers) and needed a way to write to the display without drawing again from a URL or SD card.
Noticed the library has methods to draw bmp and jpg from buffer but not png, so I added it.
Tried it on my Inkplate10 (v1) and behaves identically to
drawPngFromWeb
Personally I need a function like this as I download png data using a custom function (need to also read HTTP headers) and needed a way to write to the display without drawing again from a URL or SD card.