node display image from binary code example
Example 1: how to write a script to display an image in python
>>> from PIL import Image
>>> img = Image.open('test.png')
>>> img.show()
Example 2: how to display image in html from json object
for (var i = 0; i < boldStuffs.length; i += 1) {
var fruit = getRandomItem(fruitsArray);
boldStuffs[i].innerHTML = fruit.name + '<img src="'+fruit.image+'">';
}