no need to check the availability of a GD function in the ImageMagick resize algorithm

git-svn-id: http://piwigo.org/svn/trunk@9022 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2011-01-31 22:43:41 +00:00
parent aae2301da9
commit a27421cca1
+1 -5
View File
@@ -546,11 +546,7 @@ function pwg_image_resize_im($source_filepath, $destination_filepath, $max_width
$image = new Imagick($source_filepath);
$rotation = null;
if (function_exists('imagerotate'))
{
$rotation = get_rotation_angle($source_filepath);
}
$rotation = get_rotation_angle($source_filepath);
// width/height
$source_width = $image->getImageWidth();