1--TEST--
2imagecreatefrombmp() - basic functionality
3--EXTENSIONS--
4gd
5--SKIPIF--
6<?php
7if (!(imagetypes() & IMG_BMP)) die('skip BMP support required');
8?>
9--FILE--
10<?php
11// create an image from a BMP file
12$im = imagecreatefrombmp(__DIR__ . '/imagecreatefrombmp_basic.bmp');
13
14include_once __DIR__ . '/func.inc';
15test_image_equals_file(__DIR__ . '/imagecreatefrombmp_basic.png', $im);
16?>
17--EXPECT--
18The images are equal.
19