From: erwin at flashdevils dot com Operating system: Linux Redhat 7.2 PHP version: 4.3.2 PHP Bug Type: GD related Bug description: imagecreatejpeg() problem!
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 bug report at http://bugs.php.net/?id=24076&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=24076&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=24076&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24076&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24076&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24076&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24076&r=support Expected behavior: http://bugs.php.net/fix.php?id=24076&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24076&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24076&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24076&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24076&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24076&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24076&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24076&r=gnused