X7ROOT File Manager
Current Path:
/opt/alt/tests/alt-php82-pecl-vips_1.0.13-1.el8/tests
opt
/
alt
/
tests
/
alt-php82-pecl-vips_1.0.13-1.el8
/
tests
/
??
..
??
001.phpt
(194 B)
??
002.phpt
(292 B)
??
003.phpt
(566 B)
??
004.phpt
(355 B)
??
005.phpt
(645 B)
??
006.phpt
(470 B)
??
007.phpt
(368 B)
??
008.phpt
(668 B)
??
009.phpt
(656 B)
??
010.phpt
(439 B)
??
011.phpt
(432 B)
??
012.phpt
(669 B)
??
013.phpt
(616 B)
??
014.phpt
(547 B)
??
015.phpt
(350 B)
??
016.phpt
(767 B)
??
017.phpt
(429 B)
??
026.phpt
(410 B)
??
027.phpt
(752 B)
??
028.phpt
(730 B)
??
029.phpt
(537 B)
??
030.phpt
(386 B)
??
031.phpt
(838 B)
??
032.phpt
(361 B)
??
033.phpt
(305 B)
??
034.phpt
(429 B)
??
035.phpt
(226 B)
??
036.phpt
(537 B)
??
037.phpt
(632 B)
??
038.phpt
(366 B)
??
039.phpt
(226 B)
??
040.phpt
(818 B)
??
041.phpt
(988 B)
??
042.phpt
(1 KB)
??
images
Editing: 029.phpt
--TEST-- can get error messages --SKIPIF-- <?php if (!extension_loaded("vips")) print "skip"; ?> --FILE-- <?php $filename = dirname(__FILE__) . "/images/img_0076.jpg"; $image = vips_image_new_from_file($filename)["out"]; $rg = vips_call("extract_band", $image, 0, ["n" => 2])["out"]; # this should error out since it's 2 band image + 3 band image $err = vips_call("add", $image, $rg); $msg = vips_error_buffer(); if ($err == -1 && $msg == "add: not one band or 3 bands\n") { echo "pass"; } ?> --EXPECT-- pass
Upload File
Create Folder