ImageMagick Configuration

From AlfrescoWiki

Jump to: navigation, search

To install ImageMagick follow the steps below:

  • Install ImageMagick
  • Ensure that the ImageMagick binaries are in the system path
  • Then either
    • rename the convert executable to imconvert to avoid a conflict with the Windows convert.exe OR
    • override the transformer.ImageMagick bean found in content-services-context.xml and modify the commandMap.
    • (Note that this is required because at least on SUSE 10.1 the default ImageMagick executable is called convert)

Additionally, you can install JMagick if you would rather use the Java bridge to ImageMagick.

  • Install JMagick
  • Copy the JMagick library to a location on your path or modify your system path
  • Ensure that the ImageMagick libraries are visible on your system path

If, when the server starts, there ISN'T a message indicating that the ImageMagick transformer didn't start then everything is OK. If you don't need the transformer and the message irritates you, you override the bean name with a dummy bean that does nothing, e.g. <extensionRoot>/alfresco/extension/custom-context.xml

  <bean id="transformer.ImageMagick" class="java.util.ArrayList" />

Back to Server Configuration