Torsten Luettgert schrieb:
Don't know about Embperl object, but for me, it "just works".
Here is some (reduced) code I use for delivering jpeg images:
Interesting enough this doesn't work ( it outputs nothing! ):
[-
# some permission checking and obtaining $imgpath omitted
if( -f $imgpath && $permission ) {
$http_headers_out{'Content-Length'} = -s $imgpath;
$http_headers_out{'Content-Type'} = 'image/jpeg';
$http_headers_out{'Cache-Control'} = 'no-cache';
$http_headers_out{'Pragma'} = 'no-cache';
$http_headers_out{'Expires'} = '0';
my $image = Image::Magick->new();
$image->read($imgpath);
$image->do_something_or_not();
$image->write('-')
exit 0;
}
-]
and this is, err, strange behavior, I think.
regards
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
mit freundlichem Gruß
Frank Wesemann
Fotofinder GmbH USt-IdNr. DE812854514
Software Entwicklung Web: http://www.fotofinder.net/
Potsdamer Str. 96 Tel: +49 30 59006977
10785 Berlin Fax: +49 30 59006959
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]