1<?php 2/** 3 * @package tikiwiki 4 */ 5// (c) Copyright by authors of the Tiki Wiki CMS Groupware Project 6// 7// All Rights Reserved. See copyright.txt for details and a complete list of authors. 8// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. 9// $Id$ 10 11/*! 12pmc feb 19, 2009 13used in tiki-admin_include_gal.php 14to verify that the GD library is working in /tiki-admin.php?page=gal 15*/ 16header("Content-type: image/png"); 17$im = @imagecreate(68, 12) or die("Cannot Initialize new GD image stream"); 18$background_color = imagecolorallocate($im, 0, 95, 170); 19$text_color = imagecolorallocate($im, 255, 255, 255); 20imagestring($im, 1, 2, 2, "test GD image", $text_color); 21imagepng($im); 22imagedestroy($im); 23