program/lib/Roundcube/rcube_image.php | ●●●●● patch | view | raw | blame | history |
program/lib/Roundcube/rcube_image.php
@@ -232,6 +232,10 @@ $height = intval($props['height'] * $scale); $new_image = imagecreatetruecolor($width, $height); if ($new_image === false) { return false; } // Fix transparency of gif/png image if ($props['gd_type'] != IMAGETYPE_JPEG) { imagealphablending($new_image, false);