From: bzrudi at tuxpower dot de Operating system: Linux/Solaris/Windows PHP version: 4.3.3 PHP Bug Type: GD related Bug description: Lost EXIF data when using imagerotate()
Description: ------------ I use the imagerotate() function in my photo gallery to rotate the images (if there is no support for "convert"). What I find out is, that after rotating ALL EXIF data is lost. I guess this is not the desired behavior ;-) Reproduce code: --------------- $img2rotate="some_image.jpg"; $image=imagecreatefromjpeg("$img2rotate"); $rotated_img=imagerotate($image, 90, 0); imagejpeg($rotated_img, "$img2rotate", 100); Expected result: ---------------- I expect to keep the EXIF data from the original image... Actual result: -------------- ALL EXIF data is lost. -- Edit bug report at http://bugs.php.net/?id=25430&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25430&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25430&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25430&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25430&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25430&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25430&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25430&r=support Expected behavior: http://bugs.php.net/fix.php?id=25430&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25430&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25430&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25430&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25430&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25430&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25430&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25430&r=gnused