To enable image manipulation in Transform Service, you must install and configure ImageMagick. Transform Service uses ImageMagick to manipulate images for previewing.
- Check if 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 isn’t 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’ll make changes to the Content Services configuration files to enable the manually installed ImageMagick application. These steps can only be performed after Content Services has been installed.
The following table lists example of how to set the paths to different things when starting Transform Core AIO later on:
Property Description img.root Windows: img.root=C:\\ImageMagickLinux: img.root=/ImageMagick Note: Don’t include a slash (/) at the end of the path, i.e. /ImageMagick/.img.dyn Windows: img.dyn=${img.root}\\libLinux: img.dyn=${img.root}/lib img.exe Windows: img.exe=${img.root}\\convert.exeLinux: img.exe=${img.root}/bin/convert img.coders Windows: img.coders=${img.root}\\modules\\codersLinux: img.coders=${img.root}/modules/coders img.config Windows: img.config=${img.root}\\configLinux: img.config=${img.root}/config img.url Windows: img.url=${img.root}\\urlLinux: img.url=${img.root}/url Note: Test that you’re able to convert a PDF using the command: convert filename.pdf[0] filename.png.