mirror of
https://github.com/friendica/friendica
synced 2024-11-09 23:42:53 +00:00
Revert interlace stuff
This commit is contained in:
parent
c56b915dee
commit
b8b1b7bb84
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue