#24757 [Fbk->NoF]: imagerotate() chops image
ID: 24757
Updated by: sniper@php.net
Reported By: jiho at ncsdo dot com
-Status: Feedback
+Status: No Feedback
Bug Type: GD related
Operating System: mac os x
PHP Version: 4.3.2
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2003-07-23 17:52:24] sniper@php.net
Did you try the snapshot or not?
------------------------------------------------------------------------
[2003-07-23 17:15:47] iliaa@php.net
Does this happen with any image, or any image? If prior is the case
please supply the image.
------------------------------------------------------------------------
[2003-07-23 14:17:21] jiho at ncsdo dot com
i also noticed that a lot of the EXIF info gets wiped
off
------------------------------------------------------------------------
[2003-07-23 08:43:46] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Seems to work perfectly in latest CVS.
------------------------------------------------------------------------
[2003-07-22 15:36:58] jiho at ncsdo dot com
Description:
------------
hi
when the img is vertical(img_y > img_x) and exectue -90
on imagerotate.. it chops off some of the image on the
left side.. other angle (90, 180, -180) seems to work
fine in any format(vertical and horizontal) only when
the img is vertical with -90
Reproduce code:
---------------
$rotate_degree = "-90";
$src_photo = imagecreatefromjpeg( $img_jpg );
$src_photo_rotate = imagerotate($src_photo,$rotate_degree, 0);
imagejpeg($src_photo_rotate, $dir_name, "100");
Expected result:
----------------
i accept to see it rotate perfectly without the rotated
img to be chopped off. :D
Actual result:
--------------
the img gets chopped off on the left hand side
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24757&edit=1
Thread (6 messages)