From: jiho at ncsdo dot com
Operating system: mac os x
PHP version: 4.3.2
PHP Bug Type: Performance problem
Bug description: imagerotate()
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 bug report at http://bugs.php.net/?id=24757&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24757&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24757&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=24757&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24757&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24757&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24757&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24757&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24757&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24757&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24757&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24757&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24757&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24757&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24757&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24757&r=gnused