Danke!
I was able to take your example and graft it together with an
example for using GD::Graph and do exactly what I wanted.
On Tuesday 26 March 2002 10:53 am, you wrote:
> Hi!
>
> On Tue, Mar 26, 2002 at 05:31:07AM -0600, Leeland Heins wrote:
> > Should I use the meta method for setting the h
At 5:53 PM +0100 3/26/02, Axel Beckert - ecos gmbh wrote:
>But in general it works. E.g. the following little Embperl script
>works fine:
>
>[- $req_rec->content_type('image/gif'); # Sending the right header
>$escmode = 0; # No HTML escaping
>$image = 'embperl_pb2.gif';
>open(IMG,'<',$
Hi!
On Tue, Mar 26, 2002 at 05:31:07AM -0600, Leeland Heins wrote:
> Should I use the meta method for setting the http header, or
> $http_headers_out?
Both should work.
> Do I need to set optEarlyHttpHeader?
Nope. But $escmode = 0 is useful. :-)
> What file handle can I
> print or write the
of your image.
Michael
> -Original Message-
> From: Leeland Heins [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 26, 2002 11:31 AM
> To: [EMAIL PROTECTED]
> Subject: Generating images with EmbPerl
>
>
> I have a need to generate images (graphs created with Perl
>
I have a need to generate images (graphs created with Perl
modules like GDGraph). I don't want to store the images
anywhere, I want the code to generate and send the images.
I've done this many times in CGI, just by sending out the right
header for "Content-type: image/gif" or whatever type of im