note 18884 added to function.imagecreate

From: Date: Fri, 08 Feb 2002 13:09:09 +0000
Subject: note 18884 added to function.imagecreate
Groups: php.notes 
Request: Send a blank email to php-notes+get-26380@lists.php.net to get a copy of this message
The function ImageCreate() creates a PALETTE image. The function ImageCreateFromJPEG() creates a TRUE COLOR image. When you use GD 2.0 you will get an error when you try to use ImageCopy() with one True color image and one Palette image. Be sure to convert one of the images before using ImageCopy() or use ImageCreateTrueColor() instead of ImageCreate(). -- http://www.php.net/manual/en/function.imagecreate.php http://master.php.net/manage/user-notes.php?action=edit+18884 http://master.php.net/manage/user-notes.php?action=delete+18884 http://master.php.net/manage/user-notes.php?action=reject+18884

« previous php.notes (#26380) next »