]> git.mxchange.org Git - friendica.git/commitdiff
Revert interlace stuff
authorMichael <heluecht@pirati.ca>
Tue, 28 Nov 2023 14:57:11 +0000 (14:57 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 28 Nov 2023 14:57:11 +0000 (14:57 +0000)
src/Object/Image.php

index 0e99e9b9a93b4d22fb36204a45787d8f85d1ac65..28fa636be265aa94898ebd8baefc245154b3c123 100644 (file)
@@ -175,7 +175,6 @@ class Image
                                $this->valid  = true;
                                imagealphablending($this->image, false);
                                imagesavealpha($this->image, true);
-                               imageinterlace($this->image, true);
 
                                return true;
                        }
@@ -544,7 +543,6 @@ class Image
                        $dest = imagecreatetruecolor($dest_width, $dest_height);
                        imagealphablending($dest, false);
                        imagesavealpha($dest, true);
-                       imageinterlace($dest, true);
 
                        if ($this->type=='image/png') {
                                imagefill($dest, 0, 0, imagecolorallocatealpha($dest, 0, 0, 0, 127)); // fill with alpha
@@ -614,7 +612,7 @@ class Image
                $dest = imagecreatetruecolor($max, $max);
                imagealphablending($dest, false);
                imagesavealpha($dest, true);
-               imageinterlace($dest, true);
+
                if ($this->type=='image/png') {
                        imagefill($dest, 0, 0, imagecolorallocatealpha($dest, 0, 0, 0, 127)); // fill with alpha
                }