ID: 24076 Updated by: [EMAIL PROTECTED] Reported By: erwin at flashdevils dot com -Status: Open +Status: Bogus Bug Type: GD related Operating System: Linux Redhat 7.2 PHP Version: 4.3.2 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. When using php with gdlib 2.x you MUST use the imagecreateturcolor() function instead imagecreate() in your scaling part to avoid ugly looking colors. Previous Comments: ------------------------------------------------------------------------ [2003-06-07 18:10:44] erwin at flashdevils dot com Dear Sirs, We have this image upload script to the database. Before it uploads to MySQL it peforms a imagecreatejpeg() to temporary store the image as a file in a ./tmp folder. This to change the size of the image and than store it in the database. When the imagecreatejpeg() has creates a file in the temp folder the image has very weird colors like the colors are totaly mixed up...it looks ugly in the worst way...well you can still see abit whats on the image but thats it. When i store it with the original size so without use of imagecreatejpeg() everything is fine so i think it is in that. For more information and screenshots you can contact me and i'll be glad to send the shots or info over. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24076&edit=1