From b8b1b7bb840dc99a65c2e02fec80760695ab0eca Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 28 Nov 2023 14:57:11 +0000 Subject: [PATCH] Revert interlace stuff --- src/Object/Image.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Object/Image.php b/src/Object/Image.php index 0e99e9b9a9..28fa636be2 100644 --- a/src/Object/Image.php +++ b/src/Object/Image.php @@ -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 }