Fix ImageMagick which convert issue (PHP 5.3.2+)