note 50511 added to function.imagerotate
| From: | troumad at libertysurf dot fr | Date: | Wed, 02 Mar 2005 11:02:39 +0000 |
| Subject: | note 50511 added to function.imagerotate | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-85774@lists.php.net to get a copy of this message | ||
I thank's Borszczuk fot her message 05-Jan-2005 02:21, but theire is a problem. He has write :
case 270:
$imgDest = imagecreatetruecolor( $srcY, $srcX );
for( $x=0; $x<$srcX; $x++ )
for( $y=0; $y<$srcY; $y++ )
imagecopy($imgDest, $imgSrc, $srcY-$y-1, $srcX-$x-1, $x, $y, 1, 1);
break;
and it's :
imagecopy($imgDest, $imgSrc, $y, $srcX-$x-1, $x, $y, 1, 1);
I use this because I dont understand why imagerotate don't work in my Mandrake 10.1 and my
debien testing !
----
Manual Page -- http://www.php.net/manual/en/function.imagerotate.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+50511
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50511&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50511&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50511&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50511&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50511&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+50511&report=yes
Search -- http://master.php.net/manage/user-notes.php