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
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
\r
6 <meta name="verify-v1" content="g222frIIxcQTrvDR3NBRUSKP3AnMNoqxOkIniCEkV7U="/>
\r
7 <title>ImageMagick: MagickWand, C API for ImageMagick: Deprecated Methods</title/>
8 <meta http-equiv="Content-Language" content="en-US"/>
9 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
10 <meta http-equiv="Reply-to" content="magick-users@imagemagick.org"/>
11 <meta name="Application-name" content="ImageMagick"/>
12 <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."/>
13 <meta name="Application-url" content="http://www.imagemagick.org"/>
14 <meta name="Generator" content="PHP"/>
15 <meta name="Keywords" content="magickwc, api, for, imagemagick:, deprecated, methods, ImageMagick, ImageMagic, MagickCore, MagickWand, PerlMagick, Magick++, RMagick, PythonMagick, JMagick, TclMagick, Image, Magick, Magic, Wand, ImageMagickObject, Swiss, Army, Knife, Image, Processing"/>
16 <meta name="Rating" content="GENERAL"/>
17 <meta name="Robots" content="INDEX, FOLLOW"/>
18 <meta name="Generator" content="ImageMagick Studio LLC"/>
19 <meta name="Author" content="ImageMagick Studio LLC"/>
20 <meta name="Revisit-after" content="2 DAYS"/>
21 <meta name="Resource-type" content="document"/>
22 <meta name="Copyright" content="Copyright (c) 1999-2010 ImageMagick Studio LLC"/>
23 <meta name="Distribution" content="Global"/>
24 <link rel="icon" href="../../images/wand.png" sizes="32x32"/>
25 <link rel="shortcut icon" href="../../images/wand.ico" type="images/x-icon"/>
26 <link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf"/>
\r
27 <style type="text/css" media="all">
\r
28 @import url("../../www/magick.css");
\r
32 <body id="www-imagemagick-org">
\r
33 <div class="titlebar">
\r
34 <a href="../../index.html">
\r
35 <img src="../../images/script.png" alt="[ImageMagick]"
\r
36 style="width: 350px; height: 60px; margin: 28px auto; float: left;" /></a>
\r
37 <a href="http://www.networkredux.com">
\r
38 <img src="../../images/networkredux.png" alt="[sponsor]"
\r
39 style="margin: 45px auto; border: 0px; float: left;" /></a>
\r
40 <a href="http://www.imagemagick.org/discourse-server/">
\r
41 <img src="../../images/logo.jpg" alt=""
\r
42 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
\r
43 <a href="../../index.html">
\r
44 <img src="../../images/sprite.jpg" alt=""
\r
45 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
\r
48 <div class="westbar">
\r
51 <a title="About ImageMagick" href="../../index.html">About ImageMagick</a>
53 <div class="sep"></div>
\r
55 <a title="Binary Releases" href="../../www/binary-releases.html">Binary Releases</a>
58 <a title="Binary Release: Unix" href="../../www/binary-releases.html#unix">Unix</a>
61 <a title="Binary Release: MacOS X" href="../../www/binary-releases.html#macosx">Mac OS X</a>
64 <a title="Binary Release: Windows" href="../../www/binary-releases.html#windows">Windows</a>
66 <div class="sep"></div>
\r
68 <a title="Command-line Tools" href="../../www/command-line-tools.html">Command-line Tools</a>
71 <a title="Command-line Tools: Processing" href="../../www/command-line-processing.html">Processing</a>
74 <a title="Command-line Tools: Options" href="../../www/command-line-options.html">Options</a>
77 <a title="Command-line Tools: Usage" href="http://www.imagemagick.org/Usage/">Usage</a>
80 <a title="Program Interfaces" href="../../www/api.html">Program Interfaces</a>
83 <a title="Program Interface: MagickWand" href="../../www/magick-wand.html">MagickWand</a>
86 <a title="Program Interface: MagickCore" href="../../www/magick-core.html">MagickCore</a>
89 <a title="Program Interface: PerlMagick" href="../../www/perl-magick.html">PerlMagick</a>
92 <a title="Program Interface: Magick++" href="../../Magick++/">Magick++</a>
94 <div class="sep"></div>
\r
96 <a title="Install from Source" href="../../www/install-source.html">Install from Source</a>
99 <a title="Install from Source: Unix" href="../../www/install-source.html#unix">Unix</a>
102 <a title="Install from Source: Windows" href="../../www/install-source.html#windows">Windows</a>
105 <a title="Resources" href="../../www/resources.html">Resources</a>
108 <a title="Architecture" href="../../www/architecture.html">Architecture</a>
111 <a title="Download" href="../../www/download.html">Download</a>
113 <div class="sep"></div>
\r
115 <a title="Search" href="../http://www.imagemagick.org/script/search.php">Search</a>
117 <div class="sep"></div>
\r
119 <a title="Site Map"href="../../www/sitemap.html">Site Map</a>
122 <a title="Site Map: Links"href="../../www/links.html">Links</a>
124 <div class="sep"></div>
\r
126 <a title="Sponsors" href="../../www/sponsors.html">Sponsors:</a>
128 <div class="sponsbox">
129 <div class="sponsor">
130 <a title="Sponsor: Flyer drucken" href="http://www.online-druck.biz">Flyer drucken</a><!-- 201109010900 Floeter-->
132 <div class="sponsor">
133 <a title="Sponsor: Webdesign Agentur" href="http://www.ventzke-partner.de">Webdesign Agentur</a><!-- 201101010480 invendio.de-->
135 <div class="sponsor">
136 <a title="Sponsor: LVM Versicherung" href="http://www.neu-reich.de">LVM Versicherung</a><!-- 201101010480 -->
138 <div class="sponsor">
139 <a title="Sponsor: Deko.net" href="http://www.deko.net">Deko.net</a><!-- 201101010600 Peterssen-->
141 <div class="sponsor">
142 <a title="Sponsor: Druckerei" href="http://www.print24.de/">Druckerei</a><!-- 201009010720 -->
144 <div class="sponsor">
145 <a title="Sponsor: Druckerei Online" href="http://www.allesdruck.de">Druckerei Online</a><!-- 201012011200 allesdruck.de-->
147 <div class="sponsor">
148 <a title="Sponsor: Free Catalogs" href="http://www.who-sells-it.com/">Free Catalogs</a><!-- 20120801000600 -->
154 <div class="eastbar">
\r
155 <script type="text/javascript">
\r
157 google_ad_client = "pub-3129977114552745";
\r
158 google_ad_slot = "0574824969";
\r
159 google_ad_width = 160;
\r
160 google_ad_height = 600;
\r
163 <script type="text/javascript"
\r
164 src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
\r
170 <p class="navigation-index">[<a href="#MagickAverageImages">MagickAverageImages</a> • <a href="#ClonePixelView">ClonePixelView</a> • <a href="#DestroyPixelView">DestroyPixelView</a> • <a href="#DuplexTransferPixelViewIterator">DuplexTransferPixelViewIterator</a> • <a href="#GetPixelViewException">GetPixelViewException</a> • <a href="#GetPixelViewHeight">GetPixelViewHeight</a> • <a href="#GetPixelViewIterator">GetPixelViewIterator</a> • <a href="#GetPixelViewPixels">GetPixelViewPixels</a> • <a href="#GetPixelViewWand">GetPixelViewWand</a> • <a href="#GetPixelViewWidth">GetPixelViewWidth</a> • <a href="#GetPixelViewX">GetPixelViewX</a> • <a href="#GetPixelViewY">GetPixelViewY</a> • <a href="#IsPixelView">IsPixelView</a> • <a href="#MagickClipPathImage">MagickClipPathImage</a> • <a href="#DrawGetFillAlpha">DrawGetFillAlpha</a> • <a href="#DrawGetStrokeAlpha">DrawGetStrokeAlpha</a> • <a href="#DrawPeekGraphicWand">DrawPeekGraphicWand</a> • <a href="#DrawPopGraphicContext">DrawPopGraphicContext</a> • <a href="#DrawPushGraphicContext">DrawPushGraphicContext</a> • <a href="#DrawSetFillAlpha">DrawSetFillAlpha</a> • <a href="#DrawSetStrokeAlpha">DrawSetStrokeAlpha</a> • <a href="#MagickColorFloodfillImage">MagickColorFloodfillImage</a> • <a href="#MagickDescribeImage">MagickDescribeImage</a> • <a href="#MagickFlattenImages">MagickFlattenImages</a> • <a href="#MagickGetImageAttribute">MagickGetImageAttribute</a> • <a href="#MagickGetImageMatte">MagickGetImageMatte</a> • <a href="#MagickGetImagePixels">MagickGetImagePixels</a> • <a href="#MagickGetImageSize">MagickGetImageSize</a> • <a href="#MagickMapImage">MagickMapImage</a> • <a href="#MagickMatteFloodfillImage">MagickMatteFloodfillImage</a> • <a href="#MagickMaximumImages">MagickMaximumImages</a> • <a href="#MagickMinimumImages">MagickMinimumImages</a> • <a href="#MagickMosaicImages">MagickMosaicImages</a> • <a href="#MagickOpaqueImage">MagickOpaqueImage</a> • <a href="#MagickPaintFloodfillImage">MagickPaintFloodfillImage</a> • <a href="#MagickPaintOpaqueImage">MagickPaintOpaqueImage</a> • <a href="#MagickPaintTransparentImage">MagickPaintTransparentImage</a> • <a href="#MagickRecolorImage">MagickRecolorImage</a> • <a href="#MagickSetImageAttribute">MagickSetImageAttribute</a> • <a href="#MagickSetImageIndex">MagickSetImageIndex</a> • <a href="#MagickTransparentImage">MagickTransparentImage</a> • <a href="#MagickRegionOfInterestImage">MagickRegionOfInterestImage</a> • <a href="#MagickSetImagePixels">MagickSetImagePixels</a> • <a href="#MagickWriteImageBlob">MagickWriteImageBlob</a> • <a href="#NewPixelView">NewPixelView</a> • <a href="#NewPixelViewRegion">NewPixelViewRegion</a> • <a href="#PixelGetNextRow">PixelGetNextRow</a> • <a href="#PixelIteratorGetException">PixelIteratorGetException</a> • <a href="#SetPixelViewIterator">SetPixelViewIterator</a> • <a href="#TransferPixelViewIterator">TransferPixelViewIterator</a> • <a href="#UpdatePixelViewIterator">UpdatePixelViewIterator</a>]</p>
172 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
173 _8c.html" target="source" name="MagickAverageImages">MagickAverageImages</a></h2>
174 <div class="doc-section">
176 <p>MagickAverageImages() average a set of images.</p></ol>
178 <p>The format of the MagickAverageImages method is:</p>
181 MagickWand *MagickAverageImages(MagickWand *wand)
184 <p>A description of each parameter follows:</p></ol>
187 <ol><p>the magick wand.</p></ol>
190 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
191 _8c.html" target="source" name="ClonePixelView">ClonePixelView</a></h2>
192 <div class="doc-section">
194 <p>ClonePixelView() makes a copy of the specified pixel view.</p></ol>
196 <p>The format of the ClonePixelView method is:</p>
199 PixelView *ClonePixelView(const PixelView *pixel_view)
202 <p>A description of each parameter follows:</p></ol>
205 <ol><p>the pixel view.</p></ol>
208 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
209 _8c.html" target="source" name="DestroyPixelView">DestroyPixelView</a></h2>
210 <div class="doc-section">
212 <p>DestroyPixelView() deallocates memory associated with a pixel view.</p></ol>
214 <p>The format of the DestroyPixelView method is:</p>
217 PixelView *DestroyPixelView(PixelView *pixel_view,
218 const size_t number_wands,const size_t number_threads)
221 <p>A description of each parameter follows:</p></ol>
224 <ol><p>the pixel view.</p></ol>
227 <ol><p>the number of pixel wands.</p></ol>
229 <h5>number_threads</h5>
230 <ol><p>number of threads.</p></ol>
233 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
234 _8c.html" target="source" name="DuplexTransferPixelViewIterator">DuplexTransferPixelViewIterator</a></h2>
235 <div class="doc-section">
237 <p>DuplexTransferPixelViewIterator() iterates over three pixel views in parallel and calls your transfer method for each scanline of the view. The source and duplex pixel region is not confined to the image canvas-- that is you can include negative offsets or widths or heights that exceed the image dimension. However, the destination pixel view is confined to the image canvas-- that is no negative offsets or widths or heights that exceed the image dimension are permitted.</p></ol>
239 <p>Use this pragma:</p>
245 <p>to define a section of code in your callback transfer method that must be executed by a single thread at a time.</p></ol>
247 <p>The format of the DuplexTransferPixelViewIterator method is:</p>
250 MagickBooleanType DuplexTransferPixelViewIterator(PixelView *source,
251 PixelView *duplex,PixelView *destination,
252 DuplexTransferPixelViewMethod transfer,void *context)
255 <p>A description of each parameter follows:</p></ol>
258 <ol><p>the source pixel view.</p></ol>
261 <ol><p>the duplex pixel view.</p></ol>
264 <ol><p>the destination pixel view.</p></ol>
267 <ol><p>the transfer callback method.</p></ol>
270 <ol><p>the user defined context.</p></ol>
273 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
274 _8c.html" target="source" name="GetPixelViewException">GetPixelViewException</a></h2>
275 <div class="doc-section">
277 <p>GetPixelViewException() returns the severity, reason, and description of any error that occurs when utilizing a pixel view.</p></ol>
279 <p>The format of the GetPixelViewException method is:</p>
282 char *GetPixelViewException(const PixelWand *pixel_view,
283 ExceptionType *severity)
286 <p>A description of each parameter follows:</p></ol>
289 <ol><p>the pixel pixel_view.</p></ol>
292 <ol><p>the severity of the error is returned here.</p></ol>
295 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
296 _8c.html" target="source" name="GetPixelViewHeight">GetPixelViewHeight</a></h2>
297 <div class="doc-section">
299 <p>GetPixelViewHeight() returns the pixel view height.</p></ol>
301 <p>The format of the GetPixelViewHeight method is:</p>
304 size_t GetPixelViewHeight(const PixelView *pixel_view)
307 <p>A description of each parameter follows:</p></ol>
310 <ol><p>the pixel view.</p></ol>
313 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
314 _8c.html" target="source" name="GetPixelViewIterator">GetPixelViewIterator</a></h2>
315 <div class="doc-section">
317 <p>GetPixelViewIterator() iterates over the pixel view in parallel and calls your get method for each scanline of the view. The pixel region is not confined to the image canvas-- that is you can include negative offsets or widths or heights that exceed the image dimension. Any updates to the pixels in your callback are ignored.</p></ol>
319 <p>Use this pragma:</p>
325 <p>to define a section of code in your callback get method that must be executed by a single thread at a time.</p></ol>
327 <p>The format of the GetPixelViewIterator method is:</p>
330 MagickBooleanType GetPixelViewIterator(PixelView *source,
331 GetPixelViewMethod get,void *context)
334 <p>A description of each parameter follows:</p></ol>
337 <ol><p>the source pixel view.</p></ol>
340 <ol><p>the get callback method.</p></ol>
343 <ol><p>the user defined context.</p></ol>
346 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
347 _8c.html" target="source" name="GetPixelViewPixels">GetPixelViewPixels</a></h2>
348 <div class="doc-section">
350 <p>GetPixelViewPixels() returns the pixel view pixel_wands.</p></ol>
352 <p>The format of the GetPixelViewPixels method is:</p>
355 PixelWand *GetPixelViewPixels(const PixelView *pixel_view)
358 <p>A description of each parameter follows:</p></ol>
361 <ol><p>the pixel view.</p></ol>
364 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
365 _8c.html" target="source" name="GetPixelViewWand">GetPixelViewWand</a></h2>
366 <div class="doc-section">
368 <p>GetPixelViewWand() returns the magick wand associated with the pixel view.</p></ol>
370 <p>The format of the GetPixelViewWand method is:</p>
373 MagickWand *GetPixelViewWand(const PixelView *pixel_view)
376 <p>A description of each parameter follows:</p></ol>
379 <ol><p>the pixel view.</p></ol>
382 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
383 _8c.html" target="source" name="GetPixelViewWidth">GetPixelViewWidth</a></h2>
384 <div class="doc-section">
386 <p>GetPixelViewWidth() returns the pixel view width.</p></ol>
388 <p>The format of the GetPixelViewWidth method is:</p>
391 size_t GetPixelViewWidth(const PixelView *pixel_view)
394 <p>A description of each parameter follows:</p></ol>
397 <ol><p>the pixel view.</p></ol>
400 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
401 _8c.html" target="source" name="GetPixelViewX">GetPixelViewX</a></h2>
402 <div class="doc-section">
404 <p>GetPixelViewX() returns the pixel view x offset.</p></ol>
406 <p>The format of the GetPixelViewX method is:</p>
409 ssize_t GetPixelViewX(const PixelView *pixel_view)
412 <p>A description of each parameter follows:</p></ol>
415 <ol><p>the pixel view.</p></ol>
418 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
419 _8c.html" target="source" name="GetPixelViewY">GetPixelViewY</a></h2>
420 <div class="doc-section">
422 <p>GetPixelViewY() returns the pixel view y offset.</p></ol>
424 <p>The format of the GetPixelViewY method is:</p>
427 ssize_t GetPixelViewY(const PixelView *pixel_view)
430 <p>A description of each parameter follows:</p></ol>
433 <ol><p>the pixel view.</p></ol>
436 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
437 _8c.html" target="source" name="IsPixelView">IsPixelView</a></h2>
438 <div class="doc-section">
440 <p>IsPixelView() returns MagickTrue if the the parameter is verified as a pixel view container.</p></ol>
442 <p>The format of the IsPixelView method is:</p>
445 MagickBooleanType IsPixelView(const PixelView *pixel_view)
448 <p>A description of each parameter follows:</p></ol>
451 <ol><p>the pixel view.</p></ol>
454 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
455 _8c.html" target="source" name="MagickClipPathImage">MagickClipPathImage</a></h2>
456 <div class="doc-section">
458 <p>MagickClipPathImage() clips along the named paths from the 8BIM profile, if present. Later operations take effect inside the path. Id may be a number if preceded with #, to work on a numbered path, e.g., "#1" to use the first path.</p></ol>
460 <p>The format of the MagickClipPathImage method is:</p>
463 MagickBooleanType MagickClipPathImage(MagickWand *wand,
464 const char *pathname,const MagickBooleanType inside)
467 <p>A description of each parameter follows:</p></ol>
470 <ol><p>the magick wand.</p></ol>
473 <ol><p>name of clipping path resource. If name is preceded by #, use clipping path numbered by name.</p></ol>
476 <ol><p>if non-zero, later operations take effect inside clipping path. Otherwise later operations take effect outside clipping path.</p></ol>
479 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
480 _8c.html" target="source" name="DrawGetFillAlpha">DrawGetFillAlpha</a></h2>
481 <div class="doc-section">
483 <p>DrawGetFillAlpha() returns the alpha used when drawing using the fill color or fill texture. Fully opaque is 1.0.</p></ol>
485 <p>The format of the DrawGetFillAlpha method is:</p>
488 double DrawGetFillAlpha(const DrawingWand *wand)
491 <p>A description of each parameter follows:</p></ol>
494 <ol><p>the drawing wand.</p></ol>
497 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
498 _8c.html" target="source" name="DrawGetStrokeAlpha">DrawGetStrokeAlpha</a></h2>
499 <div class="doc-section">
501 <p>DrawGetStrokeAlpha() returns the alpha of stroked object outlines.</p></ol>
503 <p>The format of the DrawGetStrokeAlpha method is:</p>
506 double DrawGetStrokeAlpha(const DrawingWand *wand)
509 <p>A description of each parameter follows:</p></ol>
512 <ol><p>the drawing wand. </p>
514 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
515 _8c.html" target="source" name="DrawPeekGraphicWand">DrawPeekGraphicWand</a></h2>
516 <div class="doc-section">
518 <p>DrawPeekGraphicWand() returns the current drawing wand.</p></ol>
520 <p>The format of the PeekDrawingWand method is:</p>
523 DrawInfo *DrawPeekGraphicWand(const DrawingWand *wand)
526 <p>A description of each parameter follows:</p></ol>
529 <ol><p>the drawing wand.</p></ol>
532 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
533 _8c.html" target="source" name="DrawPopGraphicContext">DrawPopGraphicContext</a></h2>
534 <div class="doc-section">
536 <p>DrawPopGraphicContext() destroys the current drawing wand and returns to the previously pushed drawing wand. Multiple drawing wands may exist. It is an error to attempt to pop more drawing wands than have been pushed, and it is proper form to pop all drawing wands which have been pushed.</p></ol>
538 <p>The format of the DrawPopGraphicContext method is:</p>
541 MagickBooleanType DrawPopGraphicContext(DrawingWand *wand)
544 <p>A description of each parameter follows:</p></ol>
547 <ol><p>the drawing wand.</p></ol>
550 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
551 _8c.html" target="source" name="DrawPushGraphicContext">DrawPushGraphicContext</a></h2>
552 <div class="doc-section">
554 <p>DrawPushGraphicContext() clones the current drawing wand to create a new drawing wand. The original drawing wand(s) may be returned to by invoking PopDrawingWand(). The drawing wands are stored on a drawing wand stack. For every Pop there must have already been an equivalent Push.</p></ol>
556 <p>The format of the DrawPushGraphicContext method is:</p>
559 MagickBooleanType DrawPushGraphicContext(DrawingWand *wand)
562 <p>A description of each parameter follows:</p></ol>
565 <ol><p>the drawing wand.</p></ol>
568 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
569 _8c.html" target="source" name="DrawSetFillAlpha">DrawSetFillAlpha</a></h2>
570 <div class="doc-section">
572 <p>DrawSetFillAlpha() sets the alpha to use when drawing using the fill color or fill texture. Fully opaque is 1.0.</p></ol>
574 <p>The format of the DrawSetFillAlpha method is:</p>
577 void DrawSetFillAlpha(DrawingWand *wand,const double fill_alpha)
580 <p>A description of each parameter follows:</p></ol>
583 <ol><p>the drawing wand.</p></ol>
586 <ol><p>fill alpha</p></ol>
589 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
590 _8c.html" target="source" name="DrawSetStrokeAlpha">DrawSetStrokeAlpha</a></h2>
591 <div class="doc-section">
593 <p>DrawSetStrokeAlpha() specifies the alpha of stroked object outlines.</p></ol>
595 <p>The format of the DrawSetStrokeAlpha method is:</p>
598 void DrawSetStrokeAlpha(DrawingWand *wand,const double stroke_alpha)
601 <p>A description of each parameter follows:</p></ol>
604 <ol><p>the drawing wand.</p></ol>
606 <h5>stroke_alpha</h5>
607 <ol><p>stroke alpha. The value 1.0 is opaque.</p></ol>
610 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
611 _8c.html" target="source" name="MagickColorFloodfillImage">MagickColorFloodfillImage</a></h2>
612 <div class="doc-section">
614 <p>MagickColorFloodfillImage() changes the color value of any pixel that matches target and is an immediate neighbor. If the method FillToBorderMethod is specified, the color value is changed for any neighbor pixel that does not match the bordercolor member of image.</p></ol>
616 <p>The format of the MagickColorFloodfillImage method is:</p>
619 MagickBooleanType MagickColorFloodfillImage(MagickWand *wand,
620 const PixelWand *fill,const double fuzz,const PixelWand *bordercolor,
621 const ssize_t x,const ssize_t y)
624 <p>A description of each parameter follows:</p></ol>
627 <ol><p>the magick wand.</p></ol>
630 <ol><p>the floodfill color pixel wand.</p></ol>
633 <ol><p>By default target must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. The fuzz member of image defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color for the purposes of the floodfill.</p></ol>
636 <ol><p>the border color pixel wand.</p></ol>
639 <ol><p>the starting location of the operation.</p></ol>
642 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
643 _8c.html" target="source" name="MagickDescribeImage">MagickDescribeImage</a></h2>
644 <div class="doc-section">
646 <p>MagickDescribeImage() identifies an image by printing its attributes to the file. Attributes include the image width, height, size, and others.</p></ol>
648 <p>The format of the MagickDescribeImage method is:</p>
651 const char *MagickDescribeImage(MagickWand *wand)
654 <p>A description of each parameter follows:</p></ol>
657 <ol><p>the magick wand.</p></ol>
660 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
661 _8c.html" target="source" name="MagickFlattenImages">MagickFlattenImages</a></h2>
662 <div class="doc-section">
664 <p>MagickFlattenImages() merges a sequence of images. This useful for combining Photoshop layers into a single image.</p></ol>
666 <p>The format of the MagickFlattenImages method is:</p>
669 MagickWand *MagickFlattenImages(MagickWand *wand)
672 <p>A description of each parameter follows:</p></ol>
675 <ol><p>the magick wand.</p></ol>
678 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
679 _8c.html" target="source" name="MagickGetImageAttribute">MagickGetImageAttribute</a></h2>
680 <div class="doc-section">
682 <p>MagickGetImageAttribute() returns a value associated with the specified property. Use MagickRelinquishMemory() to free the value when you are finished with it.</p></ol>
684 <p>The format of the MagickGetImageAttribute method is:</p>
687 char *MagickGetImageAttribute(MagickWand *wand,const char *property)
690 <p>A description of each parameter follows:</p></ol>
693 <ol><p>the magick wand.</p></ol>
696 <ol><p>the property.</p></ol>
699 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
700 _8c.html" target="source" name="MagickGetImageMatte">MagickGetImageMatte</a></h2>
701 <div class="doc-section">
703 <p>MagickGetImageMatte() returns MagickTrue if the image has a matte channel otherwise MagickFalse.</p></ol>
705 <p>The format of the MagickGetImageMatte method is:</p>
708 size_t MagickGetImageMatte(MagickWand *wand)
711 <p>A description of each parameter follows:</p></ol>
714 <ol><p>the magick wand.</p></ol>
717 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
718 _8c.html" target="source" name="MagickGetImagePixels">MagickGetImagePixels</a></h2>
719 <div class="doc-section">
721 <p>MagickGetImagePixels() extracts pixel data from an image and returns it to you. The method returns MagickTrue on success otherwise MagickFalse if an error is encountered. The data is returned as char, short int, int, ssize_t, float, or double in the order specified by map.</p></ol>
723 <p>Suppose you want to extract the first scanline of a 640x480 image as character data in red-green-blue order:</p>
726 MagickGetImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
729 <p>The format of the MagickGetImagePixels method is:</p>
732 MagickBooleanType MagickGetImagePixels(MagickWand *wand,
733 const ssize_t x,const ssize_t y,const size_t columns,
734 const size_t rows,const char *map,const StorageType storage,
738 <p>A description of each parameter follows:</p></ol>
741 <ol><p>the magick wand.</p></ol>
743 <h5>x, y, columns, rows</h5>
744 <ol><p>These values define the perimeter of a region of pixels you want to extract.</p></ol>
747 <ol><p>This string reflects the expected ordering of the pixel array. It can be any combination or order of R = red, G = green, B = blue, A = alpha (0 is transparent), O = opacity (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad.</p></ol>
750 <ol><p>Define the data type of the pixels. Float and double types are expected to be normalized [0..1] otherwise [0..QuantumRange]. Choose from these types: CharPixel, DoublePixel, FloatPixel, IntegerPixel, LongPixel, QuantumPixel, or ShortPixel.</p></ol>
753 <ol><p>This array of values contain the pixel components as defined by map and type. You must preallocate this array where the expected length varies depending on the values of width, height, map, and type.</p></ol>
756 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
757 _8c.html" target="source" name="MagickGetImageSize">MagickGetImageSize</a></h2>
758 <div class="doc-section">
760 <p>MagickGetImageSize() returns the image length in bytes.</p></ol>
762 <p>The format of the MagickGetImageSize method is:</p>
765 MagickBooleanType MagickGetImageSize(MagickWand *wand,
766 MagickSizeType *length)
769 <p>A description of each parameter follows:</p></ol>
772 <ol><p>the magick wand.</p></ol>
775 <ol><p>the image length in bytes.</p></ol>
778 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
779 _8c.html" target="source" name="MagickMapImage">MagickMapImage</a></h2>
780 <div class="doc-section">
782 <p>MagickMapImage() replaces the colors of an image with the closest color from a reference image.</p></ol>
784 <p>The format of the MagickMapImage method is:</p>
787 MagickBooleanType MagickMapImage(MagickWand *wand,
788 const MagickWand *map_wand,const MagickBooleanType dither)
791 <p>A description of each parameter follows:</p></ol>
794 <ol><p>the magick wand.</p></ol>
797 <ol><p>the map wand.</p></ol>
800 <ol><p>Set this integer value to something other than zero to dither the mapped image.</p></ol>
803 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
804 _8c.html" target="source" name="MagickMatteFloodfillImage">MagickMatteFloodfillImage</a></h2>
805 <div class="doc-section">
807 <p>MagickMatteFloodfillImage() changes the transparency value of any pixel that matches target and is an immediate neighbor. If the method FillToBorderMethod is specified, the transparency value is changed for any neighbor pixel that does not match the bordercolor member of image.</p></ol>
809 <p>The format of the MagickMatteFloodfillImage method is:</p>
812 MagickBooleanType MagickMatteFloodfillImage(MagickWand *wand,
813 const double alpha,const double fuzz,const PixelWand *bordercolor,
814 const ssize_t x,const ssize_t y)
817 <p>A description of each parameter follows:</p></ol>
820 <ol><p>the magick wand.</p></ol>
823 <ol><p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p></ol>
826 <ol><p>By default target must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. The fuzz member of image defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color for the purposes of the floodfill.</p></ol>
829 <ol><p>the border color pixel wand.</p></ol>
832 <ol><p>the starting location of the operation.</p></ol>
835 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
836 _8c.html" target="source" name="MagickMaximumImages">MagickMaximumImages</a></h2>
837 <div class="doc-section">
839 <p>MagickMaximumImages() returns the maximum intensity of an image sequence.</p></ol>
841 <p>The format of the MagickMaximumImages method is:</p>
844 MagickWand *MagickMaximumImages(MagickWand *wand)
847 <p>A description of each parameter follows:</p></ol>
850 <ol><p>the magick wand.</p></ol>
853 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
854 _8c.html" target="source" name="MagickMinimumImages">MagickMinimumImages</a></h2>
855 <div class="doc-section">
857 <p>MagickMinimumImages() returns the minimum intensity of an image sequence.</p></ol>
859 <p>The format of the MagickMinimumImages method is:</p>
862 MagickWand *MagickMinimumImages(MagickWand *wand)
865 <p>A description of each parameter follows:</p></ol>
868 <ol><p>the magick wand.</p></ol>
871 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
872 _8c.html" target="source" name="MagickMosaicImages">MagickMosaicImages</a></h2>
873 <div class="doc-section">
875 <p>MagickMosaicImages() inlays an image sequence to form a single coherent picture. It returns a wand with each image in the sequence composited at the location defined by the page offset of the image.</p></ol>
877 <p>The format of the MagickMosaicImages method is:</p>
880 MagickWand *MagickMosaicImages(MagickWand *wand)
883 <p>A description of each parameter follows:</p></ol>
886 <ol><p>the magick wand.</p></ol>
889 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
890 _8c.html" target="source" name="MagickOpaqueImage">MagickOpaqueImage</a></h2>
891 <div class="doc-section">
893 <p>MagickOpaqueImage() changes any pixel that matches color with the color defined by fill.</p></ol>
895 <p>The format of the MagickOpaqueImage method is:</p>
898 MagickBooleanType MagickOpaqueImage(MagickWand *wand,
899 const PixelWand *target,const PixelWand *fill,const double fuzz)
902 <p>A description of each parameter follows:</p></ol>
905 <ol><p>the magick wand.</p></ol>
908 <ol><p>the channel(s).</p></ol>
911 <ol><p>Change this target color to the fill color within the image.</p></ol>
914 <ol><p>the fill pixel wand.</p></ol>
917 <ol><p>By default target must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. The fuzz member of image defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color for the purposes of the floodfill.</p></ol>
920 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
921 _8c.html" target="source" name="MagickPaintFloodfillImage">MagickPaintFloodfillImage</a></h2>
922 <div class="doc-section">
924 <p>MagickPaintFloodfillImage() changes the color value of any pixel that matches target and is an immediate neighbor. If the method FillToBorderMethod is specified, the color value is changed for any neighbor pixel that does not match the bordercolor member of image.</p></ol>
926 <p>The format of the MagickPaintFloodfillImage method is:</p>
929 MagickBooleanType MagickPaintFloodfillImage(MagickWand *wand,
930 const ChannelType channel,const PixelWand *fill,const double fuzz,
931 const PixelWand *bordercolor,const ssize_t x,const ssize_t y)
934 <p>A description of each parameter follows:</p></ol>
937 <ol><p>the magick wand.</p></ol>
940 <ol><p>the channel(s).</p></ol>
943 <ol><p>the floodfill color pixel wand.</p></ol>
946 <ol><p>By default target must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. The fuzz member of image defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color for the purposes of the floodfill.</p></ol>
949 <ol><p>the border color pixel wand.</p></ol>
952 <ol><p>the starting location of the operation.</p></ol>
955 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
956 _8c.html" target="source" name="MagickPaintOpaqueImage">MagickPaintOpaqueImage</a></h2>
957 <div class="doc-section">
959 <p>MagickPaintOpaqueImage() changes any pixel that matches color with the color defined by fill.</p></ol>
961 <p>The format of the MagickPaintOpaqueImage method is:</p>
964 MagickBooleanType MagickPaintOpaqueImage(MagickWand *wand,
965 const PixelWand *target,const PixelWand *fill,const double fuzz)
966 MagickBooleanType MagickPaintOpaqueImageChannel(MagickWand *wand,
967 const ChannelType channel,const PixelWand *target,
968 const PixelWand *fill,const double fuzz)
971 <p>A description of each parameter follows:</p></ol>
974 <ol><p>the magick wand.</p></ol>
977 <ol><p>the channel(s).</p></ol>
980 <ol><p>Change this target color to the fill color within the image.</p></ol>
983 <ol><p>the fill pixel wand.</p></ol>
986 <ol><p>By default target must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. The fuzz member of image defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color for the purposes of the floodfill.</p></ol>
989 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
990 _8c.html" target="source" name="MagickPaintTransparentImage">MagickPaintTransparentImage</a></h2>
991 <div class="doc-section">
993 <p>MagickPaintTransparentImage() changes any pixel that matches color with the color defined by fill.</p></ol>
995 <p>The format of the MagickPaintTransparentImage method is:</p>
998 MagickBooleanType MagickPaintTransparentImage(MagickWand *wand,
999 const PixelWand *target,const double alpha,const double fuzz)
1002 <p>A description of each parameter follows:</p></ol>
1005 <ol><p>the magick wand.</p></ol>
1008 <ol><p>Change this target color to specified opacity value within the image.</p></ol>
1011 <ol><p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p></ol>
1014 <ol><p>By default target must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. The fuzz member of image defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color for the purposes of the floodfill.</p></ol>
1017 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
1018 _8c.html" target="source" name="MagickRecolorImage">MagickRecolorImage</a></h2>
1019 <div class="doc-section">
1021 <p>MagickRecolorImage() apply color transformation to an image. The method permits saturation changes, hue rotation, luminance to alpha, and various other effects. Although variable-sized transformation matrices can be used, typically one uses a 5x5 matrix for an RGBA image and a 6x6 for CMYKA (or RGBA with offsets). The matrix is similar to those used by Adobe Flash except offsets are in column 6 rather than 5 (in support of CMYKA images) and offsets are normalized (divide Flash offset by 255).</p></ol>
1023 <p>The format of the MagickRecolorImage method is:</p>
1026 MagickBooleanType MagickRecolorImage(MagickWand *wand,
1027 const size_t order,const double *color_matrix)
1030 <p>A description of each parameter follows:</p></ol>
1033 <ol><p>the magick wand.</p></ol>
1036 <ol><p>the number of columns and rows in the color matrix.</p></ol>
1038 <h5>color_matrix</h5>
1039 <ol><p>An array of doubles representing the color matrix.</p></ol>
1042 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
1043 _8c.html" target="source" name="MagickSetImageAttribute">MagickSetImageAttribute</a></h2>
1044 <div class="doc-section">
1046 <p>MagickSetImageAttribute() associates a property with an image.</p></ol>
1048 <p>The format of the MagickSetImageAttribute method is:</p>
1051 MagickBooleanType MagickSetImageAttribute(MagickWand *wand,
1052 const char *property,const char *value)
1055 <p>A description of each parameter follows:</p></ol>
1058 <ol><p>the magick wand.</p></ol>
1061 <ol><p>the property.</p></ol>
1064 <ol><p>the value.</p></ol>
1067 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
1068 _8c.html" target="source" name="MagickSetImageIndex">MagickSetImageIndex</a></h2>
1069 <div class="doc-section">
1071 <p>MagickSetImageIndex() set the current image to the position of the list specified with the index parameter.</p></ol>
1073 <p>The format of the MagickSetImageIndex method is:</p>
1076 MagickBooleanType MagickSetImageIndex(MagickWand *wand,const ssize_t index)
1079 <p>A description of each parameter follows:</p></ol>
1082 <ol><p>the magick wand.</p></ol>
1085 <ol><p>the scene number.</p></ol>
1088 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
1089 _8c.html" target="source" name="MagickTransparentImage">MagickTransparentImage</a></h2>
1090 <div class="doc-section">
1092 <p>MagickTransparentImage() changes any pixel that matches color with the color defined by fill.</p></ol>
1094 <p>The format of the MagickTransparentImage method is:</p>
1097 MagickBooleanType MagickTransparentImage(MagickWand *wand,
1098 const PixelWand *target,const double alpha,const double fuzz)
1101 <p>A description of each parameter follows:</p></ol>
1104 <ol><p>the magick wand.</p></ol>
1107 <ol><p>Change this target color to specified opacity value within the image.</p></ol>
1110 <ol><p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p></ol>
1113 <ol><p>By default target must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. The fuzz member of image defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color for the purposes of the floodfill.</p></ol>
1116 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
1117 _8c.html" target="source" name="MagickRegionOfInterestImage">MagickRegionOfInterestImage</a></h2>
1118 <div class="doc-section">
1120 <p>MagickRegionOfInterestImage() extracts a region of the image and returns it as a new wand.</p></ol>
1122 <p>The format of the MagickRegionOfInterestImage method is:</p>
1125 MagickWand *MagickRegionOfInterestImage(MagickWand *wand,
1126 const size_t width,const size_t height,const ssize_t x,
1130 <p>A description of each parameter follows:</p></ol>
1133 <ol><p>the magick wand.</p></ol>
1136 <ol><p>the region width.</p></ol>
1139 <ol><p>the region height.</p></ol>
1142 <ol><p>the region x offset.</p></ol>
1145 <ol><p>the region y offset.</p></ol>
1148 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
1149 _8c.html" target="source" name="MagickSetImagePixels">MagickSetImagePixels</a></h2>
1150 <div class="doc-section">
1152 <p>MagickSetImagePixels() accepts pixel datand stores it in the image at the location you specify. The method returns MagickFalse on success otherwise MagickTrue if an error is encountered. The pixel data can be either char, short int, int, ssize_t, float, or double in the order specified by map.</p></ol>
1154 <p>Suppose your want to upload the first scanline of a 640x480 image from character data in red-green-blue order:</p>
1157 MagickSetImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
1160 <p>The format of the MagickSetImagePixels method is:</p>
1163 MagickBooleanType MagickSetImagePixels(MagickWand *wand,
1164 const ssize_t x,const ssize_t y,const size_t columns,
1165 const size_t rows,const char *map,const StorageType storage,
1169 <p>A description of each parameter follows:</p></ol>
1172 <ol><p>the magick wand.</p></ol>
1174 <h5>x, y, columns, rows</h5>
1175 <ol><p>These values define the perimeter of a region of pixels you want to define.</p></ol>
1178 <ol><p>This string reflects the expected ordering of the pixel array. It can be any combination or order of R = red, G = green, B = blue, A = alpha (0 is transparent), O = opacity (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad.</p></ol>
1181 <ol><p>Define the data type of the pixels. Float and double types are expected to be normalized [0..1] otherwise [0..QuantumRange]. Choose from these types: CharPixel, ShortPixel, IntegerPixel, LongPixel, FloatPixel, or DoublePixel.</p></ol>
1184 <ol><p>This array of values contain the pixel components as defined by map and type. You must preallocate this array where the expected length varies depending on the values of width, height, map, and type.</p></ol>
1187 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
1188 _8c.html" target="source" name="MagickWriteImageBlob">MagickWriteImageBlob</a></h2>
1189 <div class="doc-section">
1191 <p>MagickWriteImageBlob() implements direct to memory image formats. It returns the image as a blob and its length. Use MagickSetFormat() to set the format of the returned blob (GIF, JPEG, PNG, etc.).</p></ol>
1193 <p>Use MagickRelinquishMemory() to free the blob when you are done with it.</p></ol>
1195 <p>The format of the MagickWriteImageBlob method is:</p>
1198 unsigned char *MagickWriteImageBlob(MagickWand *wand,size_t *length)
1201 <p>A description of each parameter follows:</p></ol>
1204 <ol><p>the magick wand.</p></ol>
1207 <ol><p>the length of the blob.</p></ol>
1210 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
1211 _8c.html" target="source" name="NewPixelView">NewPixelView</a></h2>
1212 <div class="doc-section">
1214 <p>NewPixelView() returns a pixel view required for all other methods in the Pixel View API.</p></ol>
1216 <p>The format of the NewPixelView method is:</p>
1219 PixelView *NewPixelView(MagickWand *wand)
1222 <p>A description of each parameter follows:</p></ol>
1225 <ol><p>the wand.</p></ol>
1228 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
1229 _8c.html" target="source" name="NewPixelViewRegion">NewPixelViewRegion</a></h2>
1230 <div class="doc-section">
1232 <p>NewPixelViewRegion() returns a pixel view required for all other methods in the Pixel View API.</p></ol>
1234 <p>The format of the NewPixelViewRegion method is:</p>
1237 PixelView *NewPixelViewRegion(MagickWand *wand,const ssize_t x,
1238 const ssize_t y,const size_t width,const size_t height)
1241 <p>A description of each parameter follows:</p></ol>
1244 <ol><p>the magick wand.</p></ol>
1246 <h5>x,y,columns,rows</h5>
1247 <ol><p>These values define the perimeter of a region of pixel_wands view.</p></ol>
1250 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
1251 _8c.html" target="source" name="PixelGetNextRow">PixelGetNextRow</a></h2>
1252 <div class="doc-section">
1254 <p>PixelGetNextRow() returns the next row as an array of pixel wands from the pixel iterator.</p></ol>
1256 <p>The format of the PixelGetNextRow method is:</p>
1259 PixelWand **PixelGetNextRow(PixelIterator *iterator,
1260 size_t *number_wands)
1263 <p>A description of each parameter follows:</p></ol>
1266 <ol><p>the pixel iterator.</p></ol>
1268 <h5>number_wands</h5>
1269 <ol><p>the number of pixel wands.</p></ol>
1272 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
1273 _8c.html" target="source" name="PixelIteratorGetException">PixelIteratorGetException</a></h2>
1274 <div class="doc-section">
1276 <p>PixelIteratorGetException() returns the severity, reason, and description of any error that occurs when using other methods in this API.</p></ol>
1278 <p>The format of the PixelIteratorGetException method is:</p>
1281 char *PixelIteratorGetException(const Pixeliterator *iterator,
1282 ExceptionType *severity)
1285 <p>A description of each parameter follows:</p></ol>
1288 <ol><p>the pixel iterator.</p></ol>
1291 <ol><p>the severity of the error is returned here.</p></ol>
1294 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
1295 _8c.html" target="source" name="SetPixelViewIterator">SetPixelViewIterator</a></h2>
1296 <div class="doc-section">
1298 <p>SetPixelViewIterator() iterates over the pixel view in parallel and calls your set method for each scanline of the view. The pixel region is confined to the image canvas-- that is no negative offsets or widths or heights that exceed the image dimension. The pixels are initiallly undefined and any settings you make in the callback method are automagically synced back to your image.</p></ol>
1300 <p>Use this pragma:</p>
1303 #pragma omp critical
1306 <p>to define a section of code in your callback set method that must be executed by a single thread at a time.</p></ol>
1308 <p>The format of the SetPixelViewIterator method is:</p>
1311 MagickBooleanType SetPixelViewIterator(PixelView *destination,
1312 SetPixelViewMethod set,void *context)
1315 <p>A description of each parameter follows:</p></ol>
1317 <h5>destination</h5>
1318 <ol><p>the pixel view.</p></ol>
1321 <ol><p>the set callback method.</p></ol>
1324 <ol><p>the user defined context.</p></ol>
1327 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
1328 _8c.html" target="source" name="TransferPixelViewIterator">TransferPixelViewIterator</a></h2>
1329 <div class="doc-section">
1331 <p>TransferPixelViewIterator() iterates over two pixel views in parallel and calls your transfer method for each scanline of the view. The source pixel region is not confined to the image canvas-- that is you can include negative offsets or widths or heights that exceed the image dimension. However, the destination pixel view is confined to the image canvas-- that is no negative offsets or widths or heights that exceed the image dimension are permitted.</p></ol>
1333 <p>Use this pragma:</p>
1336 #pragma omp critical
1339 <p>to define a section of code in your callback transfer method that must be executed by a single thread at a time.</p></ol>
1341 <p>The format of the TransferPixelViewIterator method is:</p>
1344 MagickBooleanType TransferPixelViewIterator(PixelView *source,
1345 PixelView *destination,TransferPixelViewMethod transfer,void *context)
1348 <p>A description of each parameter follows:</p></ol>
1351 <ol><p>the source pixel view.</p></ol>
1353 <h5>destination</h5>
1354 <ol><p>the destination pixel view.</p></ol>
1357 <ol><p>the transfer callback method.</p></ol>
1360 <ol><p>the user defined context.</p></ol>
1363 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
1364 _8c.html" target="source" name="UpdatePixelViewIterator">UpdatePixelViewIterator</a></h2>
1365 <div class="doc-section">
1367 <p>UpdatePixelViewIterator() iterates over the pixel view in parallel and calls your update method for each scanline of the view. The pixel region is confined to the image canvas-- that is no negative offsets or widths or heights that exceed the image dimension are permitted. Updates to pixels in your callback are automagically synced back to the image.</p></ol>
1369 <p>Use this pragma:</p>
1372 #pragma omp critical
1375 <p>to define a section of code in your callback update method that must be executed by a single thread at a time.</p></ol>
1377 <p>The format of the UpdatePixelViewIterator method is:</p>
1380 MagickBooleanType UpdatePixelViewIterator(PixelView *source,
1381 UpdatePixelViewMethod update,void *context)
1384 <p>A description of each parameter follows:</p></ol>
1387 <ol><p>the source pixel view.</p></ol>
1390 <ol><p>the update callback method.</p></ol>
1393 <ol><p>the user defined context.</p></ol>
1399 <div id="linkbar">
\r
1400 <span id="linkbar-west"> </span>
\r
1401 <span id="linkbar-center">
\r
1402 <a href="http://www.imagemagick.org/discourse-server/">Discourse Server</a> •
\r
1403 <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Studio</a>
\r
1405 <span id="linkbar-east"> </span>
\r
1407 <div class="footer">
\r
1408 <span id="footer-west">© 1999-2010 ImageMagick Studio LLC</span>
\r
1409 <span id="footer-east"> <a href="../http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>
\r
1411 <div style="clear: both; margin: 0; width: 100%; "></div>
\r
1412 <script type="text/javascript">
\r
1413 var _gaq = _gaq || [];
\r
1414 _gaq.push(['_setAccount', 'UA-17690367-1']);
\r
1415 _gaq.push(['_trackPageview']);
\r
1418 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
\r
1419 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
\r
1420 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
\r