source: www/manuals/PHP_manual/function.imagecopymergegray.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.6 KB
Line 
1<HTML
2><HEAD
3><TITLE
4>imagecopymergegray</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="imagecopymerge"
16HREF="function.imagecopymerge.html"><LINK
17REL="NEXT"
18TITLE="imagecopyresampled"
19HREF="function.imagecopyresampled.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.imagecopymerge.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.imagecopyresampled.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.imagecopymergegray"
75></A
76>imagecopymergegray</H1
77><DIV
78CLASS="refnamediv"
79><A
80NAME="AEN31126"
81></A
82><P
83> (PHP 4 &#62;= 4.0.6)</P
84>imagecopymergegray&nbsp;--&nbsp;Copy and merge part of an image with gray scale</DIV
85><DIV
86CLASS="refsect1"
87><A
88NAME="AEN31129"
89></A
90><H2
91>Description</H2
92>int <B
93CLASS="methodname"
94>imagecopymergegray</B
95> ( resource dst_im, resource src_im, int dst_x, int dst_y, int src_x, int src_y, int src_w, int src_h, int pct)<BR
96></BR
97><P
98>&#13; <B
99CLASS="function"
100>imagecopymergegray()</B
101> copy a part of <TT
102CLASS="parameter"
103><I
104>src_im</I
105></TT
106> onto
107 <TT
108CLASS="parameter"
109><I
110>dst_im</I
111></TT
112> starting at the x,y coordinates
113 <TT
114CLASS="parameter"
115><I
116>src_x</I
117></TT
118>, <TT
119CLASS="parameter"
120><I
121>src_y </I
122></TT
123> with
124 a width of <TT
125CLASS="parameter"
126><I
127>src_w</I
128></TT
129> and a height of
130 <TT
131CLASS="parameter"
132><I
133>src_h</I
134></TT
135>. The portion defined will be copied
136 onto the x,y coordinates, <TT
137CLASS="parameter"
138><I
139>dst_x</I
140></TT
141> and
142 <TT
143CLASS="parameter"
144><I
145>dst_y</I
146></TT
147>.
148 The two images will be merged according to <TT
149CLASS="parameter"
150><I
151>pct</I
152></TT
153>
154 which can range from 0 to 100. When <TT
155CLASS="parameter"
156><I
157>pct</I
158></TT
159> = 0,
160 no action is taken, when 100 this function behaves identically
161 to <A
162HREF="function.imagecopy.html"
163><B
164CLASS="function"
165>imagecopy()</B
166></A
167>.
168 </P
169><P
170>&#13; This function is identical to <A
171HREF="function.imagecopymerge.html"
172><B
173CLASS="function"
174>imagecopymerge()</B
175></A
176> except
177 that when merging it preservese the hue of the source by converting
178 the destination pixels to gray scale before the copy operation.
179 </P
180><DIV
181CLASS="note"
182><BLOCKQUOTE
183CLASS="note"
184><P
185><B
186>Poznámka: </B
187>This function was added in PHP 4.0.6</P
188></BLOCKQUOTE
189></DIV
190></DIV
191><DIV
192CLASS="NAVFOOTER"
193><HR
194ALIGN="LEFT"
195WIDTH="100%"><TABLE
196SUMMARY="Footer navigation table"
197WIDTH="100%"
198BORDER="0"
199CELLPADDING="0"
200CELLSPACING="0"
201><TR
202><TD
203WIDTH="33%"
204ALIGN="left"
205VALIGN="top"
206><A
207HREF="function.imagecopymerge.html"
208ACCESSKEY="P"
209>Pøedcházející</A
210></TD
211><TD
212WIDTH="34%"
213ALIGN="center"
214VALIGN="top"
215><A
216HREF="index.html"
217ACCESSKEY="H"
218>Domù</A
219></TD
220><TD
221WIDTH="33%"
222ALIGN="right"
223VALIGN="top"
224><A
225HREF="function.imagecopyresampled.html"
226ACCESSKEY="N"
227>Dal¹í</A
228></TD
229></TR
230><TR
231><TD
232WIDTH="33%"
233ALIGN="left"
234VALIGN="top"
235>imagecopymerge</TD
236><TD
237WIDTH="34%"
238ALIGN="center"
239VALIGN="top"
240><A
241HREF="ref.image.html"
242ACCESSKEY="U"
243>Nahoru</A
244></TD
245><TD
246WIDTH="33%"
247ALIGN="right"
248VALIGN="top"
249>imagecopyresampled</TD
250></TR
251></TABLE
252></DIV
253></BODY
254></HTML
255>
Note: See TracBrowser for help on using the repository browser.