Test: /ext/gd/tests/imagecopyresampled_basic.phpt - Version 5.4.25    

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

Count Diff
4 (40%)
002+
003+ Fatal error: Call to undefined function imagepng() in %s/imagecopyresampled_basic.php on line 27
002- Size of original: width=400 height=300
003- Size of copy: width=200 height=150
004- Done
2 (20%)
002+ gd-png: fatal libpng error: Incompatible libpng version in application and library
002- Size of original: width=400 height=300
003- Size of copy: width=200 height=150
004- Done
1 (10%)
002+ libpng warning: Application was compiled with png.h from libpng-1.6.2
003+ libpng warning: Application is running with png.c from libpng-1.2.49
004+ gd-png: fatal libpng error: Incompatible libpng version in application and library
002- Size of original: width=400 height=300
003- Size of copy: width=200 height=150
004- Done
1 (10%)
002+
003+ Notice: getimagesize(): Read error! in %s/imagecopyresampled_basic.php on line 31
004+ Size of original: width= height=
002- Size of original: width=400 height=300
003- Size of copy: width=200 height=150
004- Done
005+
006+ Warning: imagecreatetruecolor(): Invalid image dimensions in %s/imagecopyresampled_basic.php on line 38
007+
008+ Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 39
009+
010+ Warning: imagepng() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 41
011+
012+ Warning: getimagesize(/usr/src/lamp/php-5.4.25/ext/gd/tests/imagesmall.png): failed to open stream: No such file or directory in %s/imagecopyresampled_basic.php on line 43
013+ Size of copy: width= height=
014+
015+ Warning: imagedestroy() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 47
016+ Done
1 (10%)
002+
003+ Notice: getimagesize(): Read error! in %s/imagecopyresampled_basic.php on line 31
004+ Size of original: width= height=
002- Size of original: width=400 height=300
003- Size of copy: width=200 height=150
004- Done
005+
006+ Warning: imagecreatetruecolor(): Invalid image dimensions in %s/imagecopyresampled_basic.php on line 38
007+
008+ Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 39
009+
010+ Warning: imagepng() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 41
011+
012+ Warning: getimagesize(/lamp/php-5.4.25/ext/gd/tests/imagesmall.png): failed to open stream: No such file or directory in %s/imagecopyresampled_basic.php on line 43
013+ Size of copy: width= height=
014+
015+ Warning: imagedestroy() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 47
016+ Done
1 (10%)
002+
003+ Notice: getimagesize(): Read error! in %s/imagecopyresampled_basic.php on line 31
004+ Size of original: width= height=
002- Size of original: width=400 height=300
003- Size of copy: width=200 height=150
004- Done
005+
006+ Warning: imagecreatetruecolor(): Invalid image dimensions in %s/imagecopyresampled_basic.php on line 38
007+
008+ Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 39
009+
010+ Warning: imagepng() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 41
011+
012+ Warning: getimagesize(/home/ipm/lamp-php5.4/php-5.4.25/ext/gd/tests/imagesmall.png): failed to open stream: No such file or directory in %s/imagecopyresampled_basic.php on line 43
013+ Size of copy: width= height=
014+
015+ Warning: imagedestroy() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 47
016+ Done