xref: /PHP-7.4/ext/gd/tests/createfromwbmp-mb.phpt (revision 26dfce7f)
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 = __DIR__ . '/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