Aleksander Machniak
2016-05-22 77b5d7ee304a688a2eb115ce04b460b43c0dd700
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);