]> granicus.if.org Git - imagemagick/blob - www/api/magick-wand.html
(no commit message)
[imagemagick] / www / api / magick-wand.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\r
2     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">\r
4 <head>\r
5   <meta http-equiv="content-type" content="text/html; charset=utf-8"/>\r
6   <meta name="verify-v1" content="g222frIIxcQTrvDR3NBRUSKP3AnMNoqxOkIniCEkV7U=" />\r
7   <link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf" />\r
8   <style type="text/css" media="all">\r
9     @import url("../../www/magick.css");\r
10   </style>\r
11   <link rel="shortcut icon" href="../../images/wand.ico"  type="images/vnd.microsoft.icon"/>
12   <title>ImageMagick: MagickWand, C API for ImageMagick: Wand Methods</title>
13   <meta http-equiv="Content-Language" content="en-US"/>
14   <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
15   <meta http-equiv="Reply-to" content="magick-users@imagemagick.org"/>
16   <meta name="Generator" content="PHP"/>
17   <meta name="Keywords" content="magickwc, api, for, imagemagick:, wmethods, ImageMagick, ImageMagic, MagickCore, MagickWand, PerlMagick, Magick++, RMagick, PythonMagick, JMagick, TclMagick, Image, Magick, Magic, Wand, ImageMagickObject, Swiss, Army, Knife, Image, Processing"/>
18   <meta name="Description" content="ImageMagick® is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats (about 100) including GIF, JPEG, JPEG-2000, PNG, PDF, PhotoCD, TIFF, and DPX. Use ImageMagick to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.  ImageMagick is free software delivered as a ready-to-run binary distribution or as source code that you can freely use, copy, modify, and distribute. Its license is compatible with the GPL. It runs on all major operating systems.  The functionality of ImageMagick is typically utilized from the command line or you can use the features from programs written in your favorite programming language. Choose from these interfaces: MagickCore (C), MagickWand (C), ChMagick (Ch), Magick++ (C++), JMagick (Java), L-Magick (Lisp), PascalMagick (Pascal), PerlMagick (Perl), MagickWand for PHP (PHP), PythonMagick (Python), RMagick (Ruby), or TclMagick (Tcl/TK). With a language interface, use ImageMagick to modify or create images automagically and dynamically."/>
19   <meta name="Rating" content="GENERAL"/>
20   <meta name="Robots" content="INDEX, FOLLOW"/>
21   <meta name="Generator" content="ImageMagick Studio LLC"/>
22   <meta name="Author" content="ImageMagick Studio LLC"/>
23   <meta name="Revisit-after" content="2 DAYS"/>
24   <meta name="Resource-type" content="document"/>
25   <meta name="Copyright" content="Copyright (c) 1999-2010 ImageMagick Studio LLC"/>
26   <meta name="Distribution" content="Global"/>
27 </head>\r
28 \r
29 <body id="www-imagemagick-org">\r
30 <div class="titlebar">\r
31 <a href="../../index.html">\r
32   <img src="../../images/script.png" alt="[ImageMagick]"\r
33   style="width: 350px; height: 60px; margin: 28px auto; float: left;" /></a>\r
34 <a href="http://www.networkredux.com">\r
35   <img src="../../images/networkredux.png" alt="[sponsor]"\r
36   style="margin: 45px auto; border: 0px; float: left;" /></a>\r
37 <a href="http://www.imagemagick.org/discourse-server/">\r
38   <img src="../../images/logo.jpg" alt=""\r
39   style="width: 114px; height: 118px; border: 0px; float: right;" /></a>\r
40 <a href="../../index.html">\r
41   <img src="../../images/sprite.jpg" alt=""\r
42   style="width: 114px; height: 118px; border: 0px; float: right;" /></a>\r
43 </div>\r
44 \r
45 <div class="eastbar">\r
46 \r
47 <div class="menu">
48   <a href="../../index.html">About ImageMagick</a>
49 </div>
50 <div class="sep"></div>\r
51 <div class="menu">
52   <a href="../../www/command-line-tools.html">Command-line Tools</a>
53 </div>
54 <div class="sub">
55     <a href="../../www/command-line-processing.html">Processing</a>
56 </div>
57 <div class="sub">
58     <a href="../../www/command-line-options.html">Options</a>
59 </div>
60 <div class="sub">
61     <a href="http://www.imagemagick.org/Usage/">Usage</a>
62 </div>
63 <div class="menu">
64   <a href="../../www/api.html">Program Interfaces</a>
65 </div>
66 <div class="sub">
67     <a href="../../www/magick-wand.html">MagickWand</a>
68 </div>
69 <div class="sub">
70     <a href="../../www/magick-core.html">MagickCore</a>
71 </div>
72 <div class="sub">
73     <a href="../../www/perl-magick.html">PerlMagick</a>
74 </div>
75 <div class="sub">
76     <a href="../../Magick++/">Magick++</a>
77 </div>
78 <div class="menu">
79   <a href="../../www/architecture.html">Architecture</a>
80 </div>
81 <div class="sep"></div>\r
82 <div  class="menu">
83    <a href="../../www/install-source.html">Install from Source</a>
84 </div>
85 <div class="sub">
86     <a href="../../www/install-source.html#unix">Unix</a>
87 </div>
88 <div class="sub">
89     <a href="../../www/install-source.html#windows">Windows</a>
90  </div>
91 <div class="menu">
92   <a href="../../www/binary-releases.html">Binary Releases</a>
93 </div>
94 <div class="sub">
95     <a href="../../www/binary-releases.html#unix">Unix</a>
96 </div>
97 <div class="sub">
98     <a href="../../www/binary-releases.html#macosx">Mac OS X</a>
99 </div>
100 <div class="sub">
101     <a href="../../www/binary-releases.html#windows">Windows</a>
102 </div>
103 <div class="menu">
104   <a href="../../www/resources.html">Resources</a>
105 </div>
106 <div class="sep"></div>\r
107 <div class="menu">
108   <a href="../../www/download.html">Download</a>
109 </div>
110 <div class="sep"></div>\r
111 <div class="menu">
112   <a href="../http://www.imagemagick.org/script/search.php">Search</a>
113 </div>
114 <div class="sep"></div>\r
115 <div class="menu">
116   <a href="../../www/sitemap.html">Site Map</a>
117 </div>
118 <div  class="sub">
119     <a href="../../www/links.html">Links</a>
120 </div>
121 <div class="sep"></div>\r
122 <div  class="menu">
123   <a href="../../www/sponsors.html">Sponsors:</a>
124
125 <div class="sponsbox">
126 <div  class="sponsor">
127    <a href="http://www.geschenke-elsen.de/" title="Lampe Berger">Lampe Berger</a><!-- 20106101000040 -->
128 </div>
129 <div  class="sponsor">
130   <a href="http://www.deko.net">Deko.net</a><!-- 201101010600 Peterssen-->
131 </div>
132 <div  class="sponsor">
133   <a href="http://www.tomsgutscheine.de">Tom's Gutscheine</a><!-- 201005010360 invendio.de-->
134 </div>
135 <div  class="sponsor">
136   <a href="http://www.online-kredit-index.de">Kredit</a><!-- 201007010120 Buchhorn -->
137 </div>
138 <div  class="sponsor">
139   <a href="http://www.blumenversender.com">Blumenversand</a><!-- 201005010120 -->
140 </div>
141 <div  class="sponsor">
142   <a href="http://www.print24.de/">Druckerei</a><!-- 201009010720 -->
143 </div>
144 <div  class="sponsor">
145    <a href="http://www.allesdruck.de">Druckerei Online</a><!-- 201012011200 allesdruck.de-->
146 </div>
147 </div>
148 </div>
149 \r
150 \r
151 </div>\r
152 \r
153 <div class="main">\r
154 \r
155 <p class="navigation-index">[<a href="#ClearMagickWand">ClearMagickWand</a> &bull; <a href="#CloneMagickWand">CloneMagickWand</a> &bull; <a href="#DestroyMagickWand">DestroyMagickWand</a> &bull; <a href="#IsMagickWand">IsMagickWand</a> &bull; <a href="#MagickClearException">MagickClearException</a> &bull; <a href="#MagickGetException">MagickGetException</a> &bull; <a href="#MagickGetExceptionType">MagickGetExceptionType</a> &bull; <a href="#MagickGetIteratorIndex">MagickGetIteratorIndex</a> &bull; <a href="#MagickQueryConfigureOption">MagickQueryConfigureOption</a> &bull; <a href="#MagickQueryConfigureOptions">MagickQueryConfigureOptions</a> &bull; <a href="#MagickQueryFontMetrics">MagickQueryFontMetrics</a> &bull; <a href="#MagickQueryMultilineFontMetrics">MagickQueryMultilineFontMetrics</a> &bull; <a href="#MagickQueryFonts">MagickQueryFonts</a> &bull; <a href="#MagickQueryFonts">MagickQueryFonts</a> &bull; <a href="#MagickRelinquishMemory">MagickRelinquishMemory</a> &bull; <a href="#MagickResetIterator">MagickResetIterator</a> &bull; <a href="#MagickSetFirstIterator">MagickSetFirstIterator</a> &bull; <a href="#MagickSetIteratorIndex">MagickSetIteratorIndex</a> &bull; <a href="#MagickSetLastIterator">MagickSetLastIterator</a> &bull; <a href="#MagickWandGenesis">MagickWandGenesis</a> &bull; <a href="#MagickWandTerminus">MagickWandTerminus</a> &bull; <a href="#NewMagickWand">NewMagickWand</a> &bull; <a href="#NewMagickWandFromImage">NewMagickWandFromImage</a>]</p>
156
157 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-wand
158 _8c.html" target="source" name="ClearMagickWand">ClearMagickWand</a></h2>
159 <div class="doc-section">
160
161 <p>ClearMagickWand() clears resources associated with the wand.</p></ol>
162
163 <p>The format of the ClearMagickWand method is:</p>
164
165 <pre class="code">
166   void ClearMagickWand(MagickWand *wand)
167 </pre>
168
169 <p>A description of each parameter follows:</p></ol>
170
171 <h5>wand</h5>
172 <ol><p>the magick wand.</p></ol>
173
174  </div>
175 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-wand
176 _8c.html" target="source" name="CloneMagickWand">CloneMagickWand</a></h2>
177 <div class="doc-section">
178
179 <p>CloneMagickWand() makes an exact copy of the specified wand.</p></ol>
180
181 <p>The format of the CloneMagickWand method is:</p>
182
183 <pre class="code">
184   MagickWand *CloneMagickWand(const MagickWand *wand)
185 </pre>
186
187 <p>A description of each parameter follows:</p></ol>
188
189 <h5>wand</h5>
190 <ol><p>the magick wand.</p></ol>
191
192  </div>
193 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-wand
194 _8c.html" target="source" name="DestroyMagickWand">DestroyMagickWand</a></h2>
195 <div class="doc-section">
196
197 <p>DestroyMagickWand() deallocates memory associated with an MagickWand.</p></ol>
198
199 <p>The format of the DestroyMagickWand method is:</p>
200
201 <pre class="code">
202   MagickWand *DestroyMagickWand(MagickWand *wand)
203 </pre>
204
205 <p>A description of each parameter follows:</p></ol>
206
207 <h5>wand</h5>
208 <ol><p>the magick wand.</p></ol>
209
210  </div>
211 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-wand
212 _8c.html" target="source" name="IsMagickWand">IsMagickWand</a></h2>
213 <div class="doc-section">
214
215 <p>IsMagickWand() returns MagickTrue if the wand is verified as a magick wand.</p></ol>
216
217 <p>The format of the IsMagickWand method is:</p>
218
219 <pre class="code">
220   MagickBooleanType IsMagickWand(const MagickWand *wand)
221 </pre>
222
223 <p>A description of each parameter follows:</p></ol>
224
225 <h5>wand</h5>
226 <ol><p>the magick wand.</p></ol>
227
228  </div>
229 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-wand
230 _8c.html" target="source" name="MagickClearException">MagickClearException</a></h2>
231 <div class="doc-section">
232
233 <p>MagickClearException() clears any exceptions associated with the wand.</p></ol>
234
235 <p>The format of the MagickClearException method is:</p>
236
237 <pre class="code">
238   MagickBooleanType MagickClearException(MagickWand *wand)
239 </pre>
240
241 <p>A description of each parameter follows:</p></ol>
242
243 <h5>wand</h5>
244 <ol><p>the magick wand.</p></ol>
245
246  </div>
247 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-wand
248 _8c.html" target="source" name="MagickGetException">MagickGetException</a></h2>
249 <div class="doc-section">
250
251 <p>MagickGetException() returns the severity, reason, and description of any error that occurs when using other methods in this API.</p></ol>
252
253 <p>The format of the MagickGetException method is:</p>
254
255 <pre class="code">
256   char *MagickGetException(const MagickWand *wand,ExceptionType *severity)
257 </pre>
258
259 <p>A description of each parameter follows:</p></ol>
260
261 <h5>wand</h5>
262 <ol><p>the magick wand.</p></ol>
263
264 <h5>severity</h5>
265 <ol><p>the severity of the error is returned here.</p></ol>
266
267  </div>
268 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-wand
269 _8c.html" target="source" name="MagickGetExceptionType">MagickGetExceptionType</a></h2>
270 <div class="doc-section">
271
272 <p>MagickGetExceptionType() returns the exception type associated with the wand.  If no exception has occurred, UndefinedExceptionType is returned.</p></ol>
273
274 <p>The format of the MagickGetExceptionType method is:</p>
275
276 <pre class="code">
277   ExceptionType MagickGetExceptionType(const MagickWand *wand)
278 </pre>
279
280 <p>A description of each parameter follows:</p></ol>
281
282 <h5>wand</h5>
283 <ol><p>the magick wand.</p></ol>
284
285  </div>
286 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-wand
287 _8c.html" target="source" name="MagickGetIteratorIndex">MagickGetIteratorIndex</a></h2>
288 <div class="doc-section">
289
290 <p>MagickGetIteratorIndex() returns the position of the iterator in the image list.</p></ol>
291
292 <p>The format of the MagickGetIteratorIndex method is:</p>
293
294 <pre class="code">
295   long MagickGetIteratorIndex(MagickWand *wand)
296 </pre>
297
298 <p>A description of each parameter follows:</p></ol>
299
300 <h5>wand</h5>
301 <ol><p>the magick wand.</p></ol>
302
303  </div>
304 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-wand
305 _8c.html" target="source" name="MagickQueryConfigureOption">MagickQueryConfigureOption</a></h2>
306 <div class="doc-section">
307
308 <p>MagickQueryConfigureOption() returns the value associated with the specified configure option.</p></ol>
309
310 <p>The format of the MagickQueryConfigureOption function is:</p>
311
312 <pre class="text">
313   char *MagickQueryConfigureOption(const char *option)
314 </pre>
315
316 <p>A description of each parameter follows:</p></ol>
317
318 <h5>option</h5>
319 <ol><p>the option name.</p></ol>
320
321  </div>
322 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-wand
323 _8c.html" target="source" name="MagickQueryConfigureOptions">MagickQueryConfigureOptions</a></h2>
324 <div class="doc-section">
325
326 <p>MagickQueryConfigureOptions() returns any configure options that match the specified pattern (e.g.  "*" for all).  Options include NAME, VERSION, LIB_VERSION, etc.</p></ol>
327
328 <p>The format of the MagickQueryConfigureOptions function is:</p>
329
330 <pre class="text">
331   char **MagickQueryConfigureOptions(const char *pattern,
332     unsigned long *number_options)
333 </pre>
334
335 <p>A description of each parameter follows:</p></ol>
336
337 <h5>pattern</h5>
338 <ol><p>Specifies a pointer to a text string containing a pattern.</p></ol>
339
340 <h5>number_options</h5>
341 <ol><p>Returns the number of configure options in the list.</p></ol>
342
343
344  </div>
345 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-wand
346 _8c.html" target="source" name="MagickQueryFontMetrics">MagickQueryFontMetrics</a></h2>
347 <div class="doc-section">
348
349 <p>MagickQueryFontMetrics() returns a 13 element array representing the following font metrics:</p>
350
351 <pre class="text">
352       Element Description
353       -------------------------------------------------
354       0 character width
355       1 character height
356       2 ascender
357       3 descender
358       4 text width
359       5 text height
360       6 maximum horizontal advance
361       7 bounding box: x1
362       8 bounding box: y1
363       9 bounding box: x2
364      10 bounding box: y2
365      11 origin: x
366      12 origin: y
367 </pre>
368
369 <p>The format of the MagickQueryFontMetrics method is:</p>
370
371 <pre class="code">
372   double *MagickQueryFontMetrics(MagickWand *wand,
373     const DrawingWand *drawing_wand,const char *text)
374 </pre>
375
376 <p>A description of each parameter follows:</p></ol>
377
378 <h5>wand</h5>
379 <ol><p>the Magick wand.</p></ol>
380
381 <h5>drawing_wand</h5>
382 <ol><p>the drawing wand.</p></ol>
383
384 <h5>text</h5>
385 <ol><p>the text.</p></ol>
386
387  </div>
388 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-wand
389 _8c.html" target="source" name="MagickQueryMultilineFontMetrics">MagickQueryMultilineFontMetrics</a></h2>
390 <div class="doc-section">
391
392 <p>MagickQueryMultilineFontMetrics() returns a 13 element array representing the following font metrics:</p>
393
394 <pre class="text">
395       Element Description
396       -------------------------------------------------
397       0 character width
398       1 character height
399       2 ascender
400       3 descender
401       4 text width
402       5 text height
403       6 maximum horizontal advance
404       7 bounding box: x1
405       8 bounding box: y1
406       9 bounding box: x2
407      10 bounding box: y2
408      11 origin: x
409      12 origin: y
410 </pre>
411
412 <p>This method is like MagickQueryFontMetrics() but it returns the maximum text width and height for multiple lines of text.</p></ol>
413
414 <p>The format of the MagickQueryFontMetrics method is:</p>
415
416 <pre class="code">
417   double *MagickQueryMultilineFontMetrics(MagickWand *wand,
418     const DrawingWand *drawing_wand,const char *text)
419 </pre>
420
421 <p>A description of each parameter follows:</p></ol>
422
423 <h5>wand</h5>
424 <ol><p>the Magick wand.</p></ol>
425
426 <h5>drawing_wand</h5>
427 <ol><p>the drawing wand.</p></ol>
428
429 <h5>text</h5>
430 <ol><p>the text.</p></ol>
431
432  </div>
433 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-wand
434 _8c.html" target="source" name="MagickQueryFonts">MagickQueryFonts</a></h2>
435 <div class="doc-section">
436
437 <p>MagickQueryFonts() returns any font that match the specified pattern (e.g. "*" for all).</p></ol>
438
439 <p>The format of the MagickQueryFonts function is:</p>
440
441 <pre class="text">
442   char **MagickQueryFonts(const char *pattern,unsigned long *number_fonts)
443 </pre>
444
445 <p>A description of each parameter follows:</p></ol>
446
447 <h5>pattern</h5>
448 <ol><p>Specifies a pointer to a text string containing a pattern.</p></ol>
449
450 <h5>number_fonts</h5>
451 <ol><p>Returns the number of fonts in the list.</p></ol>
452
453
454  </div>
455 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-wand
456 _8c.html" target="source" name="MagickQueryFonts">MagickQueryFonts</a></h2>
457 <div class="doc-section">
458
459 <p>MagickQueryFonts() returns any image formats that match the specified pattern (e.g.  "*" for all).</p></ol>
460
461 <p>The format of the MagickQueryFonts function is:</p>
462
463 <pre class="text">
464   char **MagickQueryFonts(const char *pattern,
465     unsigned long *number_formats)
466 </pre>
467
468 <p>A description of each parameter follows:</p></ol>
469
470 <h5>pattern</h5>
471 <ol><p>Specifies a pointer to a text string containing a pattern.</p></ol>
472
473 <h5>number_formats</h5>
474 <ol><p>This integer returns the number of image formats in the list.</p></ol>
475
476  </div>
477 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-wand
478 _8c.html" target="source" name="MagickRelinquishMemory">MagickRelinquishMemory</a></h2>
479 <div class="doc-section">
480
481 <p>MagickRelinquishMemory() relinquishes memory resources returned by such methods as MagickIdentifyImage(), MagickGetException(), etc.</p></ol>
482
483 <p>The format of the MagickRelinquishMemory method is:</p>
484
485 <pre class="code">
486   void *MagickRelinquishMemory(void *resource)
487 </pre>
488
489 <p>A description of each parameter follows:</p></ol>
490
491 <h5>resource</h5>
492 <ol><p>Relinquish the memory associated with this resource.</p></ol>
493
494  </div>
495 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-wand
496 _8c.html" target="source" name="MagickResetIterator">MagickResetIterator</a></h2>
497 <div class="doc-section">
498
499 <p>MagickResetIterator() resets the wand iterator.  Use it in conjunction with MagickNextImage() to iterate over all the images in a wand container.</p></ol>
500
501 <p>The format of the MagickResetIterator method is:</p>
502
503 <pre class="code">
504   void MagickResetIterator(MagickWand *wand)
505 </pre>
506
507 <p>A description of each parameter follows:</p></ol>
508
509 <h5>wand</h5>
510 <ol><p>the magick wand.</p></ol>
511
512  </div>
513 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-wand
514 _8c.html" target="source" name="MagickSetFirstIterator">MagickSetFirstIterator</a></h2>
515 <div class="doc-section">
516
517 <p>MagickSetFirstIterator() sets the wand iterator to the first image.</p></ol>
518
519 <p>The format of the MagickSetFirstIterator method is:</p>
520
521 <pre class="code">
522   void MagickSetFirstIterator(MagickWand *wand)
523 </pre>
524
525 <p>A description of each parameter follows:</p></ol>
526
527 <h5>wand</h5>
528 <ol><p>the magick wand.</p></ol>
529
530  </div>
531 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-wand
532 _8c.html" target="source" name="MagickSetIteratorIndex">MagickSetIteratorIndex</a></h2>
533 <div class="doc-section">
534
535 <p>MagickSetIteratorIndex() set the iterator to the position in the image list specified with the index parameter.</p></ol>
536
537 <p>The format of the MagickSetIteratorIndex method is:</p>
538
539 <pre class="code">
540   MagickBooleanType MagickSetIteratorIndex(MagickWand *wand,
541     const long index)
542 </pre>
543
544 <p>A description of each parameter follows:</p></ol>
545
546 <h5>wand</h5>
547 <ol><p>the magick wand.</p></ol>
548
549 <h5>index</h5>
550 <ol><p>the scene number.</p></ol>
551
552  </div>
553 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-wand
554 _8c.html" target="source" name="MagickSetLastIterator">MagickSetLastIterator</a></h2>
555 <div class="doc-section">
556
557 <p>MagickSetLastIterator() sets the wand iterator to the last image.</p></ol>
558
559 <p>The format of the MagickSetLastIterator method is:</p>
560
561 <pre class="code">
562   void MagickSetLastIterator(MagickWand *wand)
563 </pre>
564
565 <p>A description of each parameter follows:</p></ol>
566
567 <h5>wand</h5>
568 <ol><p>the magick wand.</p></ol>
569
570  </div>
571 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-wand
572 _8c.html" target="source" name="MagickWandGenesis">MagickWandGenesis</a></h2>
573 <div class="doc-section">
574
575 <p>MagickWandGenesis() initializes the MagickWand environment.</p></ol>
576
577 <p>The format of the MagickWandGenesis method is:</p>
578
579 <pre class="code">
580   void MagickWandGenesis(void)
581 </pre>
582
583  </div>
584 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-wand
585 _8c.html" target="source" name="MagickWandTerminus">MagickWandTerminus</a></h2>
586 <div class="doc-section">
587
588 <p>MagickWandTerminus() terminates the MagickWand environment.</p></ol>
589
590 <p>The format of the MaickWandTerminus method is:</p>
591
592 <pre class="code">
593   void MagickWandTerminus(void)
594 </pre>
595
596  </div>
597 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-wand
598 _8c.html" target="source" name="NewMagickWand">NewMagickWand</a></h2>
599 <div class="doc-section">
600
601 <p>NewMagickWand() returns a wand required for all other methods in the API.</p></ol>
602
603 <p>The format of the NewMagickWand method is:</p>
604
605 <pre class="code">
606   MagickWand *NewMagickWand(void)
607 </pre>
608
609  </div>
610 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-wand
611 _8c.html" target="source" name="NewMagickWandFromImage">NewMagickWandFromImage</a></h2>
612 <div class="doc-section">
613
614 <p>NewMagickWandFromImage() returns a wand with an image.</p></ol>
615
616 <p>The format of the NewMagickWandFromImage method is:</p>
617
618 <pre class="code">
619   MagickWand *NewMagickWandFromImage(const Image *image)
620 </pre>
621
622 <p>A description of each parameter follows:</p></ol>
623
624 <h5>image</h5>
625 <ol><p>the image.</p></ol>
626
627  </div>
628 \r
629 </div>\r
630 \r
631 <div id="linkbar">\r
632  <!--    <span id="linkbar-west">&nbsp;</span>  -->\r
633     <span id="linkbar-center">\r
634       <a href="http://www.imagemagick.org/discourse-server/">Discourse Server</a> &bull;\r
635     <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Studio</a>\r
636     </span>\r
637     <span id="linkbar-east">&nbsp;</span>\r
638   </div>\r
639   <div class="footer">\r
640     <span id="footer-west">&copy; 1999-2010 ImageMagick Studio LLC</span>\r
641     <span id="footer-east"> <a href="../http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>\r
642   </div>\r
643   <div style="clear: both; margin: 0; width: 100%; "></div>\r
644 </body>\r
645 </html>\r