d2c775b860
[ WARN:0@0.014] global loadsave.cpp:244 findDecoder imread_('non-existent.png'): can't open/read file: check file path/integrity
18 linhas
320 B
PHP
18 linhas
320 B
PHP
--TEST--
|
|
Exception
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded("opencv")) print "skip"; ?>
|
|
--FILE--
|
|
<?php
|
|
use function CV\imread;
|
|
/*try{
|
|
imread('non-existent.png');
|
|
}catch(CV\Exception $e){
|
|
echo $e->getMessage();
|
|
exit;
|
|
}*/
|
|
|
|
?>
|
|
Can not load image : non-existent.png
|
|
--EXPECT--
|
|
Can not load image : non-existent.png
|