Test: /ext/gd/tests/bug73272.phpt - Version 7.2.12        

Bug #73272 imagescale() is not affected by, but affects imagesetinterpolation()
Submitted: 2016-10-09 12:12:38 Modified: 2016-10-09 12:36:07
From: cmb Assigned: cmb
Status: Closed Package: GD related
PHP Version: master-Git-2016-10-09 (Git) OS: *

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

Count Diff
4 (50%)
001+ The image size differs: expected 135x136, got 138x138.
001- The images are equal.
2 (25%)
001+ libpng warning: Application built with libpng-1.5.13 but running with 1.6.36
002+
001- The images are equal.
002- ===DONE===
003+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct in /usr/local/src/php-7.2.12/ext/gd/tests/func.inc on line 86
004+
005+ Warning: imagecreatefrompng(): '/usr/local/src/php-7.2.12/ext/gd/tests/bug73272.png' is not a valid PNG file in /usr/local/src/php-7.2.12/ext/gd/tests/func.inc on line 86
006+
007+ Warning: imageistruecolor() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.12/ext/gd/tests/func.inc on line 123
008+
009+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.12/ext/gd/tests/func.inc on line 126
010+
011+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.12/ext/gd/tests/func.inc on line 127
012+
013+ Warning: imagecreatetruecolor(): Invalid image dimensions in /usr/local/src/php-7.2.12/ext/gd/tests/func.inc on line 128
014+
015+ Warning: imagecopy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.12/ext/gd/tests/func.inc on line 129
016+
017+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.12/ext/gd/tests/func.inc on line 88
018+
019+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.12/ext/gd/tests/func.inc on line 89
020+ The image size differs: expected x, got 135x136.
021+ libpng warning: Application built with libpng-1.5.13 but running with 1.6.36
022+
023+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in /usr/local/src/php-7.2.12/ext/gd/tests/func.inc on line 147
024+ ===DONE===
1 (13%)
001+ libpng warning: Application built with libpng-1.2.49 but running with 1.5.13
002+
001- The images are equal.
002- ===DONE===
003+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct in /usr/local/src/src/php-7.2.12/ext/gd/tests/func.inc on line 86
004+
005+ Warning: imagecreatefrompng(): '/usr/local/src/src/php-7.2.12/ext/gd/tests/bug73272.png' is not a valid PNG file in /usr/local/src/src/php-7.2.12/ext/gd/tests/func.inc on line 86
006+
007+ Warning: imageistruecolor() expects parameter 1 to be resource, boolean given in /usr/local/src/src/php-7.2.12/ext/gd/tests/func.inc on line 123
008+
009+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /usr/local/src/src/php-7.2.12/ext/gd/tests/func.inc on line 126
010+
011+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /usr/local/src/src/php-7.2.12/ext/gd/tests/func.inc on line 127
012+
013+ Warning: imagecreatetruecolor(): Invalid image dimensions in /usr/local/src/src/php-7.2.12/ext/gd/tests/func.inc on line 128
014+
015+ Warning: imagecopy() expects parameter 1 to be resource, boolean given in /usr/local/src/src/php-7.2.12/ext/gd/tests/func.inc on line 129
016+
017+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /usr/local/src/src/php-7.2.12/ext/gd/tests/func.inc on line 88
018+
019+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /usr/local/src/src/php-7.2.12/ext/gd/tests/func.inc on line 89
020+ The image size differs: expected x, got 135x136.
021+ libpng warning: Application built with libpng-1.2.49 but running with 1.5.13
022+
023+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in /usr/local/src/src/php-7.2.12/ext/gd/tests/func.inc on line 147
024+ ===DONE===
1 (13%)
001+ The image size differs: expected 135x136, got 135x135.
001- The images are equal.