Hello all, I'm a newbie with mod_perl so please be patient with me.

I'm working no a very simple image manipulation script using perlMagick. The
script reads an image from file, resizes it, and then serves it up to the
browser using the perlMagick function Write, like this: $pic->Write("jpg:-")

I've tested this script under Apache 2.0 and perl 5.8.8 and it works fine.
But as soon as I run it under mod_perl (using ModPerl::Registry as
perlHandler) the same code will no longer yield the image to the browser.
The header content type is being set correctly to "image/jpg" but after that
the document is 0k.

Are there specific problems of using perlMagick and mod_perl? Or is this an
issue with the way I am attempting to write the image to the browser via
mod_perl? I have tried flushing the buffer in the usual mod_perl way, but to
no avail.

Thanks for your help.

-- 
View this message in context: 
http://www.nabble.com/mod_perl-and-perlMagick-Write-tp18198248p18198248.html
Sent from the mod_perl - General mailing list archive at Nabble.com.

Reply via email to