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

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

Count Diff
6 (30%)
002+
003+ Fatal error: Call to undefined function imagepng() in %s/imagecopyresampled_basic.php on line 27
002- Size of orginal: width=400 height=300
003- Size of copy: width=200 height=150
004- Done
3 (15%)
002+ libpng warning: Application was compiled with png.h from libpng-1.6.10
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 orginal: width=400 height=300
003- Size of copy: width=200 height=150
004- Done
1 (5%)
002+ libpng warning: Application was compiled with png.h from libpng-1.6.8
003+ libpng warning: Application is running with png.c from libpng-1.2.49
004+
002- Size of orginal: width=400 height=300
003- Size of copy: width=200 height=150
004- Done
005+ Warning: imagepng(): gd-png: fatal libpng error: Incompatible libpng version in application and library in %s/imagecopyresampled_basic.php on line 27
1 (5%)
002+ libpng warning: Application was compiled with png.h from libpng-1.6.12
003+ libpng warning: Application is running with png.c from libpng-1.2.50
004+ gd-png: fatal libpng error: Incompatible libpng version in application and library
002- Size of orginal: width=400 height=300
003- Size of copy: width=200 height=150
004- Done
005+ Segmentation fault (core dumped)
1 (5%)
002+ libpng warning: Application was compiled with png.h from libpng-1.6.10
003+ libpng warning: Application is running with png.c from libpng-1.2.49
004+
002- Size of orginal: width=400 height=300
003- Size of copy: width=200 height=150
004- Done
005+ Warning: imagepng(): gd-png: fatal libpng error: Incompatible libpng version in application and library in %s/imagecopyresampled_basic.php on line 27
1 (5%)
002+ libpng warning: Application built with libpng-1.5.4 but running with 1.6.10
003+
004+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in %s/imagecopyresampled_basic.php on line 27
002- Size of orginal: width=400 height=300
003- Size of copy: width=200 height=150
004- Done
005+
006+ Notice: getimagesize(): Read error! in %s/imagecopyresampled_basic.php on line 31
007+ Size of orginal: width= height=
008+
009+ Warning: imagecreatetruecolor(): Invalid image dimensions in %s/imagecopyresampled_basic.php on line 38
010+
011+ Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 39
012+
013+ Warning: imagepng() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 41
014+
015+ Warning: getimagesize(/opt/tar/php-5.3.28/ext/gd/tests/imagesmall.png): failed to open stream: No such file or directory in %s/imagecopyresampled_basic.php on line 43
016+ Size of copy: width= height=
017+
018+ Warning: imagedestroy() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 47
019+ Done
1 (5%)
002+ libpng warning: Application built with libpng-1.5.4 but running with 1.6.10
003+
004+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in %s/imagecopyresampled_basic.php on line 27
002- Size of orginal: width=400 height=300
003- Size of copy: width=200 height=150
004- Done
005+
006+ Notice: getimagesize(): Read error! in %s/imagecopyresampled_basic.php on line 31
007+ Size of orginal: width= height=
008+
009+ Warning: imagecreatetruecolor(): Invalid image dimensions in %s/imagecopyresampled_basic.php on line 38
010+
011+ Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 39
012+
013+ Warning: imagepng() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 41
014+
015+ Warning: getimagesize(/Users/administrator/php_build/php-5.3.28/ext/gd/tests/imagesmall.png): failed to open stream: No such file or directory in %s/imagecopyresampled_basic.php on line 43
016+ Size of copy: width= height=
017+
018+ Warning: imagedestroy() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 47
019+ Done
1 (5%)
002+ libpng warning: Application built with libpng-1.5.1 but running with 1.6.10
003+
004+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in %s/imagecopyresampled_basic.php on line 27
002- Size of orginal: width=400 height=300
003- Size of copy: width=200 height=150
004- Done
005+
006+ Notice: getimagesize(): Read error! in %s/imagecopyresampled_basic.php on line 31
007+ Size of orginal: width= height=
008+
009+ Warning: imagecreatetruecolor(): Invalid image dimensions in %s/imagecopyresampled_basic.php on line 38
010+
011+ Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 39
012+
013+ Warning: imagepng() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 41
014+
015+ Warning: getimagesize(/Users/phamhoaian/Documents/soft/php-5.3.28/ext/gd/tests/imagesmall.png): failed to open stream: No such file or directory in %s/imagecopyresampled_basic.php on line 43
016+ Size of copy: width= height=
017+
018+ Warning: imagedestroy() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 47
019+ Done
1 (5%)
002+ libpng warning: Application built with libpng-1.2.54 but running with 1.6.28
003+
004+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in %s/imagecopyresampled_basic.php on line 27
002- Size of orginal: width=400 height=300
003- Size of copy: width=200 height=150
004- Done
005+
006+ Notice: getimagesize(): Read error! in %s/imagecopyresampled_basic.php on line 31
007+ Size of orginal: width= height=
008+
009+ Warning: imagecreatetruecolor(): Invalid image dimensions in %s/imagecopyresampled_basic.php on line 38
010+
011+ Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 39
012+
013+ Warning: imagepng() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 41
014+
015+ Warning: getimagesize(/root/php-5.3.28/ext/gd/tests/imagesmall.png): failed to open stream: No such file or directory in %s/imagecopyresampled_basic.php on line 43
016+ Size of copy: width= height=
017+
018+ Warning: imagedestroy() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 47
019+ Done
1 (5%)
002+ libpng warning: Application built with libpng-1.2.49 but running with 1.6.18
003+
004+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in %s/imagecopyresampled_basic.php on line 27
002- Size of orginal: width=400 height=300
003- Size of copy: width=200 height=150
004- Done
005+
006+ Notice: getimagesize(): Read error! in %s/imagecopyresampled_basic.php on line 31
007+ Size of orginal: width= height=
008+
009+ Warning: imagecreatetruecolor(): Invalid image dimensions in %s/imagecopyresampled_basic.php on line 38
010+
011+ Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 39
012+
013+ Warning: imagepng() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 41
014+
015+ Warning: getimagesize(/usr/local/src/php-5.3.28/ext/gd/tests/imagesmall.png): failed to open stream: No such file or directory in %s/imagecopyresampled_basic.php on line 43
016+ Size of copy: width= height=
017+
018+ Warning: imagedestroy() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 47
019+ Done
1 (5%)
002+ libpng warning: Application built with libpng-1.2.41 but running with 1.6.10
003+
004+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in %s/imagecopyresampled_basic.php on line 27
002- Size of orginal: width=400 height=300
003- Size of copy: width=200 height=150
004- Done
005+
006+ Notice: getimagesize(): Read error! in %s/imagecopyresampled_basic.php on line 31
007+ Size of orginal: width= height=
008+
009+ Warning: imagecreatetruecolor(): Invalid image dimensions in %s/imagecopyresampled_basic.php on line 38
010+
011+ Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 39
012+
013+ Warning: imagepng() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 41
014+
015+ Warning: getimagesize(/Users/administrator/php_build/php-5.3.28/ext/gd/tests/imagesmall.png): failed to open stream: No such file or directory in %s/imagecopyresampled_basic.php on line 43
016+ Size of copy: width= height=
017+
018+ Warning: imagedestroy() expects parameter 1 to be resource, boolean given in %s/imagecopyresampled_basic.php on line 47
019+ Done
1 (5%)
002+ dyld: lazy symbol binding failed: Symbol not found: _png_create_write_struct
003+ Referenced from: /usr/local/gd/lib/libgd.2.dylib
004+ Expected in: flat namespace
002- Size of orginal: width=400 height=300
003- Size of copy: width=200 height=150
004- Done
005+
006+ dyld: Symbol not found: _png_create_write_struct
007+ Referenced from: /usr/local/gd/lib/libgd.2.dylib
008+ Expected in: flat namespace
1 (5%)