Keep It Simple, Stupid | |
PerlMonks |
How to save an image (using GD) to a fileby belize (Deacon) |
on Nov 27, 2000 at 20:52 UTC ( [id://43509]=perlquestion: print w/replies, xml ) | Need Help?? |
belize has asked for the wisdom of the Perl Monks concerning the following question:
I am using the GD module to create an image and can get it to print directly to a web page using:
used as follows referencing an external CGI:
But if I use the image source as a sub-routine:
I get an ASCII printout on the page instead of the image. So I would like to get the script to save the GD produced image as a file instead of outputting directly to the Webpage, but am having trouble getting it to work. I am using the following code:
The script runs fine, except the $image_test does not show. Any ideas?
Back to
Seekers of Perl Wisdom
|
|