source: www/manuals/PHP_manual/function.imagecopyresampled.html@ 1

Last change on this file since 1 was 1, checked in by george, 17 years ago

Prvotní import všeho

File size: 3.5 KB
Line 
1<HTML
2><HEAD
3><TITLE
4>imagecopyresampled</TITLE
5><META
6NAME="GENERATOR"
7CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
8REL="HOME"
9TITLE="Manuál PHP"
10HREF="index.html"><LINK
11REL="UP"
12TITLE="Image functions"
13HREF="ref.image.html"><LINK
14REL="PREVIOUS"
15TITLE="imagecopymergegray"
16HREF="function.imagecopymergegray.html"><LINK
17REL="NEXT"
18TITLE="imagecopyresized"
19HREF="function.imagecopyresized.html"><META
20HTTP-EQUIV="Content-type"
21CONTENT="text/html; charset=ISO-8859-2"></HEAD
22><BODY
23CLASS="refentry"
24BGCOLOR="#FFFFFF"
25TEXT="#000000"
26LINK="#0000FF"
27VLINK="#840084"
28ALINK="#0000FF"
29><DIV
30CLASS="NAVHEADER"
31><TABLE
32SUMMARY="Header navigation table"
33WIDTH="100%"
34BORDER="0"
35CELLPADDING="0"
36CELLSPACING="0"
37><TR
38><TH
39COLSPAN="3"
40ALIGN="center"
41>Manuál PHP</TH
42></TR
43><TR
44><TD
45WIDTH="10%"
46ALIGN="left"
47VALIGN="bottom"
48><A
49HREF="function.imagecopymergegray.html"
50ACCESSKEY="P"
51>Pøedcházející</A
52></TD
53><TD
54WIDTH="80%"
55ALIGN="center"
56VALIGN="bottom"
57></TD
58><TD
59WIDTH="10%"
60ALIGN="right"
61VALIGN="bottom"
62><A
63HREF="function.imagecopyresized.html"
64ACCESSKEY="N"
65>Dal¹í</A
66></TD
67></TR
68></TABLE
69><HR
70ALIGN="LEFT"
71WIDTH="100%"></DIV
72><H1
73><A
74NAME="function.imagecopyresampled"
75></A
76>imagecopyresampled</H1
77><DIV
78CLASS="refnamediv"
79><A
80NAME="AEN31179"
81></A
82><P
83> (PHP 4 &#62;= 4.0.6)</P
84>imagecopyresampled&nbsp;--&nbsp;Copy and resize part of an image with resampling</DIV
85><DIV
86CLASS="refsect1"
87><A
88NAME="AEN31182"
89></A
90><H2
91>Description</H2
92>int <B
93CLASS="methodname"
94>imagecopyresampled</B
95> ( resource dst_im, resource src_im, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH)<BR
96></BR
97><P
98>&#13; <B
99CLASS="function"
100>imagecopyresampled()</B
101> copies a rectangular
102 portion of one image to another image, smoothly interpolating pixel
103 values so that, in particular, reducing the size of an image still
104 retains a great deal of clarity.
105 <TT
106CLASS="parameter"
107><I
108>Dst_im</I
109></TT
110> is the destination image,
111 <TT
112CLASS="parameter"
113><I
114>src_im</I
115></TT
116> is the source image identifier. If
117 the source and destination coordinates and width and heights
118 differ, appropriate stretching or shrinking of the image fragment
119 will be performed. The coordinates refer to the upper left
120 corner. This function can be used to copy regions within the
121 same image (if <TT
122CLASS="parameter"
123><I
124>dst_im</I
125></TT
126> is the same as
127 <TT
128CLASS="parameter"
129><I
130>src_im</I
131></TT
132>) but if the regions overlap the
133 results will be unpredictable.
134 </P
135><P
136>&#13; See also <A
137HREF="function.imagecopyresized.html"
138><B
139CLASS="function"
140>imagecopyresized()</B
141></A
142>.
143 </P
144><DIV
145CLASS="note"
146><BLOCKQUOTE
147CLASS="note"
148><P
149><B
150>Poznámka: </B
151>This function was added in PHP 4.0.6 and requires GD 2.0.1 or later</P
152></BLOCKQUOTE
153></DIV
154></DIV
155><DIV
156CLASS="NAVFOOTER"
157><HR
158ALIGN="LEFT"
159WIDTH="100%"><TABLE
160SUMMARY="Footer navigation table"
161WIDTH="100%"
162BORDER="0"
163CELLPADDING="0"
164CELLSPACING="0"
165><TR
166><TD
167WIDTH="33%"
168ALIGN="left"
169VALIGN="top"
170><A
171HREF="function.imagecopymergegray.html"
172ACCESSKEY="P"
173>Pøedcházející</A
174></TD
175><TD
176WIDTH="34%"
177ALIGN="center"
178VALIGN="top"
179><A
180HREF="index.html"
181ACCESSKEY="H"
182>Domù</A
183></TD
184><TD
185WIDTH="33%"
186ALIGN="right"
187VALIGN="top"
188><A
189HREF="function.imagecopyresized.html"
190ACCESSKEY="N"
191>Dal¹í</A
192></TD
193></TR
194><TR
195><TD
196WIDTH="33%"
197ALIGN="left"
198VALIGN="top"
199>imagecopymergegray</TD
200><TD
201WIDTH="34%"
202ALIGN="center"
203VALIGN="top"
204><A
205HREF="ref.image.html"
206ACCESSKEY="U"
207>Nahoru</A
208></TD
209><TD
210WIDTH="33%"
211ALIGN="right"
212VALIGN="top"
213>imagecopyresized</TD
214></TR
215></TABLE
216></DIV
217></BODY
218></HTML
219>
Note: See TracBrowser for help on using the repository browser.