mardi 18 décembre 2018

Render image on webpage from pixel array

I have a python array with shape 64x64x3. Thus 64 width, 64 height and 3 RGB pixel values. How do I render this pixel array on my website? Is there for example a way to let the <img> tag read in a pixel array instead of a filename?

Solutions with JavaScript arrays are good as well.

Aucun commentaire:

Enregistrer un commentaire