I think the image needs to be an 'image string' - looks like you maybe just exported it as 'image object' from the image converter - so ideally just typing g.drawImage(buf) should do it
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I think the image needs to be an 'image string' - looks like you maybe just exported it as 'image object' from the image converter - so ideally just typing
g.drawImage(buf)
should do it