Add clarity + para on imagecopyresized

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@247682 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Etienne Kneuss 2007-12-06 01:17:30 +00:00
parent cdaad7fc5e
commit 6e0001af5e
2 changed files with 22 additions and 2 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.11 $ -->
<!-- $Revision: 1.12 $ -->
<refentry xml:id="function.imagecopyresampled" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>imagecopyresampled</refname>
@ -26,6 +26,15 @@
values so that, in particular, reducing the size of an image still
retains a great deal of clarity.
</para>
<para>
In other words, <function>imagecopyresampled</function> will take an
rectangular area from <parameter>src_image</parameter> of width
<parameter>src_w</parameter> and height <parameter>src_h</parameter> at
position (<parameter>src_x</parameter>,<parameter>src_y</parameter>)
and place it in a rectangular area of <parameter>dst_image</parameter>
of width <parameter>dst_w</parameter> and height <parameter>dst_h</parameter>
at position (<parameter>dst_x</parameter>,<parameter>dst_y</parameter>).
</para>
<para>
If the source and destination coordinates and width and heights
differ, appropriate stretching or shrinking of the image fragment

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.10 $ -->
<!-- $Revision: 1.11 $ -->
<refentry xml:id="function.imagecopyresized" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>imagecopyresized</refname>
@ -25,6 +25,17 @@
portion of one image to another image.
<parameter>dst_image</parameter> is the destination image,
<parameter>src_image</parameter> is the source image identifier.
</para>
<para>
In other words, <function>imagecopyresized</function> will take an
rectangular area from <parameter>src_image</parameter> of width
<parameter>src_w</parameter> and height <parameter>src_h</parameter> at
position (<parameter>src_x</parameter>,<parameter>src_y</parameter>)
and place it in a rectangular area of <parameter>dst_image</parameter>
of width <parameter>dst_w</parameter> and height <parameter>dst_h</parameter>
at position (<parameter>dst_x</parameter>,<parameter>dst_y</parameter>).
</para>
<para>
If the source and destination coordinates and width and heights
differ, appropriate stretching or shrinking of the image fragment
will be performed. The coordinates refer to the upper left