-
Verify that ImageMagick is already installed on your system.
Use the ImageMagick convert command to check that you have the right software installed on your machine. This command is usually located in /usr/bin: install Image.
-
If the ImageMagick software is not available on your system, download and install the
appropriate package for your platform.
To download ImageMagick, browse to ImageMagick download website.
Note: In next steps you will make changes to the Alfresco Content Services application configuration files to enable the manually installed ImageMagick application. These steps can only be performed after Alfresco Content Services has been installed. - Browse to the <classpathRoot> directory. See System paths for more information.
- Open the alfresco-global.properties file.
-
Modify the ImageMagick properties to point to the ImageMagick root directory:
Table 1. ImageMagick properties Property Description img.root On Windows, set this property to img.root=C:\\ImageMagick On Linux, set this property to img.root=/ImageMagick
Note: Do not include a slash (/) at the end of the path. For example, /ImageMagick/img.dyn On Windows, set this property to img.dyn=${img.root}\\lib On Linux, set this property to img.dyn=${img.root}/lib
img.exe On Windows, set this property to img.exe=${img.root}\\convert.exe On Linux, set this property to img.exe=${img.root}/bin/convert
img.coders On Windows, set this property to img.coders=${img.root}\\modules\\coders On Linux, set this property to img.coders=${img.root}/modules/coders
img.config On Windows, set this property to img.config=${img.root}\\config On Linux, set this property to img.config=${img.root}/config
img.url On Windows, set this property to img.url=${img.root}\\url On Linux, set this property to img.url=${img.root}/url
Note: Test that you are able to convert a PDF using the command convert filename.pdf[0] filename.png.
