1--TEST-- 2Testing imagecreatetruecolor() of GD library 3--CREDITS-- 4Rafael Dohms <rdohms [at] gmail [dot] com> 5--SKIPIF-- 6<?php 7 if (!extension_loaded("gd")) die("skip GD not present"); 8 if (!function_exists("imagecreatetruecolor")) die("skip GD Version not compatible"); 9?> 10--FILE-- 11<?php 12$image = imagecreatetruecolor(180, 30); 13 14include_once __DIR__ . '/func.inc'; 15test_image_equals_file(__DIR__ . '/imagecreatetruecolor_basic.png', $image); 16?> 17--EXPECT-- 18The images are equal. 19