php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #25430 GD: Lost EXIF data when using imagerotate()
Submitted: 2003-09-08 07:41 UTC Modified: 2003-09-10 18:28 UTC
Votes:3
Avg. Score:4.7 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: bzrudi at tuxpower dot de Assigned:
Status: Wont fix Package: Feature/Change Request
PHP Version: 4.3.3 OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bzrudi at tuxpower dot de
New email:
PHP Version: OS:

 

 [2003-09-08 07:41 UTC] 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.  

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-10 18:28 UTC] helly@php.net
We will not change this in GD.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 19 10:01:32 2024 UTC