svn: /phpdoc/en/trunk/reference/image/ examples.xml
| From: | Kalle Sommer Nielsen | Date: | Fri, 22 Mar 2013 19:01:40 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/image/ examples.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-11123@lists.php.net to get a copy of this message | ||
kalle Fri, 22 Mar 2013 19:01:40 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=329881
Log:
Merge usernote comment #102402 into the documentation
# The usernote was deleted hereafter
Bug: https://bugs.php.net/102402 (error getting bug
information)
Changed paths:
U phpdoc/en/trunk/reference/image/examples.xml
Modified: phpdoc/en/trunk/reference/image/examples.xml
===================================================================
--- phpdoc/en/trunk/reference/image/examples.xml 2013-03-22 18:46:41 UTC (rev 329880)
+++ phpdoc/en/trunk/reference/image/examples.xml 2013-03-22 19:01:40 UTC (rev 329881)
@@ -101,7 +101,7 @@
$sx = imagesx($stamp);
$sy = imagesy($stamp);
-// Merge the stamp onto our photo with an opacity (transparency) of 50%
+// Merge the stamp onto our photo with an opacity of 50%
imagecopymerge($im, $stamp, imagesx($im) - $sx - $marge_right, imagesy($im) - $sy - $marge_bottom,
0, 0, imagesx($stamp), imagesy($stamp), 50);
// Save the image to file and free memory
@@ -120,9 +120,9 @@
</example>
This example uses <function>imagecopymerge</function> to merge the stamp
with our original image. Using this we can set the opacity of our stamp -
- in our example we've set it to 50% opacity (another term for transparency).
- In practice this would be useful in copyright protection as semi-transparent
- watermarks are hard to remove yet allow viewers to see the image.
+ in our example we've set it to 50% opacity. In practice this would be useful
+ in copyright protection as semi-transparent watermarks are hard to remove
+ yet allow viewers to see the image.
</para>
</section>
</chapter>