[-] CORE : fixed bug #PSCFV-6545 - ImageManager::resize() error

This commit is contained in:
vAugagneur committed 2013-02-15 12:13:13 +01:00
1 parent 838a360092
commit 2dd6ef4f19
1 file changed
+3
+3
View File
@@ -168,6 +168,9 @@ class ImageManagerCore
} }
} }
if (!ImageManager::checkImageMemoryLimit($src_file))
return false;
$dest_image = imagecreatetruecolor($dst_width, $dst_height); $dest_image = imagecreatetruecolor($dst_width, $dst_height);
// If image is a PNG and the output is PNG, fill with transparency. Else fill with white background. // If image is a PNG and the output is PNG, fill with transparency. Else fill with white background.