ID: 17263 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: No Feedback Bug Type: GD related Operating System: Windows XP Pro or Linux PHP Version: 4.2.3 New Comment:
I was hit by this bug also. GD 2.0 bundled with PHP 4.3.0 has this bug also. This was tested with Linux. No output is coming when I'm trying to use imagecreatefrompng() from an indexed color image to a imagecreate()-image using imagecopyresized(). When using imagecreatetruecolor()-image as a target, copying works ok. Previous Comments: ------------------------------------------------------------------------ [2002-11-22 13:22:43] [EMAIL PROTECTED] PHP Version 4.2.3 with GD Library 1.8.4(!!) => imagecopyresized works 'without' Color Problems. PHP Version 4.2.3 with GD Library above 2.0 => imagecopyresized change the Colors dramatical ------------------------------------------------------------------------ [2002-10-14 19:26:50] [EMAIL PROTECTED] No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2002-09-27 06:31:40] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-09-27 04:51:29] [EMAIL PROTECTED] Hi, the problem persist using the latest 4.2.3. The problem is on the destination image format. If you use a true color image there's no problem but if you use a paletted image the problem persist. The only way to avoid this problem is to have a destination image in true color but unfortunately there are some cases where I need to resize a paletted image. I've also try to use a truecolor image and convert it to paletted after conversion but the result is very poor (and slow). ------------------------------------------------------------------------ [2002-09-26 20:07:33] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ 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/17263 -- Edit this bug report at http://bugs.php.net/?id=17263&edit=1