Quality decrease in libgd3 with upgrade to 2.1.1-4ubuntu0.16.04.5
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libgd2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hello,
I use GD for resizing/branding images in PHP.
Everything worked fine with libgd3 <= 2.1.1-4build2
Since libgd3=
A simple code example:
<?php
$outImage = imagecreatetrue
$color = imagecoloralloc
imagefilledrect
$im = imagecreatefrom
imagecopyresamp
imagepng($im);
?>
With 2.1.1-4build2 everything looks fine but with newer versions there are stripes of a little darker color in the area of the transparent pixels of the overlayed image.
The version of php-gd or the php version itself (5.6, 7.0 from main or ondrej-ppa) doesn't have any influence.
The ubuntu changelog only says that there were some security fixes.
Is there a workaround?
regards
Ewald Stangl
affects: | ubuntu → libgd2 (Ubuntu) |
Status changed to 'Confirmed' because the bug affects multiple users.