Test: /ext/gd/tests/jpeg2png.phpt - Version 7.2.19    

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

Count Diff
2 (67%)
001+ PNG to JPEG conversion: libpng warning: Application built with libpng-1.6.40 but running with 1.5.13
002+
003+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct
004+ in %s/jpeg2png.php on line 5
001- PNG to JPEG conversion: ok
002- Generated JPEG to PNG conversion: ok
003- JPEG to PNG conversion: ok
004- Generated PNG to JPEG conversion: ok
005+
006+ Warning: imagecreatefrompng(): '/usr/local/src/php-7.2.19/ext/gd/tests/conv_test.png' is not a valid PNG file in %s/jpeg2png.php on line 5
007+
008+ Warning: imagejpeg() expects parameter 1 to be resource, boolean given in %s/jpeg2png.php on line 5
009+ failed
010+ Generated JPEG to PNG conversion:
011+ Warning: imagecreatefromjpeg(/usr/local/src/php-7.2.19/ext/gd/tests/test_jpeg.jpeg): failed to open stream: No such file or directory in %s/jpeg2png.php on line 9
012+
013+ Warning: imagepng() expects parameter 1 to be resource, boolean given in %s/jpeg2png.php on line 9
014+ failed
015+ JPEG to PNG conversion: libpng warning: Application built with libpng-1.6.40 but running with 1.5.13
016+
017+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct
018+ in %s/jpeg2png.php on line 13
019+ ok
020+ Generated PNG to JPEG conversion:
021+ Warning: imagecreatefrompng(): '/usr/local/src/php-7.2.19/ext/gd/tests/test_png.png' is not a valid PNG file in %s/jpeg2png.php on line 17
022+
023+ Warning: imagejpeg() expects parameter 1 to be resource, boolean given in %s/jpeg2png.php on line 17
024+ failed
1 (33%)
001+ PNG to JPEG conversion: libpng warning: Application built with libpng-1.2.50 but running with 1.5.13
002+
003+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct in %s/jpeg2png.php on line 5
004+
001- PNG to JPEG conversion: ok
002- Generated JPEG to PNG conversion: ok
003- JPEG to PNG conversion: ok
004- Generated PNG to JPEG conversion: ok
005+ Warning: imagecreatefrompng(): '/home/php-7.2.19/ext/gd/tests/conv_test.png' is not a valid PNG file in %s/jpeg2png.php on line 5
006+
007+ Warning: imagejpeg() expects parameter 1 to be resource, boolean given in %s/jpeg2png.php on line 5
008+ failed
009+ Generated JPEG to PNG conversion:
010+ Warning: imagecreatefromjpeg(/home/php-7.2.19/ext/gd/tests/test_jpeg.jpeg): failed to open stream: No such file or directory in %s/jpeg2png.php on line 9
011+
012+ Warning: imagepng() expects parameter 1 to be resource, boolean given in %s/jpeg2png.php on line 9
013+ failed
014+ JPEG to PNG conversion: libpng warning: Application built with libpng-1.2.50 but running with 1.5.13
015+
016+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in %s/jpeg2png.php on line 13
017+ ok
018+ Generated PNG to JPEG conversion:
019+ Warning: imagecreatefrompng(): '/home/php-7.2.19/ext/gd/tests/test_png.png' is not a valid PNG file in %s/jpeg2png.php on line 17
020+
021+ Warning: imagejpeg() expects parameter 1 to be resource, boolean given in %s/jpeg2png.php on line 17
022+ failed