mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
a375d54785
Cf. PR #6787. Closes GH-6994.
16 lines
267 B
PHP
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
|