How do I setup GD or ImageMagick for eZ Publish?

In your image.ini you can see all setting possibilities for ImageMagick. But please don’t change anything there, create an override file instead of and edit there. First you must know that eZ Publish supports two image converters: GD2 and Imagemagick.

Advantage of GD: its faster and less delicate
Advantage of ImageMagick: better image quality

If you want to setup ImageMagick as your converter then you must set the following settings in your image.ini.append.php (that’s your image.ini override file):

[ImageConverterSettings]
ImageConverters[]
ImageConverters[]=ImageMagick
ImageConverters[]=GD

This sets ImageMagick as your first used converter and GD as fallback converter, if ImageMagick is not able to convert.

Note: If you change the order of GD and ImageMagick then GD will be used as primary converter and ImageMagick is the fallback.

[GD]
Name=GD
IsEnabled=true
Handler=eZImageGDFactory

Makes the use of GD possible.

[ImageMagick]
Name=ImageMagick
IsEnabled=true
Handler=eZImageShellFactory
ExecutablePath=
Executable=convert

Makes the use of ImageMagick possible.

Note: Make sure that the executable path is empty!

[ImageMagick]
ExecutablePath=