Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Image::Magick slowness in CGI

by atemon (Chaplain)
on Oct 03, 2007 at 18:32 UTC ( [id://642476]=note: print w/replies, xml ) Need Help??


in reply to Re: Image::Magick slowness in CGI
in thread Image::Magick slowness in CGI

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.

  1. Set directly by Apache
  2. Passed by OS
In some cases apache will suppress some environment variables from being passed. It can caused problems.

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.
Try using

PassEnv MAGICK_HOME
and its value, will become available to CGI scripts.

check with your /ImageMagick/im-faq.tgz or /ImageMagick/im-faq.zip. for more details.
The zip file contains im-faq.pod and .html, im-faq-1.cgi and env.cgi.

Updates:
This FAQ is available here

Cheers !

--VC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://642476]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-04-25 21:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found