= 2.0 (quite fast)'; elseif (extension_loaded('imagick') && function_exists('imagick_readimage')) $img = 'Imagick < 2.0 (fast?)'; elseif (function_exists('imagecopyresampled') && extension_loaded('gd')) $img = 'GD >= 2.0 (slow)'; else $img = 'None'; echo "
Image resize engine : {$img}
"; ?>