Enabling ImageMagick for PHP 7.4 (Windows)
note
These instructions assume you are using PHP 7.4
To enable the Convert to Tiff Option within the Jadu Central forms action, you will need to install ImageMagick, its associated PHP Plugin, and Ghostscript.
- Download Non Thread Safe (NTS) version for your version of PHP e.g. PHP 7.4 x86.
- Extract to
C:\php
location or your chosen equivalent. - Add or ensure the installation directory (C:\php) is in the system PATH environment variable
- Extract to
- Download ImageMagick zipped archive Release e.g. e.g. PHP 7.4 x86.
- Extract to:
C:\Program Files (x86)\ImageMagick
. - Go to Control Panel -> System -> Advanced Settings -> Environment Variables -> New System Variable -> MAGICK_HOME = C:\Program Files (x86)\ImageMagick\bin
- Extract to:
- Download equivalent ImageMagick DLL
- Extract the
php_imagick.dll
file toC:\php\ext
- Extract the
CORE_RL_*
files from the archive to toC:\php
- Extract the
- Edit your
php.ini
file and add / uncommentextension=php_imagick.dll
line in extensions section. - Download and install Ghostscript 10.0.0 for Windows
- Install to
C:\Program Files\gs\gs10.00.0
- Make a copy of
C:\Program Files\gs\gs10.00.0\bin\gswin64c.exe
and save as "gs.exe" in the same gs bin folder - Edit System Environment Variables - Check PATH has above included
- Install to
- Restart IIS and check phpinfo() for imagick plugin and supported formats (should NOT be "0")
- Can check at:
https://{your install domain}/jadu/maintenance/phpinfo.php
- Can check at:
- If last step does not work, try restart Windows and re-check
Assuming this is visible, you should now see Convert to tiff option within the relevant forms configuration page.
It is worth after this step ensuring that you setup a Form with PDF output and Tiff conversion enabled to test that the actual Tiff is converting to an acceptable quality (there are some further config adjustments possible if necessary), and is able to be pushed into Perceptive Content successfully.