com php-src: Shrink another large image: ext/standard/tests/image/getimagesize.phpt ext/standard/tests/image/test1bpix.bmp
| From: | Christoph Michael Becker | Date: | Sun, 30 Jul 2017 14:26:06 +0000 |
| Subject: | com php-src: Shrink another large image: ext/standard/tests/image/getimagesize.phpt ext/standard/tests/image/test1bpix.bmp | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-98871@lists.php.net to get a copy of this message | ||
Commit: 2d96fdd54fd1f4c99221c53ba9632a081c6d4846
Author: Christoph M. Becker <cmbecker69@gmx.de> Sun, 30 Jul 2017 16:24:40 +0200
Parents: 74a696d53b3b90d6892c052590bc7d2ad0164f4d
Branches: PHP-7.0 PHP-7..1 PHP-7.2 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2d96fdd54fd1f4c99221c53ba9632a081c6d4846
Log:
Shrink another large image
This image is only used for testing
BITMAPV5HEADER support in
getimagesize() (see bf9ad4e). Therefore it is not necessary to have
a big image; a single pixel is sufficient.
Changed paths:
M ext/standard/tests/image/getimagesize.phpt
M ext/standard/tests/image/test1bpix.bmp
Diff:
diff --git a/ext/standard/tests/image/getimagesize.phpt b/ext/standard/tests/image/getimagesize.phpt
index 04ddd8c..b855276 100644
--- a/ext/standard/tests/image/getimagesize.phpt
+++ b/ext/standard/tests/image/getimagesize.phpt
@@ -42,13 +42,13 @@ array(13) {
["test1bpix.bmp"]=>
array(6) {
[0]=>
- int(500)
+ int(1)
[1]=>
- int(345)
+ int(1)
[2]=>
int(6)
[3]=>
- string(24) "width="500" height="345""
+ string(20) "width="1" height="1""
["bits"]=>
int(32)
["mime"]=>
diff --git a/ext/standard/tests/image/test1bpix.bmp b/ext/standard/tests/image/test1bpix.bmp
index ddac2a0..5a91cac 100644
Binary files a/ext/standard/tests/image/test1bpix.bmp and b/ext/standard/tests/image/test1bpix.bmp
differ