Fixed ability to use ImageMagick instead GraphicsMagick