Re: GraphicsMagick may collapse when binding into a server

Bob Friesenhahn <[email protected]> Mon, 20 May 2013 08:19:45 -0500 (CDT)
Newsgroups gmane.comp.video.graphicsmagick.bugs
Message-ID <[email protected]>
On Mon, 20 May 2013, Feng Liyuan wrote:

> Thanks for your help.
> 
> If I want to `invoking InitializeMagick() once`, did it mean `InitializeMagick(NULL)` because I canot find
> `InitializeMagick()`?

Under Unix/Linux type systems, passing NULL as the argument should 
work just fine.  The argument is intended to help GM find its own 
components based on where its executable (or DLL) happens to be 
installed.  There are several different means for GM to find its own 
components (including the Unix/Linux default of hard-coded paths 
compiled into the binaries) and the argv[0] approach is the method of 
last resort.

Bob
-- 
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d