note 99094 added to function.imagecopymerge
| From: | spiderplant0 at gmail dot com | Date: | Tue, 27 Jul 2010 10:24:32 +0000 |
| Subject: | note 99094 added to function.imagecopymerge | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-171167@lists.php.net to get a copy of this message | ||
Sina Salek's solution didnt work for me. rodrigo's worked though I had to make a small
adjustment for it to correctly process all transparent tiles. (I was using the function to stitch
several small tiles into a larger image.)
replaced this line ....
$alpha += 127 * $pct;
with...
$alpha = 127;
----
Server IP: 92.48.74.199
Probable Submitter: 78.144.39.117
----
Manual Page -- http://www.php.net/manual/en/function.imagecopymerge.php
Edit -- https://master.php.net/note/edit/99094
Del: integrated -- https://master.php.net/note/delete/99094/integrated
Del: useless -- https://master.php.net/note/delete/99094/useless
Del: bad code -- https://master.php.net/note/delete/99094/bad+code
Del: spam -- https://master.php.net/note/delete/99094/spam
Del: non-english -- https://master.php.net/note/delete/99094/non-english
Del: in docs -- https://master.php.net/note/delete/99094/in+docs
Del: other reasons-- https://master.php.net/note/delete/99094
Reject -- https://master.php.net/note/reject/99094
Search -- https://master.php.net/manage/user-notes.php