From: Bob Friesenhahn <bfriesen@si...> - 2010-01-27 00:41:56
This email only applies to those using the GraphicsMagick C or C++
APIs. Command line utility, PerlMagick, and TclMagick users should
feel free to ignore this.
As of the GraphicsMagick 1.3.8 release, it is absolutely required to
invoke the InitializeMagick() function before using the C or C++ APIs.
This function has always been part of GraphicsMagick (and recommended
to be used) but it was often believed to not be necessary since the
library usually worked without invoking it. This absolute requirement
is now imposed in order to improve thread safety and efficiency.
Failure to invoke InitializeMagick() will surely lead to either a
thrown assertion (if assertions are enabled) or an immediate crash.
InitializeMagick() may be invoked any number of times so if you are
not sure if the library is initialized, then simply invoke it again.
If you are responsible for updating GraphicsMagick, please make sure
that any programs or libraries using the GraphicsMagick APIs are
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/