mirror of
https://github.com/php/php-src.git
synced 2024-10-19 23:44:13 +00:00
18 lines
374 B
Plaintext
18 lines
374 B
Plaintext
|
--TEST--
|
||
|
imagecreatefromwbmp
|
||
|
--SKIPIF--
|
||
|
<?php
|
||
|
if (!function_exists('imagecreatefromwbmp')) die("skip gd extension not available\n");
|
||
|
?>
|
||
|
--FILE--
|
||
|
<?php
|
||
|
$file = dirname(__FILE__) . '/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
|