[-] CORE : fixed bug #PSCFV-6545 - ImageManager::resize() error
This commit is contained in:
1 parent
838a360092
commit
2dd6ef4f19
1 file changed
+3
@@ -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.
|
||||||
|
|||||||
Reference in new issue
Block a user