note 18885 deleted from function.imagecopy by cece
| From: | cece@php.net | Date: | Sat, 16 Aug 2003 19:50:32 +0000 |
| Subject: | note 18885 deleted from function.imagecopy by cece | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-54438@lists.php.net to get a copy of this message | ||
Note Submitter:
----
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.
Note that ImageCreateFromJPEG always creates a True Color Image.
You can use ImageCreateTrueColor() instead of Image Create() to solve this problem.