Draw with png raw data
I have a string that has the data of a png and I'd like to be able to draw.
I have a string that has the data of a png and I'd like to be able to draw.
If you have an image you can convert it to Data URL . Item DataUrl pass to another image to display .
or
let img = new Image();
img.src = 'data:image/png;base64,AAAAAABBBBBBBB...';
In pure JavaScript you can do this.
In MicroScript I also saw that there is a scr field but now I can't find what path it has.
Edit
If you want to manipulate pixels see this example .