note 82556 added to function.imagecolorat
| From: | (VBAssassin) | Date: | Wed, 16 Apr 2008 12:02:03 +0000 |
| Subject: | note 82556 added to function.imagecolorat | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-138367@lists.php.net to get a copy of this message | ||
I've found this function very useful when wanting to manipulate an existing image. An example
would be to simply flip an image (source code here: http://www.coderprofile.com/source-code/372/
)
The principle i use a lot is to scan through an image pixel by pixel performing some kind of action
on that pixel... and then saving the newly created pixel on to a new canvas ready to display to the
browser.
The only problem i find is speed... so some kind of caching mechanism and dimensions limitation on
images that are processed is recommended for high traffic use.
Kind regards,
Scott
----
Server IP: 92.48.74.199
Probable Submitter: 88.109.206.217
----
Manual Page -- http://www.php.net/manual/en/function.imagecolorat.php
Edit -- https://master.php.net/note/edit/82556
Del: integrated -- https://master.php.net/note/delete/82556/integrated
Del: useless -- https://master.php.net/note/delete/82556/useless
Del: bad code -- https://master.php.net/note/delete/82556/bad+code
Del: spam -- https://master.php.net/note/delete/82556/spam
Del: non-english -- https://master.php.net/note/delete/82556/non-english
Del: in docs -- https://master.php.net/note/delete/82556/in+docs
Del: other reasons-- https://master.php.net/note/delete/82556
Reject -- https://master.php.net/note/reject/82556
Search -- https://master.php.net/manage/user-notes.php