#25430 [Opn->WFx]: GD: Lost EXIF data when using imagerotate()

From: Date: Wed, 10 Sep 2003 22:28:31 +0000
Subject: #25430 [Opn->WFx]: GD: Lost EXIF data when using imagerotate()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-47404@lists.php.net to get a copy of this message
ID: 25430 Updated by: helly@php.net Reported By: bzrudi at tuxpower dot de -Status: Open +Status: Wont fix Bug Type: Feature/Change Request Operating System: * PHP Version: 4.3.3 New Comment: We will not change this in GD. Previous Comments: ------------------------------------------------------------------------ [2003-09-08 07:41:56] bzrudi at tuxpower dot de 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 this bug report at http://bugs.php.net/?id=25430&edit=1

« previous php.bugs (#47404) next »