1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3 <html version="-//W3C//DTD XHTML 1.1//EN"
4 xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
5 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6 xsi:schemaLocation="http://www.w3.org/1999/xhtml
7 http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd">
9 <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
10 <meta name="google-site-verification" content="MxsMq6bdLOx0KSuz1MY6yG9ZTIJ7_7DVRfl5NCAT5Yg"/>
11 <title>ImageMagick: MagickWand, C API for ImageMagick: Deprecated 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="application-name" content="ImageMagick"/>
16 <meta name="description" content="Use ImageMagick to convert, edit, or compose bitmap images in a variety of formats. In addition resize, rotate, shear, distort and transform images automagically."/>
17 <meta name="application-url" content="http://www.imagemagick.org"/>
18 <meta name="generator" content="PHP"/>
19 <meta name="keywords" content="magickwc, api, for, imagemagick:, deprecated, methods, ImageMagick, PerlMagick, image processing, OpenMP, software development library, image, photo, software, Magick++, MagickWand"/>
20 <meta name="rating" content="GENERAL"/>
21 <meta name="robots" content="INDEX, FOLLOW"/>
22 <meta name="generator" content="ImageMagick Studio LLC"/>
23 <meta name="author" content="ImageMagick Studio LLC"/>
24 <meta name="revisit-after" content="2 DAYS"/>
25 <meta name="resource-type" content="document"/>
26 <meta name="copyright" content="Copyright (c) 1999-2013 ImageMagick Studio LLC"/>
27 <meta name="distribution" content="Global"/>
28 <link rel="icon" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../images/wand.png"/>
29 <link rel="shortcut icon" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../images/wand.ico" type="images/x-icon"/>
30 <link rel="canonical" href="http://www.imagemagick.org" />
31 <link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf"/>
32 <!-- Add jQuery library -->
33 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
35 <!-- Optionaly include easing and/or mousewheel plugins -->
36 <script type="text/javascript" src="http://www.imagemagick.org/fancybox/jquery.easing-1.3.pack.js"></script>
37 <script type="text/javascript" src="http://www.imagemagick.org/fancybox/jquery.mousewheel-3.0.6.pack.js"></script>
40 <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/jquery.fancybox.css?v=2.0.4" type="text/css" media="screen" />
41 <script type="text/javascript" src="http://www.imagemagick.org/fancybox/jquery.fancybox.pack.js?v=2.0.4"></script>
43 <!-- Optionaly include button and/or thumbnail helpers -->
44 <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/helpers/jquery.fancybox-buttons.css?v=2.0.4" type="text/css" media="screen" />
45 <script type="text/javascript" src="http://www.imagemagick.org/fancybox/helpers/jquery.fancybox-buttons.js?v=2.0.4"></script>
47 <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/helpers/jquery.fancybox-thumbs.css?v=2.0.4" type="text/css" media="screen" />
48 <script type="text/javascript" src="http://www.imagemagick.org/fancybox/helpers/jquery.fancybox-thumbs.js?v=2.0.4"></script>
49 <script type="text/javascript">
50 $(document).ready(function() {
51 $(".fancybox").fancybox();
54 <!-- ImageMagick style -->
55 <link rel="stylesheet" href="http://www.google.com/cse/style/look/default.css" type="text/css" />
56 <style type="text/css" media="all">
57 @import url("../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/magick.css");
61 <body id="www-imagemagick-org">
62 <div class="titlebar">
63 <div style="margin: 17px auto; float: left;">
64 <script type="text/javascript">
66 google_ad_client = "pub-3129977114552745";
67 google_ad_slot = "5439289906";
68 google_ad_width = 728;
69 google_ad_height = 90;
72 <script type="text/javascript"
73 src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
76 <a href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../discourse-server">
77 <img src="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../images/logo.jpg"
78 alt="ImageMagick Logo"
79 style="width: 123px; height: 118px; border: 0px; float: right;" /></a>
80 <a href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../index.html">
81 <img src="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../images/sprite.jpg"
82 alt="ImageMagick Sprite"
83 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
89 <a title="About ImageMagick" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../index.html">About ImageMagick</a>
92 <a title="Binary Releases" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/binary-releases.html">Binary Releases</a>
95 <a title="Binary Release: Unix" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/binary-releases.html#unix">Unix</a>
98 <a title="Binary Release: MacOS X" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/binary-releases.html#macosx">Mac OS X</a>
101 <a title="Binary Release: iOS" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/binary-releases.html#iOS">iOS</a>
104 <a title="Binary Release: Windows" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/binary-releases.html#windows">Windows</a>
106 <div class="sep"></div>
108 <a title="Command-line Tools" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/command-line-tools.html">Command-line Tools</a>
111 <a title="Command-line Tools: Processing" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/command-line-processing.html">Processing</a>
114 <a title="Command-line Tools: Options" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/command-line-options.html">Options</a>
117 <a title="Command-line Tools: Usage" href="http://www.imagemagick.org/Usage/">Usage</a>
120 <a title="Program Interfaces" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/api.html">Program Interfaces</a>
123 <a title="Program Interface: MagickWand" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/magick-wand.html">MagickWand</a>
126 <a title="Program Interface: MagickCore" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/magick-core.html">MagickCore</a>
129 <a title="Program Interface: PerlMagick" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/perl-magick.html">PerlMagick</a>
132 <a title="Program Interface: Magick++" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/magick++.html">Magick++</a>
134 <div class="sep"></div>
136 <a title="Install from Source" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/install-source.html">Install from Source</a>
139 <a title="Install from Source: Unix" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/install-source.html#unix">Unix</a>
142 <a title="Install from Source: Windows" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/install-source.html#windows">Windows</a>
145 <a title="Resources" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/resources.html">Resources</a>
148 <a title="Architecture" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/architecture.html">Architecture</a>
151 <a title="Download" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/download.html">Download</a>
153 <div class="sep"></div>
155 <a title="Search" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/search.html">Search</a>
157 <div class="sep"></div>
159 <a title="Site Map" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/sitemap.html">Site Map</a>
162 <a title="Site Map: Links" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/links.html">Links</a>
164 <div class="sep"></div>
166 <a rel="follow" title="Sponsors" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/sponsors.html">Sponsors:</a>
168 <a href="http://www.networkredux.com"> <img src="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../images/networkredux.png" width="140" height="31" alt="[sponsor]" style="margin-top: 4px; margin-left: 4px; border: 0px; float: left;" /></a>
169 <a href="http://www.dinodirect.com/ipads-tablets/"> <img src="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../images/dino-direct.jpg" width="140" height="90" alt="[sponsor]" style="margin-top: 4px; margin-left: 4px; border: 0px; float: left;" /></a><!-- 201208010120 mickey@163... -->
170 <div class="sponsbox">
171 <div class="sponsor">
172 <a rel="follow" title="Sponsor: The Fastest & Easiest Way to Find Images" href="http://www.graphicsfactory.com">The Fastest & Easiest Way to Find Images</a><!-- 201210010270 graphicsfac... -->
174 <div class="sponsor">
175 <a rel="follow" title="Sponsor: VPS" href="http://www.interdominios.com/vps">VPS</a><!-- 201209010090 barsh@inter... -->
177 <div class="sponsor">
178 <a rel="follow" title="Werbebanner Werbeplane" href="http://www.allesbanner.de">Werbebanner Werbeplane</a><!-- 201212010450 info@druck... -->
180 <div class="sponsor">
181 <a rel="follow" title="Entertainment News & Photos" href="http://www.zimbio.com">Entertainment News & Photos</a><!-- 201211010540 bd@zimb... -->
183 <div class="sponsor">
184 <a rel="follow" title="Sponsor: LED24" href="http://led24.de/">LED24</a><!-- 201207010270 info@led24... -->
186 <div class="sponsor">
187 <a rel="follow" title="Sponsor: Best Website Hosting" href="http://www.top-cheap-web-hosting.com">Best Website Hosting</a><!-- 201304010090 eunge.liu-->
189 <div class="sponsor">
190 <a rel="follow" title="Android Tablet" href="http://www.dinodirect.com/ipads-tablets/">Android Tablet</a><!-- 201208010120 mickey@163... -->
192 <div class="sponsor">
193 <a rel="follow" title="Sponsor: Web Site Hosting" href="http://webhostinggeeks.com">Web Site Hosting</a><!-- 201302010900 funds@enmob... -->
195 <div class="sponsor">
196 <a rel="follow" title="Sponsor: Premium Quality Stock Photos" href="http://www.f1online.pro/en/">Premium Quality Stock Photos</a><!-- 2012080100540 ... -->
198 <div class="sponsor">
199 <a rel="follow" title="Sponsor: Druckerei" href="http://print24.com/de/">Druckerei</a><!-- 2012070100250 ... -->
201 <div class="sponsor">
202 <a rel="follow" title="Sponsor: Managed Server" href="http://www.robhost.de">Managed Server</a><!-- 201210010720 klikics... -->
204 <div class="sponsor">
205 <a rel="follow" title="Sponsor: Druckerei" href="http://www.allesdruck.de">Druckerei</a><!-- 201303011500 r.leo -->
207 <div class="sponsor">
208 <a rel="follow" title="Sponsor: Free Catalogs" href="http://www.who-sells-it.com/">Free Catalogs</a><!-- 20120801000600 -->
210 <div class="sponsor">
211 <a rel="follow" title="Sponsor: Web Hosting" href="http://www.hostucan.com">Web Hosting</a><!-- 2012120100150 racent marketing@webhosting...-->
217 <div class="eastbar">
218 <div class="g-plusone" id="gplusone"></div>
219 <script type="text/javascript">
225 var po = document.createElement('script');
226 po.type = 'text/javascript'; po.async = true;
227 po.src = 'https://apis.google.com/js/plusone.js';
228 var script = document.getElementsByTagName('script')[0];
229 script.parentNode.insertBefore(po, script);
231 var gplusone = document.getElementById("gplusone");
232 gplusone.setAttribute("data-size","medium");
233 gplusone.setAttribute("data-count","false");
239 <h1>Module deprecate Methods</h1>
240 <p class="navigation-index">[<a href="magick-deprecate.html#MagickAverageImages">MagickAverageImages</a> • <a href="magick-deprecate.html#ClonePixelView">ClonePixelView</a> • <a href="magick-deprecate.html#DestroyPixelView">DestroyPixelView</a> • <a href="magick-deprecate.html#DuplexTransferPixelViewIterator">DuplexTransferPixelViewIterator</a> • <a href="magick-deprecate.html#GetPixelViewException">GetPixelViewException</a> • <a href="magick-deprecate.html#GetPixelViewHeight">GetPixelViewHeight</a> • <a href="magick-deprecate.html#GetPixelViewIterator">GetPixelViewIterator</a> • <a href="magick-deprecate.html#GetPixelViewPixels">GetPixelViewPixels</a> • <a href="magick-deprecate.html#GetPixelViewWand">GetPixelViewWand</a> • <a href="magick-deprecate.html#GetPixelViewWidth">GetPixelViewWidth</a> • <a href="magick-deprecate.html#GetPixelViewX">GetPixelViewX</a> • <a href="magick-deprecate.html#GetPixelViewY">GetPixelViewY</a> • <a href="magick-deprecate.html#IsPixelView">IsPixelView</a> • <a href="magick-deprecate.html#MagickClipPathImage">MagickClipPathImage</a> • <a href="magick-deprecate.html#DrawGetFillAlpha">DrawGetFillAlpha</a> • <a href="magick-deprecate.html#DrawGetStrokeAlpha">DrawGetStrokeAlpha</a> • <a href="magick-deprecate.html#DrawPeekGraphicWand">DrawPeekGraphicWand</a> • <a href="magick-deprecate.html#DrawPopGraphicContext">DrawPopGraphicContext</a> • <a href="magick-deprecate.html#DrawPushGraphicContext">DrawPushGraphicContext</a> • <a href="magick-deprecate.html#DrawSetFillAlpha">DrawSetFillAlpha</a> • <a href="magick-deprecate.html#DrawSetStrokeAlpha">DrawSetStrokeAlpha</a> • <a href="magick-deprecate.html#MagickColorFloodfillImage">MagickColorFloodfillImage</a> • <a href="magick-deprecate.html#MagickDescribeImage">MagickDescribeImage</a> • <a href="magick-deprecate.html#MagickFlattenImages">MagickFlattenImages</a> • <a href="magick-deprecate.html#MagickGetImageAttribute">MagickGetImageAttribute</a> • <a href="magick-deprecate.html#MagickGetImageMatte">MagickGetImageMatte</a> • <a href="magick-deprecate.html#MagickGetImagePixels">MagickGetImagePixels</a> • <a href="magick-deprecate.html#MagickGetImageSize">MagickGetImageSize</a> • <a href="magick-deprecate.html#MagickMapImage">MagickMapImage</a> • <a href="magick-deprecate.html#MagickMatteFloodfillImage">MagickMatteFloodfillImage</a> • <a href="magick-deprecate.html#MagickMedianFilterImage">MagickMedianFilterImage</a> • <a href="magick-deprecate.html#MagickMinimumImages">MagickMinimumImages</a> • <a href="magick-deprecate.html#MagickModeImage">MagickModeImage</a> • <a href="magick-deprecate.html#MagickMosaicImages">MagickMosaicImages</a> • <a href="magick-deprecate.html#MagickOpaqueImage">MagickOpaqueImage</a> • <a href="magick-deprecate.html#MagickPaintFloodfillImage">MagickPaintFloodfillImage</a> • <a href="magick-deprecate.html#MagickPaintOpaqueImage">MagickPaintOpaqueImage</a> • <a href="magick-deprecate.html#MagickPaintTransparentImage">MagickPaintTransparentImage</a> • <a href="magick-deprecate.html#MagickRecolorImage">MagickRecolorImage</a> • <a href="magick-deprecate.html#MagickReduceNoiseImage">MagickReduceNoiseImage</a> • <a href="magick-deprecate.html#MagickMaximumImages">MagickMaximumImages</a> • <a href="magick-deprecate.html#MagickSetImageAttribute">MagickSetImageAttribute</a> • <a href="magick-deprecate.html#MagickSetImageIndex">MagickSetImageIndex</a> • <a href="magick-deprecate.html#MagickTransparentImage">MagickTransparentImage</a> • <a href="magick-deprecate.html#MagickRegionOfInterestImage">MagickRegionOfInterestImage</a> • <a href="magick-deprecate.html#MagickSetImagePixels">MagickSetImagePixels</a> • <a href="magick-deprecate.html#MagickWriteImageBlob">MagickWriteImageBlob</a> • <a href="magick-deprecate.html#NewPixelView">NewPixelView</a> • <a href="magick-deprecate.html#NewPixelViewRegion">NewPixelViewRegion</a> • <a href="magick-deprecate.html#PixelGetNextRow">PixelGetNextRow</a> • <a href="magick-deprecate.html#PixelIteratorGetException">PixelIteratorGetException</a> • <a href="magick-deprecate.html#SetPixelViewIterator">SetPixelViewIterator</a> • <a href="magick-deprecate.html#TransferPixelViewIterator">TransferPixelViewIterator</a> • <a href="magick-deprecate.html#UpdatePixelViewIterator">UpdatePixelViewIterator</a>]</p>
242 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="MagickAverageImages">MagickAverageImages</a></h2>
243 <div class="doc-section">
245 <p>MagickAverageImages() average a set of images.</p>
247 <p>The format of the MagickAverageImages method is:</p>
250 MagickWand *MagickAverageImages(MagickWand *wand)
253 <p>A description of each parameter follows:</p>
256 <p>the magick wand.</p>
259 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="ClonePixelView">ClonePixelView</a></h2>
260 <div class="doc-section">
262 <p>ClonePixelView() makes a copy of the specified pixel view.</p>
264 <p>The format of the ClonePixelView method is:</p>
267 PixelView *ClonePixelView(const PixelView *pixel_view)
270 <p>A description of each parameter follows:</p>
273 <p>the pixel view.</p>
276 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="DestroyPixelView">DestroyPixelView</a></h2>
277 <div class="doc-section">
279 <p>DestroyPixelView() deallocates memory associated with a pixel view.</p>
281 <p>The format of the DestroyPixelView method is:</p>
284 PixelView *DestroyPixelView(PixelView *pixel_view,
285 const size_t number_wands,const size_t number_threads)
288 <p>A description of each parameter follows:</p>
291 <p>the pixel view.</p>
294 <p>the number of pixel wands.</p>
296 <h5>number_threads</h5>
297 <p>number of threads.</p>
300 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="DuplexTransferPixelViewIterator">DuplexTransferPixelViewIterator</a></h2>
301 <div class="doc-section">
303 <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>
305 <p>Use this pragma:</p>
311 <p>to define a section of code in your callback transfer method that must be executed by a single thread at a time.</p>
313 <p>The format of the DuplexTransferPixelViewIterator method is:</p>
316 MagickBooleanType DuplexTransferPixelViewIterator(PixelView *source,
317 PixelView *duplex,PixelView *destination,
318 DuplexTransferPixelViewMethod transfer,void *context)
321 <p>A description of each parameter follows:</p>
324 <p>the source pixel view.</p>
327 <p>the duplex pixel view.</p>
330 <p>the destination pixel view.</p>
333 <p>the transfer callback method.</p>
336 <p>the user defined context.</p>
339 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="GetPixelViewException">GetPixelViewException</a></h2>
340 <div class="doc-section">
342 <p>GetPixelViewException() returns the severity, reason, and description of any error that occurs when utilizing a pixel view.</p>
344 <p>The format of the GetPixelViewException method is:</p>
347 char *GetPixelViewException(const PixelWand *pixel_view,
348 ExceptionType *severity)
351 <p>A description of each parameter follows:</p>
354 <p>the pixel pixel_view.</p>
357 <p>the severity of the error is returned here.</p>
360 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="GetPixelViewHeight">GetPixelViewHeight</a></h2>
361 <div class="doc-section">
363 <p>GetPixelViewHeight() returns the pixel view height.</p>
365 <p>The format of the GetPixelViewHeight method is:</p>
368 size_t GetPixelViewHeight(const PixelView *pixel_view)
371 <p>A description of each parameter follows:</p>
374 <p>the pixel view.</p>
377 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="GetPixelViewIterator">GetPixelViewIterator</a></h2>
378 <div class="doc-section">
380 <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>
382 <p>Use this pragma:</p>
388 <p>to define a section of code in your callback get method that must be executed by a single thread at a time.</p>
390 <p>The format of the GetPixelViewIterator method is:</p>
393 MagickBooleanType GetPixelViewIterator(PixelView *source,
394 GetPixelViewMethod get,void *context)
397 <p>A description of each parameter follows:</p>
400 <p>the source pixel view.</p>
403 <p>the get callback method.</p>
406 <p>the user defined context.</p>
409 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="GetPixelViewPixels">GetPixelViewPixels</a></h2>
410 <div class="doc-section">
412 <p>GetPixelViewPixels() returns the pixel view pixel_wands.</p>
414 <p>The format of the GetPixelViewPixels method is:</p>
417 PixelWand *GetPixelViewPixels(const PixelView *pixel_view)
420 <p>A description of each parameter follows:</p>
423 <p>the pixel view.</p>
426 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="GetPixelViewWand">GetPixelViewWand</a></h2>
427 <div class="doc-section">
429 <p>GetPixelViewWand() returns the magick wand associated with the pixel view.</p>
431 <p>The format of the GetPixelViewWand method is:</p>
434 MagickWand *GetPixelViewWand(const PixelView *pixel_view)
437 <p>A description of each parameter follows:</p>
440 <p>the pixel view.</p>
443 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="GetPixelViewWidth">GetPixelViewWidth</a></h2>
444 <div class="doc-section">
446 <p>GetPixelViewWidth() returns the pixel view width.</p>
448 <p>The format of the GetPixelViewWidth method is:</p>
451 size_t GetPixelViewWidth(const PixelView *pixel_view)
454 <p>A description of each parameter follows:</p>
457 <p>the pixel view.</p>
460 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="GetPixelViewX">GetPixelViewX</a></h2>
461 <div class="doc-section">
463 <p>GetPixelViewX() returns the pixel view x offset.</p>
465 <p>The format of the GetPixelViewX method is:</p>
468 ssize_t GetPixelViewX(const PixelView *pixel_view)
471 <p>A description of each parameter follows:</p>
474 <p>the pixel view.</p>
477 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="GetPixelViewY">GetPixelViewY</a></h2>
478 <div class="doc-section">
480 <p>GetPixelViewY() returns the pixel view y offset.</p>
482 <p>The format of the GetPixelViewY method is:</p>
485 ssize_t GetPixelViewY(const PixelView *pixel_view)
488 <p>A description of each parameter follows:</p>
491 <p>the pixel view.</p>
494 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="IsPixelView">IsPixelView</a></h2>
495 <div class="doc-section">
497 <p>IsPixelView() returns MagickTrue if the the parameter is verified as a pixel view container.</p>
499 <p>The format of the IsPixelView method is:</p>
502 MagickBooleanType IsPixelView(const PixelView *pixel_view)
505 <p>A description of each parameter follows:</p>
508 <p>the pixel view.</p>
511 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="MagickClipPathImage">MagickClipPathImage</a></h2>
512 <div class="doc-section">
514 <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>
516 <p>The format of the MagickClipPathImage method is:</p>
519 MagickBooleanType MagickClipPathImage(MagickWand *wand,
520 const char *pathname,const MagickBooleanType inside)
523 <p>A description of each parameter follows:</p>
526 <p>the magick wand.</p>
529 <p>name of clipping path resource. If name is preceded by #, use clipping path numbered by name.</p>
532 <p>if non-zero, later operations take effect inside clipping path. Otherwise later operations take effect outside clipping path.</p>
535 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="DrawGetFillAlpha">DrawGetFillAlpha</a></h2>
536 <div class="doc-section">
538 <p>DrawGetFillAlpha() returns the alpha used when drawing using the fill color or fill texture. Fully opaque is 1.0.</p>
540 <p>The format of the DrawGetFillAlpha method is:</p>
543 double DrawGetFillAlpha(const DrawingWand *wand)
546 <p>A description of each parameter follows:</p>
549 <p>the drawing wand.</p>
552 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="DrawGetStrokeAlpha">DrawGetStrokeAlpha</a></h2>
553 <div class="doc-section">
555 <p>DrawGetStrokeAlpha() returns the alpha of stroked object outlines.</p>
557 <p>The format of the DrawGetStrokeAlpha method is:</p>
560 double DrawGetStrokeAlpha(const DrawingWand *wand)
563 <p>A description of each parameter follows:</p>
566 <p>the drawing wand. </p>
568 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="DrawPeekGraphicWand">DrawPeekGraphicWand</a></h2>
569 <div class="doc-section">
571 <p>DrawPeekGraphicWand() returns the current drawing wand.</p>
573 <p>The format of the PeekDrawingWand method is:</p>
576 DrawInfo *DrawPeekGraphicWand(const DrawingWand *wand)
579 <p>A description of each parameter follows:</p>
582 <p>the drawing wand.</p>
585 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="DrawPopGraphicContext">DrawPopGraphicContext</a></h2>
586 <div class="doc-section">
588 <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>
590 <p>The format of the DrawPopGraphicContext method is:</p>
593 MagickBooleanType DrawPopGraphicContext(DrawingWand *wand)
596 <p>A description of each parameter follows:</p>
599 <p>the drawing wand.</p>
602 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="DrawPushGraphicContext">DrawPushGraphicContext</a></h2>
603 <div class="doc-section">
605 <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>
607 <p>The format of the DrawPushGraphicContext method is:</p>
610 MagickBooleanType DrawPushGraphicContext(DrawingWand *wand)
613 <p>A description of each parameter follows:</p>
616 <p>the drawing wand.</p>
619 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="DrawSetFillAlpha">DrawSetFillAlpha</a></h2>
620 <div class="doc-section">
622 <p>DrawSetFillAlpha() sets the alpha to use when drawing using the fill color or fill texture. Fully opaque is 1.0.</p>
624 <p>The format of the DrawSetFillAlpha method is:</p>
627 void DrawSetFillAlpha(DrawingWand *wand,const double fill_alpha)
630 <p>A description of each parameter follows:</p>
633 <p>the drawing wand.</p>
639 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="DrawSetStrokeAlpha">DrawSetStrokeAlpha</a></h2>
640 <div class="doc-section">
642 <p>DrawSetStrokeAlpha() specifies the alpha of stroked object outlines.</p>
644 <p>The format of the DrawSetStrokeAlpha method is:</p>
647 void DrawSetStrokeAlpha(DrawingWand *wand,const double stroke_alpha)
650 <p>A description of each parameter follows:</p>
653 <p>the drawing wand.</p>
655 <h5>stroke_alpha</h5>
656 <p>stroke alpha. The value 1.0 is opaque.</p>
659 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="MagickColorFloodfillImage">MagickColorFloodfillImage</a></h2>
660 <div class="doc-section">
662 <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>
664 <p>The format of the MagickColorFloodfillImage method is:</p>
667 MagickBooleanType MagickColorFloodfillImage(MagickWand *wand,
668 const PixelWand *fill,const double fuzz,const PixelWand *bordercolor,
669 const ssize_t x,const ssize_t y)
672 <p>A description of each parameter follows:</p>
675 <p>the magick wand.</p>
678 <p>the floodfill color pixel wand.</p>
681 <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>
684 <p>the border color pixel wand.</p>
687 <p>the starting location of the operation.</p>
690 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="MagickDescribeImage">MagickDescribeImage</a></h2>
691 <div class="doc-section">
693 <p>MagickDescribeImage() identifies an image by printing its attributes to the file. Attributes include the image width, height, size, and others.</p>
695 <p>The format of the MagickDescribeImage method is:</p>
698 const char *MagickDescribeImage(MagickWand *wand)
701 <p>A description of each parameter follows:</p>
704 <p>the magick wand.</p>
707 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="MagickFlattenImages">MagickFlattenImages</a></h2>
708 <div class="doc-section">
710 <p>MagickFlattenImages() merges a sequence of images. This useful for combining Photoshop layers into a single image.</p>
712 <p>The format of the MagickFlattenImages method is:</p>
715 MagickWand *MagickFlattenImages(MagickWand *wand)
718 <p>A description of each parameter follows:</p>
721 <p>the magick wand.</p>
724 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="MagickGetImageAttribute">MagickGetImageAttribute</a></h2>
725 <div class="doc-section">
727 <p>MagickGetImageAttribute() returns a value associated with the specified property. Use MagickRelinquishMemory() to free the value when you are finished with it.</p>
729 <p>The format of the MagickGetImageAttribute method is:</p>
732 char *MagickGetImageAttribute(MagickWand *wand,const char *property)
735 <p>A description of each parameter follows:</p>
738 <p>the magick wand.</p>
744 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="MagickGetImageMatte">MagickGetImageMatte</a></h2>
745 <div class="doc-section">
747 <p>MagickGetImageMatte() returns MagickTrue if the image has a matte channel otherwise MagickFalse.</p>
749 <p>The format of the MagickGetImageMatte method is:</p>
752 size_t MagickGetImageMatte(MagickWand *wand)
755 <p>A description of each parameter follows:</p>
758 <p>the magick wand.</p>
761 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="MagickGetImagePixels">MagickGetImagePixels</a></h2>
762 <div class="doc-section">
764 <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>
766 <p>Suppose you want to extract the first scanline of a 640x480 image as character data in red-green-blue order:</p>
769 MagickGetImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
772 <p>The format of the MagickGetImagePixels method is:</p>
775 MagickBooleanType MagickGetImagePixels(MagickWand *wand,
776 const ssize_t x,const ssize_t y,const size_t columns,
777 const size_t rows,const char *map,const StorageType storage,
781 <p>A description of each parameter follows:</p>
784 <p>the magick wand.</p>
786 <h5>x, y, columns, rows</h5>
787 <p>These values define the perimeter of a region of pixels you want to extract.</p>
790 <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>
793 <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>
796 <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>
799 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="MagickGetImageSize">MagickGetImageSize</a></h2>
800 <div class="doc-section">
802 <p>MagickGetImageSize() returns the image length in bytes.</p>
804 <p>The format of the MagickGetImageSize method is:</p>
807 MagickBooleanType MagickGetImageSize(MagickWand *wand,
808 MagickSizeType *length)
811 <p>A description of each parameter follows:</p>
814 <p>the magick wand.</p>
817 <p>the image length in bytes.</p>
820 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="MagickMapImage">MagickMapImage</a></h2>
821 <div class="doc-section">
823 <p>MagickMapImage() replaces the colors of an image with the closest color from a reference image.</p>
825 <p>The format of the MagickMapImage method is:</p>
828 MagickBooleanType MagickMapImage(MagickWand *wand,
829 const MagickWand *map_wand,const MagickBooleanType dither)
832 <p>A description of each parameter follows:</p>
835 <p>the magick wand.</p>
841 <p>Set this integer value to something other than zero to dither the mapped image.</p>
844 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="MagickMatteFloodfillImage">MagickMatteFloodfillImage</a></h2>
845 <div class="doc-section">
847 <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>
849 <p>The format of the MagickMatteFloodfillImage method is:</p>
852 MagickBooleanType MagickMatteFloodfillImage(MagickWand *wand,
853 const double alpha,const double fuzz,const PixelWand *bordercolor,
854 const ssize_t x,const ssize_t y)
857 <p>A description of each parameter follows:</p>
860 <p>the magick wand.</p>
863 <p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p>
866 <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>
869 <p>the border color pixel wand.</p>
872 <p>the starting location of the operation.</p>
875 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="MagickMedianFilterImage">MagickMedianFilterImage</a></h2>
876 <div class="doc-section">
878 <p>MagickMedianFilterImage() applies a digital filter that improves the quality of a noisy image. Each pixel is replaced by the median in a set of neighboring pixels as defined by radius.</p>
880 <p>The format of the MagickMedianFilterImage method is:</p>
883 MagickBooleanType MagickMedianFilterImage(MagickWand *wand,
887 <p>A description of each parameter follows:</p>
890 <p>the magick wand.</p>
893 <p>the radius of the pixel neighborhood.</p>
896 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="MagickMinimumImages">MagickMinimumImages</a></h2>
897 <div class="doc-section">
899 <p>MagickMinimumImages() returns the minimum intensity of an image sequence.</p>
901 <p>The format of the MagickMinimumImages method is:</p>
904 MagickWand *MagickMinimumImages(MagickWand *wand)
907 <p>A description of each parameter follows:</p>
910 <p>the magick wand.</p>
913 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="MagickModeImage">MagickModeImage</a></h2>
914 <div class="doc-section">
916 <p>MagickModeImage() makes each pixel the 'predominant color' of the neighborhood of the specified radius.</p>
918 <p>The format of the MagickModeImage method is:</p>
921 MagickBooleanType MagickModeImage(MagickWand *wand,
925 <p>A description of each parameter follows:</p>
928 <p>the magick wand.</p>
931 <p>the radius of the pixel neighborhood.</p>
934 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="MagickMosaicImages">MagickMosaicImages</a></h2>
935 <div class="doc-section">
937 <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>
939 <p>The format of the MagickMosaicImages method is:</p>
942 MagickWand *MagickMosaicImages(MagickWand *wand)
945 <p>A description of each parameter follows:</p>
948 <p>the magick wand.</p>
951 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="MagickOpaqueImage">MagickOpaqueImage</a></h2>
952 <div class="doc-section">
954 <p>MagickOpaqueImage() changes any pixel that matches color with the color defined by fill.</p>
956 <p>The format of the MagickOpaqueImage method is:</p>
959 MagickBooleanType MagickOpaqueImage(MagickWand *wand,
960 const PixelWand *target,const PixelWand *fill,const double fuzz)
963 <p>A description of each parameter follows:</p>
966 <p>the magick wand.</p>
969 <p>the channel(s).</p>
972 <p>Change this target color to the fill color within the image.</p>
975 <p>the fill pixel wand.</p>
978 <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>
981 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="MagickPaintFloodfillImage">MagickPaintFloodfillImage</a></h2>
982 <div class="doc-section">
984 <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>
986 <p>The format of the MagickPaintFloodfillImage method is:</p>
989 MagickBooleanType MagickPaintFloodfillImage(MagickWand *wand,
990 const ChannelType channel,const PixelWand *fill,const double fuzz,
991 const PixelWand *bordercolor,const ssize_t x,const ssize_t y)
994 <p>A description of each parameter follows:</p>
997 <p>the magick wand.</p>
1000 <p>the channel(s).</p>
1003 <p>the floodfill color pixel wand.</p>
1006 <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>
1008 <h5>bordercolor</h5>
1009 <p>the border color pixel wand.</p>
1012 <p>the starting location of the operation.</p>
1015 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="MagickPaintOpaqueImage">MagickPaintOpaqueImage</a></h2>
1016 <div class="doc-section">
1018 <p>MagickPaintOpaqueImage() changes any pixel that matches color with the color defined by fill.</p>
1020 <p>The format of the MagickPaintOpaqueImage method is:</p>
1023 MagickBooleanType MagickPaintOpaqueImage(MagickWand *wand,
1024 const PixelWand *target,const PixelWand *fill,const double fuzz)
1025 MagickBooleanType MagickPaintOpaqueImageChannel(MagickWand *wand,
1026 const ChannelType channel,const PixelWand *target,
1027 const PixelWand *fill,const double fuzz)
1030 <p>A description of each parameter follows:</p>
1033 <p>the magick wand.</p>
1036 <p>the channel(s).</p>
1039 <p>Change this target color to the fill color within the image.</p>
1042 <p>the fill pixel wand.</p>
1045 <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>
1048 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="MagickPaintTransparentImage">MagickPaintTransparentImage</a></h2>
1049 <div class="doc-section">
1051 <p>MagickPaintTransparentImage() changes any pixel that matches color with the color defined by fill.</p>
1053 <p>The format of the MagickPaintTransparentImage method is:</p>
1056 MagickBooleanType MagickPaintTransparentImage(MagickWand *wand,
1057 const PixelWand *target,const double alpha,const double fuzz)
1060 <p>A description of each parameter follows:</p>
1063 <p>the magick wand.</p>
1066 <p>Change this target color to specified opacity value within the image.</p>
1069 <p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p>
1072 <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>
1075 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="MagickRecolorImage">MagickRecolorImage</a></h2>
1076 <div class="doc-section">
1078 <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>
1080 <p>The format of the MagickRecolorImage method is:</p>
1083 MagickBooleanType MagickRecolorImage(MagickWand *wand,
1084 const size_t order,const double *color_matrix)
1087 <p>A description of each parameter follows:</p>
1090 <p>the magick wand.</p>
1093 <p>the number of columns and rows in the color matrix.</p>
1095 <h5>color_matrix</h5>
1096 <p>An array of doubles representing the color matrix.</p>
1099 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="MagickReduceNoiseImage">MagickReduceNoiseImage</a></h2>
1100 <div class="doc-section">
1102 <p>MagickReduceNoiseImage() smooths the contours of an image while still preserving edge information. The algorithm works by replacing each pixel with its neighbor closest in value. A neighbor is defined by radius. Use a radius of 0 and ReduceNoise() selects a suitable radius for you.</p>
1104 <p>The format of the MagickReduceNoiseImage method is:</p>
1107 MagickBooleanType MagickReduceNoiseImage(MagickWand *wand,
1108 const double radius)
1111 <p>A description of each parameter follows:</p>
1114 <p>the magick wand.</p>
1117 <p>the radius of the pixel neighborhood.</p>
1120 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="MagickMaximumImages">MagickMaximumImages</a></h2>
1121 <div class="doc-section">
1123 <p>MagickMaximumImages() returns the maximum intensity of an image sequence.</p>
1125 <p>The format of the MagickMaximumImages method is:</p>
1128 MagickWand *MagickMaximumImages(MagickWand *wand)
1131 <p>A description of each parameter follows:</p>
1134 <p>the magick wand.</p>
1137 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="MagickSetImageAttribute">MagickSetImageAttribute</a></h2>
1138 <div class="doc-section">
1140 <p>MagickSetImageAttribute() associates a property with an image.</p>
1142 <p>The format of the MagickSetImageAttribute method is:</p>
1145 MagickBooleanType MagickSetImageAttribute(MagickWand *wand,
1146 const char *property,const char *value)
1149 <p>A description of each parameter follows:</p>
1152 <p>the magick wand.</p>
1155 <p>the property.</p>
1161 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="MagickSetImageIndex">MagickSetImageIndex</a></h2>
1162 <div class="doc-section">
1164 <p>MagickSetImageIndex() set the current image to the position of the list specified with the index parameter.</p>
1166 <p>The format of the MagickSetImageIndex method is:</p>
1169 MagickBooleanType MagickSetImageIndex(MagickWand *wand,
1170 const ssize_t index)
1173 <p>A description of each parameter follows:</p>
1176 <p>the magick wand.</p>
1179 <p>the scene number.</p>
1182 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="MagickTransparentImage">MagickTransparentImage</a></h2>
1183 <div class="doc-section">
1185 <p>MagickTransparentImage() changes any pixel that matches color with the color defined by fill.</p>
1187 <p>The format of the MagickTransparentImage method is:</p>
1190 MagickBooleanType MagickTransparentImage(MagickWand *wand,
1191 const PixelWand *target,const double alpha,const double fuzz)
1194 <p>A description of each parameter follows:</p>
1197 <p>the magick wand.</p>
1200 <p>Change this target color to specified opacity value within the image.</p>
1203 <p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p>
1206 <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>
1209 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="MagickRegionOfInterestImage">MagickRegionOfInterestImage</a></h2>
1210 <div class="doc-section">
1212 <p>MagickRegionOfInterestImage() extracts a region of the image and returns it as a new wand.</p>
1214 <p>The format of the MagickRegionOfInterestImage method is:</p>
1217 MagickWand *MagickRegionOfInterestImage(MagickWand *wand,
1218 const size_t width,const size_t height,const ssize_t x,
1222 <p>A description of each parameter follows:</p>
1225 <p>the magick wand.</p>
1228 <p>the region width.</p>
1231 <p>the region height.</p>
1234 <p>the region x offset.</p>
1237 <p>the region y offset.</p>
1240 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="MagickSetImagePixels">MagickSetImagePixels</a></h2>
1241 <div class="doc-section">
1243 <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>
1245 <p>Suppose your want to upload the first scanline of a 640x480 image from character data in red-green-blue order:</p>
1248 MagickSetImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
1251 <p>The format of the MagickSetImagePixels method is:</p>
1254 MagickBooleanType MagickSetImagePixels(MagickWand *wand,
1255 const ssize_t x,const ssize_t y,const size_t columns,
1256 const size_t rows,const char *map,const StorageType storage,
1260 <p>A description of each parameter follows:</p>
1263 <p>the magick wand.</p>
1265 <h5>x, y, columns, rows</h5>
1266 <p>These values define the perimeter of a region of pixels you want to define.</p>
1269 <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>
1272 <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>
1275 <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>
1278 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="MagickWriteImageBlob">MagickWriteImageBlob</a></h2>
1279 <div class="doc-section">
1281 <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>
1283 <p>Use MagickRelinquishMemory() to free the blob when you are done with it.</p>
1285 <p>The format of the MagickWriteImageBlob method is:</p>
1288 unsigned char *MagickWriteImageBlob(MagickWand *wand,size_t *length)
1291 <p>A description of each parameter follows:</p>
1294 <p>the magick wand.</p>
1297 <p>the length of the blob.</p>
1300 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="NewPixelView">NewPixelView</a></h2>
1301 <div class="doc-section">
1303 <p>NewPixelView() returns a pixel view required for all other methods in the Pixel View API.</p>
1305 <p>The format of the NewPixelView method is:</p>
1308 PixelView *NewPixelView(MagickWand *wand)
1311 <p>A description of each parameter follows:</p>
1317 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="NewPixelViewRegion">NewPixelViewRegion</a></h2>
1318 <div class="doc-section">
1320 <p>NewPixelViewRegion() returns a pixel view required for all other methods in the Pixel View API.</p>
1322 <p>The format of the NewPixelViewRegion method is:</p>
1325 PixelView *NewPixelViewRegion(MagickWand *wand,const ssize_t x,
1326 const ssize_t y,const size_t width,const size_t height)
1329 <p>A description of each parameter follows:</p>
1332 <p>the magick wand.</p>
1334 <h5>x,y,columns,rows</h5>
1335 <p>These values define the perimeter of a region of pixel_wands view.</p>
1338 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="PixelGetNextRow">PixelGetNextRow</a></h2>
1339 <div class="doc-section">
1341 <p>PixelGetNextRow() returns the next row as an array of pixel wands from the pixel iterator.</p>
1343 <p>The format of the PixelGetNextRow method is:</p>
1346 PixelWand **PixelGetNextRow(PixelIterator *iterator,
1347 size_t *number_wands)
1350 <p>A description of each parameter follows:</p>
1353 <p>the pixel iterator.</p>
1355 <h5>number_wands</h5>
1356 <p>the number of pixel wands.</p>
1359 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="PixelIteratorGetException">PixelIteratorGetException</a></h2>
1360 <div class="doc-section">
1362 <p>PixelIteratorGetException() returns the severity, reason, and description of any error that occurs when using other methods in this API.</p>
1364 <p>The format of the PixelIteratorGetException method is:</p>
1367 char *PixelIteratorGetException(const Pixeliterator *iterator,
1368 ExceptionType *severity)
1371 <p>A description of each parameter follows:</p>
1374 <p>the pixel iterator.</p>
1377 <p>the severity of the error is returned here.</p>
1380 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="SetPixelViewIterator">SetPixelViewIterator</a></h2>
1381 <div class="doc-section">
1383 <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>
1385 <p>Use this pragma:</p>
1388 #pragma omp critical
1391 <p>to define a section of code in your callback set method that must be executed by a single thread at a time.</p>
1393 <p>The format of the SetPixelViewIterator method is:</p>
1396 MagickBooleanType SetPixelViewIterator(PixelView *destination,
1397 SetPixelViewMethod set,void *context)
1400 <p>A description of each parameter follows:</p>
1402 <h5>destination</h5>
1403 <p>the pixel view.</p>
1406 <p>the set callback method.</p>
1409 <p>the user defined context.</p>
1412 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="TransferPixelViewIterator">TransferPixelViewIterator</a></h2>
1413 <div class="doc-section">
1415 <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>
1417 <p>Use this pragma:</p>
1420 #pragma omp critical
1423 <p>to define a section of code in your callback transfer method that must be executed by a single thread at a time.</p>
1425 <p>The format of the TransferPixelViewIterator method is:</p>
1428 MagickBooleanType TransferPixelViewIterator(PixelView *source,
1429 PixelView *destination,TransferPixelViewMethod transfer,void *context)
1432 <p>A description of each parameter follows:</p>
1435 <p>the source pixel view.</p>
1437 <h5>destination</h5>
1438 <p>the destination pixel view.</p>
1441 <p>the transfer callback method.</p>
1444 <p>the user defined context.</p>
1447 <h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate_8c.html" id="UpdatePixelViewIterator">UpdatePixelViewIterator</a></h2>
1448 <div class="doc-section">
1450 <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>
1452 <p>Use this pragma:</p>
1455 #pragma omp critical
1458 <p>to define a section of code in your callback update method that must be executed by a single thread at a time.</p>
1460 <p>The format of the UpdatePixelViewIterator method is:</p>
1463 MagickBooleanType UpdatePixelViewIterator(PixelView *source,
1464 UpdatePixelViewMethod update,void *context)
1467 <p>A description of each parameter follows:</p>
1470 <p>the source pixel view.</p>
1473 <p>the update callback method.</p>
1476 <p>the user defined context.</p>
1483 <span id="linkbar-west"> </span>
1484 <span id="linkbar-center">
1485 <a href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../discourse-server">Discourse Server</a> •
1486 <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Studio</a>
1488 <span id="linkbar-east"> </span>
1490 <div class="footer">
1491 <span id="footer-west">© 1999-2013 ImageMagick Studio LLC</span>
1492 <span id="footer-east"> <a href="http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>
1494 <div style="clear: both; margin: 0; width: 100%; "></div>
1495 <script type="text/javascript">
1496 var _gaq = _gaq || [];
1497 _gaq.push(['_setAccount', 'UA-17690367-1']);
1498 _gaq.push(['_trackPageview']);
1501 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
1502 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
1503 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);