Updated: 2-19-2008 5:35PM EST
Note: Binaries and source distributed without any warranties and licensed under the LGPL.
Initial port of JMagick, the JNI-based interface into the popular C/C++ ImageMagick API, to OS X Leopard 10.5.1 by Eric O'Laughlen.
Distribution is based upon ImageMagick dist version 6.3.6-9_0 (lib verson libMagick.10.0.9.dylib). The architecture of the compiled dependencies and library is: Mach-O dynamically linked shared library i386, so no universal libs in this distribution yet.
JMagick-6.2.6-0-OSX-10.5.1-0.tar.gz (OS X 10.5.1 port binaries)
Overview:
Here's a quick list of what changed in the code:
The build process, for OS X at the moment, creates a dynamic library that can be loaded with dlopen (MH_DYLIB), etc. Although it appears to work, it is just a quick workaround. In the future I imagine it would be better to have the configure script handle dynamic libs and bundles with an option and the extensions then added seamlessly.
Note: The build process attaches the version as a part of the filename. For example the lib name looks something like libJMagick-6.2.6.dylib with a symlink to libJMagick.dylib.
The symlink ensures that Java-based calls to load the shared object work (e.g., make test):
static {
System.loadLibrary("JMagick");
}
Ongoing: Eric is in touch with the JMagick listserv concerning the changes. The desire isn't to manage a separate code base; however, the binaries could still be provided to the community as needed for OS X.