#21630 [Opn]: imageCreateFromGIF doesn't work

From: Date: Tue, 14 Jan 2003 19:32:26 +0000
Subject: #21630 [Opn]: imageCreateFromGIF doesn't work
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969350908@lists.php.net to get a copy of this message
ID: 21630 Updated by: derick@php.net Reported By: steveh@brendata.co.uk Status: Open -Bug Type: GD related +Bug Type: Documentation problem Operating System: Linux 2.4.20 PHP Version: 4.3.0 New Comment: Should be documented (better) then. Derick Previous Comments: ------------------------------------------------------------------------ [2003-01-14 13:20:41] steveh@brendata.co.uk I've managed to resolve this, it's not a bug with the ImageCreateFromGIF function, but the ImageCopyResampled, the blank image needs to be created with ImageCreateTrueColor or the resultant image is blank. Not sure whether this becomes a bogus bug or whether the real issue is with ImageCopyResampled? In fact, I've just looked at the user notes for ImageCopyResampled and people are saying there to use Truecolor. ------------------------------------------------------------------------ [2003-01-14 05:33:10] steveh@brendata.co.uk Just to confirm, I just checked in phpinfo, and I am using the bundled GD (you made me wonder whether I had built php correctly). ------------------------------------------------------------------------ [2003-01-14 05:19:12] steveh@brendata.co.uk tar located at http://support.brendata.co.uk/phpbug21630.tgz can be run from the command line. ------------------------------------------------------------------------ [2003-01-14 04:56:44] derick@php.net please put it somewhere on the web, and provide the URL here. Derick ------------------------------------------------------------------------ [2003-01-14 04:56:04] steveh@brendata.co.uk Happily, what's the easiest way to get the tar file attached or can I email it to you (I'll include a GIF, but it doesn't seem to matter as I tried it with a few just in case that was the issue). ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/21630 -- Edit this bug report at http://bugs.php.net/?id=21630&edit=1

« previous php.doc (#969350908) next »