|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-09-10 18:28 UTC] helly@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 08 12:00:01 2025 UTC |
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.