Merge remote-tracking branch 'upstream/develop' into issue-13845
This commit is contained in:
commit
259e7876ad
|
@ -175,6 +175,7 @@ class Image
|
||||||
$this->valid = true;
|
$this->valid = true;
|
||||||
imagealphablending($this->image, false);
|
imagealphablending($this->image, false);
|
||||||
imagesavealpha($this->image, true);
|
imagesavealpha($this->image, true);
|
||||||
|
imageinterlace($this->image, true);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -667,9 +668,6 @@ class Image
|
||||||
|
|
||||||
$stream = fopen('php://memory','r+');
|
$stream = fopen('php://memory','r+');
|
||||||
|
|
||||||
// Enable interlacing
|
|
||||||
imageinterlace($this->image, true);
|
|
||||||
|
|
||||||
switch ($this->getType()) {
|
switch ($this->getType()) {
|
||||||
case 'image/png':
|
case 'image/png':
|
||||||
$quality = DI::config()->get('system', 'png_quality');
|
$quality = DI::config()->get('system', 'png_quality');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user