note 92430 added to function.imagerotate
| From: | gglocknerATNOSPAMdwafflerDOTcom at osu1 dot php dot net | Date: | Thu, 23 Jul 2009 19:36:40 +0000 |
| Subject: | note 92430 added to function.imagerotate | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-158664@lists.php.net to get a copy of this message | ||
If you're going to do a rotation by hand instead of using the imagerotate function, you can use
the imagecopy function to copy a single pixel instead of determining the pixel color and setting the
pixel. Not only is this shorter and cleaner, but it also works with images that are not truecolor
(on my system, imagecolorat fails with an image that is not truecolor).
----
Server IP: 209.41.74.194
Probable Submitter: 76.245.47.24
----
Manual Page -- http://www.php.net/manual/en/function.imagerotate.php
Edit -- https://master.php.net/note/edit/92430
Del: integrated -- https://master.php.net/note/delete/92430/integrated
Del: useless -- https://master.php.net/note/delete/92430/useless
Del: bad code -- https://master.php.net/note/delete/92430/bad+code
Del: spam -- https://master.php.net/note/delete/92430/spam
Del: non-english -- https://master.php.net/note/delete/92430/non-english
Del: in docs -- https://master.php.net/note/delete/92430/in+docs
Del: other reasons-- https://master.php.net/note/delete/92430
Reject -- https://master.php.net/note/reject/92430
Search -- https://master.php.net/manage/user-notes.php