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

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

Count Diff
1 (25%)
001+ PNG to JPEG conversion: libpng warning: Application was compiled with png.h from libpng-1.6.12
002+ libpng warning: Application is running with png.c from libpng-1.2.49
003+ gd-png: fatal libpng error: Incompatible libpng version in application and library
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
1 (25%)
001+ PNG to JPEG conversion: libpng warning: Application built with libpng-1.5.17 but running with 1.6.10
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(): '/Users/kairee/Downloads/src/php-5.4.27/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(/Users/kairee/Downloads/src/php-5.4.27/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.5.17 but running with 1.6.10
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(): '/Users/kairee/Downloads/src/php-5.4.27/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
1 (25%)
001+ PNG to JPEG conversion: libpng warning: Application built with libpng-1.5.13 but running with 1.6.10
002+ gd-png error: cannot allocate libpng main struct
003+
004+ Warning: imagecreatefrompng(): '/usr/local/php/ext/gd/tests/conv_test.png' is not a valid PNG file 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: imagejpeg() expects parameter 1 to be resource, boolean given in %s/jpeg2png.php on line 5
007+ failed
008+ Generated JPEG to PNG conversion:
009+ Warning: imagecreatefromjpeg(/usr/local/php/ext/gd/tests/test_jpeg.jpeg): failed to open stream: No such file or directory in %s/jpeg2png.php on line 9
010+
011+ Warning: imagepng() expects parameter 1 to be resource, boolean given in %s/jpeg2png.php on line 9
012+ failed
013+ JPEG to PNG conversion: libpng warning: Application built with libpng-1.5.13 but running with 1.6.10
014+ gd-png error: cannot allocate libpng main struct
015+ ok
016+ Generated PNG to JPEG conversion:
017+ Warning: imagecreatefrompng(): '/usr/local/php/ext/gd/tests/test_png.png' is not a valid PNG file in %s/jpeg2png.php on line 17
018+
019+ Warning: imagejpeg() expects parameter 1 to be resource, boolean given in %s/jpeg2png.php on line 17
020+ failed
1 (25%)
001+ PNG to JPEG conversion: libpng warning: Application built with libpng-1.5.10 but running with 1.6.10
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(): '/Users/jgurney/Downloads/php-5.4.27/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(/Users/jgurney/Downloads/php-5.4.27/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.5.10 but running with 1.6.10
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(): '/Users/jgurney/Downloads/php-5.4.27/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