note 30160 added to function.imagecreatetruecolor

From: Date: Sat, 08 Mar 2003 22:21:21 +0000
Subject: note 30160 added to function.imagecreatetruecolor
Groups: php.notes 
Request: Send a blank email to php-notes+get-45012@lists.php.net to get a copy of this message
Here is my solution for creating images with the same code for both GD < 2 and GD > 2: $dst_img = @imageCreateTrueColor($width, $height); if (!$dst_img) { $dst_img = imageCreate($width, $height); } -- http://www.php.net/manual/en/function.imagecreatetruecolor.php http://master.php.net/manage/user-notes.php?action=edit+30160 http://master.php.net/manage/user-notes.php?action=delete+30160 http://master.php.net/manage/user-notes.php?action=reject+30160

« previous php.notes (#45012) next »