March 27th, 2005, 09:14 PM
Output Image on Webpage
I wish to display an image on a webpage. I drew it using the Python Image Library but how do I show it in a web browser?
March 28th, 2005, 06:22 AM
If your doing this in a plain HTML page then you need to save the image and use <img src="fileName.ext"> to display the picture like you would in any HTML.
If you're talking about CGI etc. then you should be able to display it by printing the images data inside the image tag, rather than saving it to a file .
Hope this helps,