|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-07-23 08:43 UTC] iliaa@php.net
[2003-07-23 14:17 UTC] jiho at ncsdo dot com
[2003-07-23 17:15 UTC] iliaa@php.net
[2003-07-23 17:52 UTC] sniper@php.net
[2003-07-28 05:33 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 08:00:02 2025 UTC |
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