]> git.mxchange.org Git - friendica.git/blobdiff - src/Object/Image.php
Unneeded logging removed
[friendica.git] / src / Object / Image.php
index 5e915d84f5f47ca9154c2cb6b7a3f45aa7e11f71..28fa636be265aa94898ebd8baefc245154b3c123 100644 (file)
@@ -612,6 +612,7 @@ class Image
                $dest = imagecreatetruecolor($max, $max);
                imagealphablending($dest, false);
                imagesavealpha($dest, true);
+
                if ($this->type=='image/png') {
                        imagefill($dest, 0, 0, imagecolorallocatealpha($dest, 0, 0, 0, 127)); // fill with alpha
                }