more useful options | |
PerlMonks |
Re^2: Image::Magick slowness in CGIby atemon (Chaplain) |
on Oct 03, 2007 at 18:32 UTC ( [id://642476]=note: print w/replies, xml ) | Need Help?? |
ImageMagick is comparatively slower than other Graphics Packages. It is NOT the problem of PerlMagick (Image::Magick). A possible problem is Environment variables. The CGI has a different environment than that of command-line. The environment variables are set in two ways.
you can workaround this problem by passing environment using PassEnv directive in your httpd.conf ( in your virtual host section ) to pass the named environment variables to CGI scripts instead of suppressing them. and its value, will become available to CGI scripts.
check with your /ImageMagick/im-faq.tgz or /ImageMagick/im-faq.zip. for more details.
Updates: Cheers ! --VC
In Section
Seekers of Perl Wisdom
|
|