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