note 18886 added to function.imagecopy

From: Date: Fri, 08 Feb 2002 13:33:49 +0000
Subject: note 18886 added to function.imagecopy
Groups: php.notes 
Request: Send a blank email to php-notes+get-26382@lists.php.net to get a copy of this message
If you are getting an error when using ImageCopy(), be sure that both images are of the same type - either True Color or Palette. GD 1.x can copy images of different types, but with GD 2.0 this will cause an error. sorry - forgot to fill in my email... Note that ImageCreateFromJPEG always creates a True Color Image. You can use ImageCreateTrueColor() instead of Image Create() to solve this problem. -- http://www.php.net/manual/en/function.imagecopy.php http://master.php.net/manage/user-notes.php?action=edit+18886 http://master.php.net/manage/user-notes.php?action=delete+18886 http://master.php.net/manage/user-notes.php?action=reject+18886

« previous php.notes (#26382) next »