in reply to Re: Random Pictures Using .pngs ... how?
in thread Random Pictures Using .pngs ... how?

Before your print add:
print "Content-Type: image/png\n\n";
and your script is now a CGI script that can be put behind a webserver. There is now no need for a temporary file!