ImageMagick Library Name Change
Posted: 2013-02-25T03:43:10-07:00
There is a change in the ImageMagick library and header naming convention for Linux as of ImageMagick 6.8.3. The change was made to permit multiple versions, quantums, and HDRI / non-HDRI to coexist on the same system. Now MagickCore, MagickWand, and Magick++ are decorated with the version, quantum depth, and optionally HDRI of the build (e.g. libMagickCore-6.Q16.so, libMagickCore-7.Q16HDRI.so). The header files now reside in an include path that is decorated with the version (e.g. /usr/include/ImageMagick-6).
Developers can select quantums and / or HDRI with these compiler flags: MAGICKCORE_QUANTUM_DEPTH and MAGICKCORE_HDRI_ENABLE (e.g. -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16). If you already use the recommended *-config (e.g. MagickCore-config) and pkg-config (e.g. pkg-config MagickCore) scripts for ImageMagick development, your code should continue to build and execute without any problems.
Thanks to Bastien Roucaries for the initial jumbo patches to bootstrap these changes.
Developers can select quantums and / or HDRI with these compiler flags: MAGICKCORE_QUANTUM_DEPTH and MAGICKCORE_HDRI_ENABLE (e.g. -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16). If you already use the recommended *-config (e.g. MagickCore-config) and pkg-config (e.g. pkg-config MagickCore) scripts for ImageMagick development, your code should continue to build and execute without any problems.
Thanks to Bastien Roucaries for the initial jumbo patches to bootstrap these changes.