xref: /PHP-7.0/ext/gd/tests/createfromwbmp.phpt (revision 70650810)
1--TEST--
2imagecreatefromwbmp
3--SKIPIF--
4<?php
5        if (!function_exists('imagecreatefromwbmp')) die("skip gd extension not available\n");
6?>
7--FILE--
8<?php
9$file = dirname(__FILE__) . '/src.wbmp';
10
11$im2 = imagecreatefromwbmp($file);
12echo 'test create from wbmp: ';
13echo imagecolorat($im2, 3,3) == 0x0 ? 'ok' : 'failed';
14echo "\n";
15?>
16--EXPECT--
17test create from wbmp: ok
18