Fwd: Re: Generating images with EmbPerl

2002-03-26 Thread Leeland Heins
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

Re: Generating images with EmbPerl

2002-03-26 Thread Kee Hinckley
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,'<',$

Re: Generating images with EmbPerl

2002-03-26 Thread Axel Beckert - ecos gmbh
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

RE: Generating images with EmbPerl

2002-03-26 Thread Michael Stevens
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 >

Generating images with EmbPerl

2002-03-26 Thread Leeland Heins
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