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