summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
90f9502)
Fixes #2805
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
$this->logger->debug('DownloadImages: Re-creating jpg');
break;
case 'png':
$this->logger->debug('DownloadImages: Re-creating jpg');
break;
case 'png':
+ imagealphablending($im, false);
+ imagesavealpha($im, true);
imagepng($im, $localPath, ceil(self::REGENERATE_PICTURES_QUALITY / 100 * 9));
$this->logger->debug('DownloadImages: Re-creating png');
}
imagepng($im, $localPath, ceil(self::REGENERATE_PICTURES_QUALITY / 100 * 9));
$this->logger->debug('DownloadImages: Re-creating png');
}