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

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

Count Diff
5 (31%)
001+ PNG to JPEG conversion: libpng warning: Interlace handling should be turned on when using png_read_image
002+ ok
001- PNG to JPEG conversion: ok
004- Generated PNG to JPEG conversion: ok
005+ Generated PNG to JPEG conversion: libpng warning: Interlace handling should be turned on when using png_read_image
006+ ok
3 (19%)
001+ PNG to JPEG conversion: libpng warning: Application was compiled with png.h from libpng-1.5.12
002+ libpng warning: Application is running with png.c from libpng-1.2.50
003+
004+ Warning: imagecreatefrompng(): gd-png: fatal libpng error: Incompatible libpng version in application and library 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+ Segmentation fault
1 (6%)
001+ PNG to JPEG conversion: libpng warning: Application was compiled with png.h from libpng-1.6.2
002+ libpng warning: Application is running with png.c from libpng-1.2.49
003+
004+ Warning: imagecreatefrompng(): gd-png: fatal libpng error: Incompatible libpng version in application and library 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
1 (6%)
001+ PNG to JPEG conversion: libpng warning: Application was compiled with png.h from libpng-1.5.0
002+ libpng warning: Application is running with png.c from libpng-1.2.49
003+
004+ Warning: imagecreatefrompng(): gd-png: fatal libpng error: Incompatible libpng version in application and library 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
1 (6%)
001+ PNG to JPEG conversion: libpng warning: Application built with libpng-1.5.11 but running with 1.6.2
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(): '/Library/Tenon/SourceCache/php-5.4.17/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(/Library/Tenon/SourceCache/php-5.4.17/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.11 but running with 1.6.2
1 (6%)
001+ PNG to JPEG conversion: libpng warning: Application built with libpng-1.5.10 but running with 1.6.3
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(): '/private/tmp/php-5.4.17/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(/private/tmp/php-5.4.17/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.3
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(): '/private/tmp/php-5.4.17/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 (6%)
001+ PNG to JPEG conversion: gd-jpeg: JPEG library reports unrecoverable error: Output file write error --- out of disk space?
002+ ok
003+ Generated JPEG to PNG conversion: Premature end of JPEG file
004+ gd-jpeg: JPEG library reports unrecoverable error: Not a JPEG file: starts with 0xe8 0xff
005+
006+ Warning: imagecreatefromjpeg(): '/data/run/phpsrc/ext/gd/tests/test_jpeg.jpeg' is not a valid JPEG file in %s/jpeg2png.php on line 9
007+
008+ Warning: imagepng() expects parameter 1 to be resource, boolean given in %s/jpeg2png.php on line 9
009+ failed
001- PNG to JPEG conversion: ok
002- Generated JPEG to PNG conversion: ok
004- Generated PNG to JPEG conversion: ok
011+ Generated PNG to JPEG conversion:
012+ Warning: imagecreatefrompng(): '/data/run/phpsrc/ext/gd/tests/test_png.png' is not a valid PNG file in %s/jpeg2png.php on line 17
013+
014+ Warning: imagejpeg() expects parameter 1 to be resource, boolean given in %s/jpeg2png.php on line 17
015+ failed
1 (6%)
001+ PNG to JPEG conversion:
002+ Warning: imagejpeg(): gd-jpeg: JPEG library reports unrecoverable error: in %s/jpeg2png.php on line 5
003+ Wrong JPEG library version: library is 90, caller expects 62
004+ ok
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+ Generated JPEG to PNG conversion:
006+ Warning: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error: in %s/jpeg2png.php on line 9
007+ Wrong JPEG library version: library is 90, caller expects 62
008+
009+ Warning: imagecreatefromjpeg(): '/usr/local/src/php-5.4.17/ext/gd/tests/test_jpeg.jpeg' is not a valid JPEG file 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:
014+ Warning: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error: in %s/jpeg2png.php on line 13
015+ Wrong JPEG library version: library is 90, caller expects 62
016+
017+ Warning: imagecreatefromjpeg(): '/usr/local/src/php-5.4.17/ext/gd/tests/conv_test.jpeg' is not a valid JPEG file in %s/jpeg2png.php on line 13
018+
019+ Warning: imagepng() expects parameter 1 to be resource, boolean given in %s/jpeg2png.php on line 13
020+ failed
021+ Generated PNG to JPEG conversion:
022+ Warning: imagecreatefrompng(/usr/local/src/php-5.4.17/ext/gd/tests/test_png.png): failed to open stream: No such file or directory in %s/jpeg2png.php on line 17
023+
024+ Warning: imagejpeg() expects parameter 1 to be resource, boolean given in %s/jpeg2png.php on line 17
025+ failed
1 (6%)
001+ PNG to JPEG conversion:
002+ Warning: imagejpeg(): gd-jpeg: JPEG library reports unrecoverable error: in %s/jpeg2png.php on line 5
003+ Wrong JPEG library version: library is 62, caller expects 90
004+ ok
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+ Generated JPEG to PNG conversion:
006+ Warning: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error: in %s/jpeg2png.php on line 9
007+ Wrong JPEG library version: library is 62, caller expects 90
008+
009+ Warning: imagecreatefromjpeg(): '/usr/local/src/php/php-5.4.17/ext/gd/tests/test_jpeg.jpeg' is not a valid JPEG file 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:
014+ Warning: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error: in %s/jpeg2png.php on line 13
015+ Wrong JPEG library version: library is 62, caller expects 90
016+
017+ Warning: imagecreatefromjpeg(): '/usr/local/src/php/php-5.4.17/ext/gd/tests/conv_test.jpeg' is not a valid JPEG file in %s/jpeg2png.php on line 13
018+
019+ Warning: imagepng() expects parameter 1 to be resource, boolean given in %s/jpeg2png.php on line 13
020+ failed
021+ Generated PNG to JPEG conversion:
022+ Warning: imagecreatefrompng(/usr/local/src/php/php-5.4.17/ext/gd/tests/test_png.png): failed to open stream: No such file or directory in %s/jpeg2png.php on line 17
023+
024+ Warning: imagejpeg() expects parameter 1 to be resource, boolean given in %s/jpeg2png.php on line 17
025+ failed
1 (6%)
001+ PNG to JPEG conversion:
002+ Warning: imagecreatefrompng(): gd-png: fatal libpng error: Incompatible libpng version in application and library 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