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