mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 09:03:38 +02:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user