I am working on a piece of Python code (learning as I go), the output of which needs to be passed onto a Javascript application using JSON. Is it possible pass an image (in whatever format) onto the Javascript application using JSON? I have no idea, but if possible it is something I need to learn how to do.
Ultimately, this python code will run inside the Javascript application.