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

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

Count Diff
2 (67%)
001+ palette gamma (1, 2): 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 /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 86
005+
006+ Warning: imagecreatefrompng(): '/usr/local/src/php-7.2.19/ext/gd/tests/imagegammacorrect_variation2_1_2.png' is not a valid PNG file in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 86
007+
001- palette gamma (1, 2): The images are equal.
002- truecolor gamma (1, 2): The images are equal.
003- palette gamma (1, 1): The images are equal.
004- truecolor gamma (1, 1): The images are equal.
005- palette gamma (2, 1): The images are equal.
006- truecolor gamma (2, 1): The images are equal.
007- ===DONE===
008+ Warning: imageistruecolor() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 123
009+
010+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 126
011+
012+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 127
013+
014+ Warning: imagecreatetruecolor(): Invalid image dimensions in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 128
015+
016+ Warning: imagecopy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 129
017+
018+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 88
019+
020+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 89
021+ The image size differs: expected x, got 640x480.
022+ libpng warning: Application built with libpng-1.6.40 but running with 1.5.13
023+
024+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct
025+ in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 147
026+ truecolor gamma (1, 2): libpng warning: Application built with libpng-1.6.40 but running with 1.5.13
027+
028+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct
029+ in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 86
030+
031+ Warning: imagecreatefrompng(): '/usr/local/src/php-7.2.19/ext/gd/tests/imagegammacorrect_variation2_1_2.png' is not a valid PNG file in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 86
032+
033+ Warning: imageistruecolor() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 123
034+
035+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 126
036+
037+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 127
038+
039+ Warning: imagecreatetruecolor(): Invalid image dimensions in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 128
040+
041+ Warning: imagecopy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 129
042+
043+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 88
044+
045+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 89
046+ The image size differs: expected x, got 640x480.
047+ libpng warning: Application built with libpng-1.6.40 but running with 1.5.13
048+
049+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct
050+ in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 147
051+ palette gamma (1, 1): libpng warning: Application built with libpng-1.6.40 but running with 1.5.13
052+
053+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct
054+ in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 86
055+
056+ Warning: imagecreatefrompng(): '/usr/local/src/php-7.2.19/ext/gd/tests/imagegammacorrect_variation2_1_1.png' is not a valid PNG file in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 86
057+
058+ Warning: imageistruecolor() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 123
059+
060+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 126
061+
062+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 127
063+
064+ Warning: imagecreatetruecolor(): Invalid image dimensions in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 128
065+
066+ Warning: imagecopy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 129
067+
068+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 88
069+
070+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 89
071+ The image size differs: expected x, got 640x480.
072+ libpng warning: Application built with libpng-1.6.40 but running with 1.5.13
073+
074+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct
075+ in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 147
076+ truecolor gamma (1, 1): libpng warning: Application built with libpng-1.6.40 but running with 1.5.13
077+
078+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct
079+ in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 86
080+
081+ Warning: imagecreatefrompng(): '/usr/local/src/php-7.2.19/ext/gd/tests/imagegammacorrect_variation2_1_1.png' is not a valid PNG file in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 86
082+
083+ Warning: imageistruecolor() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 123
084+
085+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 126
086+
087+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 127
088+
089+ Warning: imagecreatetruecolor(): Invalid image dimensions in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 128
090+
091+ Warning: imagecopy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 129
092+
093+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 88
094+
095+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 89
096+ The image size differs: expected x, got 640x480.
097+ libpng warning: Application built with libpng-1.6.40 but running with 1.5.13
098+
099+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct
100+ in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 147
101+ palette gamma (2, 1): libpng warning: Application built with libpng-1.6.40 but running with 1.5.13
102+
103+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct
104+ in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 86
105+
106+ Warning: imagecreatefrompng(): '/usr/local/src/php-7.2.19/ext/gd/tests/imagegammacorrect_variation2_2_1.png' is not a valid PNG file in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 86
107+
108+ Warning: imageistruecolor() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 123
109+
110+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 126
111+
112+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 127
113+
114+ Warning: imagecreatetruecolor(): Invalid image dimensions in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 128
115+
116+ Warning: imagecopy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 129
117+
118+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 88
119+
120+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 89
121+ The image size differs: expected x, got 640x480.
122+ libpng warning: Application built with libpng-1.6.40 but running with 1.5.13
123+
124+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct
125+ in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 147
126+ truecolor gamma (2, 1): libpng warning: Application built with libpng-1.6.40 but running with 1.5.13
127+
128+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct
129+ in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 86
130+
131+ Warning: imagecreatefrompng(): '/usr/local/src/php-7.2.19/ext/gd/tests/imagegammacorrect_variation2_2_1.png' is not a valid PNG file in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 86
132+
133+ Warning: imageistruecolor() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 123
134+
135+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 126
136+
137+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 127
138+
139+ Warning: imagecreatetruecolor(): Invalid image dimensions in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 128
140+
141+ Warning: imagecopy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 129
142+
143+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 88
144+
145+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 89
146+ The image size differs: expected x, got 640x480.
147+ libpng warning: Application built with libpng-1.6.40 but running with 1.5.13
148+
149+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct
150+ in /usr/local/src/php-7.2.19/ext/gd/tests/func.inc on line 147
151+ ===DONE===
1 (33%)
001+ palette gamma (1, 2): 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 /home/php-7.2.19/ext/gd/tests/func.inc on line 86
004+
005+ Warning: imagecreatefrompng(): '/home/php-7.2.19/ext/gd/tests/imagegammacorrect_variation2_1_2.png' is not a valid PNG file in /home/php-7.2.19/ext/gd/tests/func.inc on line 86
006+
007+ Warning: imageistruecolor() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 123
001- palette gamma (1, 2): The images are equal.
002- truecolor gamma (1, 2): The images are equal.
003- palette gamma (1, 1): The images are equal.
004- truecolor gamma (1, 1): The images are equal.
005- palette gamma (2, 1): The images are equal.
006- truecolor gamma (2, 1): The images are equal.
007- ===DONE===
008+
009+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 126
010+
011+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 127
012+
013+ Warning: imagecreatetruecolor(): Invalid image dimensions in /home/php-7.2.19/ext/gd/tests/func.inc on line 128
014+
015+ Warning: imagecopy() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 129
016+
017+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 88
018+
019+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 89
020+ The image size differs: expected x, got 640x480.
021+ libpng warning: Application built with libpng-1.2.50 but running with 1.5.13
022+
023+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in /home/php-7.2.19/ext/gd/tests/func.inc on line 147
024+ truecolor gamma (1, 2): libpng warning: Application built with libpng-1.2.50 but running with 1.5.13
025+
026+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct in /home/php-7.2.19/ext/gd/tests/func.inc on line 86
027+
028+ Warning: imagecreatefrompng(): '/home/php-7.2.19/ext/gd/tests/imagegammacorrect_variation2_1_2.png' is not a valid PNG file in /home/php-7.2.19/ext/gd/tests/func.inc on line 86
029+
030+ Warning: imageistruecolor() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 123
031+
032+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 126
033+
034+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 127
035+
036+ Warning: imagecreatetruecolor(): Invalid image dimensions in /home/php-7.2.19/ext/gd/tests/func.inc on line 128
037+
038+ Warning: imagecopy() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 129
039+
040+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 88
041+
042+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 89
043+ The image size differs: expected x, got 640x480.
044+ libpng warning: Application built with libpng-1.2.50 but running with 1.5.13
045+
046+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in /home/php-7.2.19/ext/gd/tests/func.inc on line 147
047+ palette gamma (1, 1): libpng warning: Application built with libpng-1.2.50 but running with 1.5.13
048+
049+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct in /home/php-7.2.19/ext/gd/tests/func.inc on line 86
050+
051+ Warning: imagecreatefrompng(): '/home/php-7.2.19/ext/gd/tests/imagegammacorrect_variation2_1_1.png' is not a valid PNG file in /home/php-7.2.19/ext/gd/tests/func.inc on line 86
052+
053+ Warning: imageistruecolor() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 123
054+
055+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 126
056+
057+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 127
058+
059+ Warning: imagecreatetruecolor(): Invalid image dimensions in /home/php-7.2.19/ext/gd/tests/func.inc on line 128
060+
061+ Warning: imagecopy() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 129
062+
063+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 88
064+
065+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 89
066+ The image size differs: expected x, got 640x480.
067+ libpng warning: Application built with libpng-1.2.50 but running with 1.5.13
068+
069+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in /home/php-7.2.19/ext/gd/tests/func.inc on line 147
070+ truecolor gamma (1, 1): libpng warning: Application built with libpng-1.2.50 but running with 1.5.13
071+
072+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct in /home/php-7.2.19/ext/gd/tests/func.inc on line 86
073+
074+ Warning: imagecreatefrompng(): '/home/php-7.2.19/ext/gd/tests/imagegammacorrect_variation2_1_1.png' is not a valid PNG file in /home/php-7.2.19/ext/gd/tests/func.inc on line 86
075+
076+ Warning: imageistruecolor() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 123
077+
078+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 126
079+
080+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 127
081+
082+ Warning: imagecreatetruecolor(): Invalid image dimensions in /home/php-7.2.19/ext/gd/tests/func.inc on line 128
083+
084+ Warning: imagecopy() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 129
085+
086+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 88
087+
088+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 89
089+ The image size differs: expected x, got 640x480.
090+ libpng warning: Application built with libpng-1.2.50 but running with 1.5.13
091+
092+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in /home/php-7.2.19/ext/gd/tests/func.inc on line 147
093+ palette gamma (2, 1): libpng warning: Application built with libpng-1.2.50 but running with 1.5.13
094+
095+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct in /home/php-7.2.19/ext/gd/tests/func.inc on line 86
096+
097+ Warning: imagecreatefrompng(): '/home/php-7.2.19/ext/gd/tests/imagegammacorrect_variation2_2_1.png' is not a valid PNG file in /home/php-7.2.19/ext/gd/tests/func.inc on line 86
098+
099+ Warning: imageistruecolor() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 123
100+
101+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 126
102+
103+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 127
104+
105+ Warning: imagecreatetruecolor(): Invalid image dimensions in /home/php-7.2.19/ext/gd/tests/func.inc on line 128
106+
107+ Warning: imagecopy() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 129
108+
109+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 88
110+
111+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 89
112+ The image size differs: expected x, got 640x480.
113+ libpng warning: Application built with libpng-1.2.50 but running with 1.5.13
114+
115+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in /home/php-7.2.19/ext/gd/tests/func.inc on line 147
116+ truecolor gamma (2, 1): libpng warning: Application built with libpng-1.2.50 but running with 1.5.13
117+
118+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct in /home/php-7.2.19/ext/gd/tests/func.inc on line 86
119+
120+ Warning: imagecreatefrompng(): '/home/php-7.2.19/ext/gd/tests/imagegammacorrect_variation2_2_1.png' is not a valid PNG file in /home/php-7.2.19/ext/gd/tests/func.inc on line 86
121+
122+ Warning: imageistruecolor() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 123
123+
124+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 126
125+
126+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 127
127+
128+ Warning: imagecreatetruecolor(): Invalid image dimensions in /home/php-7.2.19/ext/gd/tests/func.inc on line 128
129+
130+ Warning: imagecopy() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 129
131+
132+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 88
133+
134+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/php-7.2.19/ext/gd/tests/func.inc on line 89
135+ The image size differs: expected x, got 640x480.
136+ libpng warning: Application built with libpng-1.2.50 but running with 1.5.13
137+
138+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in /home/php-7.2.19/ext/gd/tests/func.inc on line 147
139+ ===DONE===