]> granicus.if.org Git - php/commitdiff
Shrink another large image
authorChristoph M. Becker <cmbecker69@gmx.de>
Sun, 30 Jul 2017 14:24:40 +0000 (16:24 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Sun, 30 Jul 2017 14:26:06 +0000 (16:26 +0200)
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.

ext/standard/tests/image/getimagesize.phpt
ext/standard/tests/image/test1bpix.bmp

index 04ddd8c82b20db3ad9cc8331a236236c30195a17..b85527633cd9080c07064f35c2acd4b6a1bbd430 100644 (file)
@@ -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"]=>
index ddac2a0ddabc063a303026d8c7b91dc1480a9812..5a91cacf17b8de32f75aa0e492be8eaae2fdc4d7 100644 (file)
Binary files a/ext/standard/tests/image/test1bpix.bmp and b/ext/standard/tests/image/test1bpix.bmp differ