What is the right way to serve dynamically generated images using Apache and mod_perl?
Posted
by aidan
on Stack Overflow
See other posts from Stack Overflow
or by aidan
Published on 2010-03-24T13:06:29Z
Indexed on
2010/03/24
14:23 UTC
Read the original article
Hit count: 295
I have an Apache2/mod_perl2 system up and running.
I'm using GD to create an image on the fly, and I'm then printing it like this:
$r->content_type('image/png');
binmode STDOUT;
print $im->png;
But is this the correct way to do things in mod_perl2
?
(Ignore the fact that I'm generating an image on the fly and not caching it etc ...)
© Stack Overflow or respective owner