Test: /ext/gd/tests/bug79068.phpt - Version 7.4.4        

Bug #79068 gdTransformAffineCopy() changes interpolation method
Submitted: 2020-01-06 09:28:40 Modified: 2020-01-06 09:28:45
From: cmb Assigned: cmb
Status: Closed Package: GD related
PHP Version: 7.3Git-2020-01-06 (Git) OS: *

There are 2 different diffs reported by users for this test.

Count Diff
5 (83%)
001+ The image size differs: expected 114x115, got 117x117. 001- The images are equal.
1 (17%)
001+ libpng warning: Application built with libpng-1.6.37 but running with 1.5.13 001- The images are equal. 002+ 003+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct in /data/sources/php-7.4.4/ext/gd/tests/func.inc on line 86 004+ 005+ Warning: imagecreatefrompng(): '/data/sources/php-7.4.4/ext/gd/tests/bug79068.png' is not a valid PNG file in /data/sources/php-7.4.4/ext/gd/tests/func.inc on line 86 006+ 007+ Warning: imageistruecolor() expects parameter 1 to be resource, bool given in /data/sources/php-7.4.4/ext/gd/tests/func.inc on line 123 008+ 009+ Warning: imagesx() expects parameter 1 to be resource, bool given in /data/sources/php-7.4.4/ext/gd/tests/func.inc on line 126 010+ 011+ Warning: imagesy() expects parameter 1 to be resource, bool given in /data/sources/php-7.4.4/ext/gd/tests/func.inc on line 127 012+ 013+ Warning: imagecreatetruecolor(): Invalid image dimensions in /data/sources/php-7.4.4/ext/gd/tests/func.inc on line 128 014+ 015+ Warning: imagecopy() expects parameter 1 to be resource, bool given in /data/sources/php-7.4.4/ext/gd/tests/func.inc on line 129 016+ 017+ Warning: imagesx() expects parameter 1 to be resource, bool given in /data/sources/php-7.4.4/ext/gd/tests/func.inc on line 88 018+ 019+ Warning: imagesy() expects parameter 1 to be resource, bool given in /data/sources/php-7.4.4/ext/gd/tests/func.inc on line 89 020+ The image size differs: expected x, got 114x115. 021+ libpng warning: Application built with libpng-1.6.37 but running with 1.5.13 022+ 023+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in /data/sources/php-7.4.4/ext/gd/tests/func.inc on line 147