ID: 10097 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Old-Bug Type: GD related Bug Type: *Graphics related Description: ImageColorAllocate() doesn't work with ImageCreateFromJPEG() After creating an image with ImageCreateFromJPEG() all ImageAllocate() on this image fail. The same script with ImageCreate() works fine. http://oct31.de/dyn/clock.php?img=avface2bl http://oct31.de/dyn/clock.php Config see http://oct31.de/php/phpinfo.php I don't run the server myself and cannot tell much about the configuration. Script source at http://oct31.de/aw/phpclock/index.html ==== modification ==== It seems to be an undocumented limitation, not a bug. After trying ImageColorAllocate() on an image created from a JPG with only very few colors, the colors could be allocated Previous Comments: --------------------------------------------------------------------------- [2001-04-01 13:04:39] [EMAIL PROTECTED] Please explain HOW it doesn't work? The URLs seem to work just fine. And you shouln't be reporting the bug if you're not admin of the site as you can't try any other versions of PHP or GD. And FYI: ImageColorAllocate() after imagecreatefromjpeg() works just fine for me. --Jani --------------------------------------------------------------------------- [2001-04-01 08:04:18] [EMAIL PROTECTED] After creating an image with ImageCreateFromJPEG() all ImageAllocate() on this image fail. The same script with ImageCreate() works fine. http://oct31.de/dyn/clock.php?img=avface2bl http://oct31.de/dyn/clock.php Config see http://oct31.de/php/phpinfo.php I don't run the server myself and cannot tell much about the configuration. Script source at http://oct31.de/aw/phpclock/index.html --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=10097 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]