php-src/ext/gd/tests/createfromwbmp.phpt
Christoph M. Becker a375d54785
Migrate skip checks to --EXTENSIONS-- for ext/gd
Cf. PR #6787.

Closes GH-6994.
2021-05-22 15:38:51 +02:00

16 lines
267 B
PHP

--TEST--
imagecreatefromwbmp
--EXTENSIONS--
gd
--FILE--
<?php
$file = __DIR__ . '/src.wbmp';
$im2 = imagecreatefromwbmp($file);
echo 'test create from wbmp: ';
echo imagecolorat($im2, 3,3) == 0x0 ? 'ok' : 'failed';
echo "\n";
?>
--EXPECT--
test create from wbmp: ok