1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
\r
2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
\r
3 <html version="-//W3C//DTD XHTML 1.1//EN"
\r
4 xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
\r
5 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
\r
6 xsi:schemaLocation="http://www.w3.org/1999/xhtml
\r
7 http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd">
\r
9 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
\r
10 <meta name="verify-v1" content="g222frIIxcQTrvDR3NBRUSKP3AnMNoqxOkIniCEkV7U="/>
\r
11 <title>ImageMagick: MagickCore, 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."/>
17 <meta name="Application-url" content="http://www.imagemagick.org"/>
18 <meta name="Generator" content="PHP"/>
19 <meta name="Keywords" content="magickcore, c, 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"/>
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-2011 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="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf"/>
\r
31 <link rel="stylesheet" href="http://www.google.com/cse/style/look/default.css" type="text/css" />
\r
32 <style type="text/css" media="all">
\r
33 @import url("../../www/magick.css");
\r
35 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
\r
36 <script type="text/javascript" src="../fancybox/jquery.fancybox-1.3.4.pack.js"></script>
\r
37 <link rel="stylesheet" type="text/css" href="../fancybox/jquery.fancybox-1.3.4.css" media="screen" />
\r
38 <script type="text/javascript">
\r
39 $(document).ready(function() {
\r
40 $("a[href$=.jpg],a[href$=.png],a[href$=.gif]").fancybox({
\r
41 'transitionIn' : 'elastic',
\r
42 'transitionOut' : 'elastic',
\r
43 'overlayShow' : false,
\r
50 <body id="www-imagemagick-org">
\r
51 <div class="titlebar">
\r
52 <div style="margin: 17px auto; float: left;">
\r
53 <script type="text/javascript">
\r
55 google_ad_client = "pub-3129977114552745";
\r
56 google_ad_slot = "5439289906";
\r
57 google_ad_width = 728;
\r
58 google_ad_height = 90;
\r
61 <script type="text/javascript"
\r
62 src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
\r
65 <a href="http://www.imagemagick.org/discourse-server/">
\r
66 <img src="../../images/logo.jpg"
\r
67 alt="ImageMagick Logo"
\r
68 style="width: 123px; height: 118px; border: 0px; float: right;" /></a>
\r
69 <a href="../../index.html">
\r
70 <img src="../../images/sprite.jpg"
\r
71 alt="ImageMagick Sprite"
\r
72 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
\r
75 <div class="westbar">
\r
78 <a title="About ImageMagick" href="../../index.html">About ImageMagick</a>
80 <div class="sep"></div>
\r
82 <a title="Binary Releases" href="../../www/binary-releases.html">Binary Releases</a>
85 <a title="Binary Release: Unix" href="../../www/binary-releases.html#unix">Unix</a>
88 <a title="Binary Release: MacOS X" href="../../www/binary-releases.html#macosx">Mac OS X</a>
91 <a title="Binary Release: iPhone" href="../../www/binary-releases.html#iPhone">iPhone</a>
94 <a title="Binary Release: Windows" href="../../www/binary-releases.html#windows">Windows</a>
96 <div class="sep"></div>
\r
98 <a title="Command-line Tools" href="../../www/command-line-tools.html">Command-line Tools</a>
101 <a title="Command-line Tools: Processing" href="../../www/command-line-processing.html">Processing</a>
104 <a title="Command-line Tools: Options" href="../../www/command-line-options.html">Options</a>
107 <a title="Command-line Tools: Usage" href="http://www.imagemagick.org/Usage/">Usage</a>
110 <a title="Program Interfaces" href="../../www/api.html">Program Interfaces</a>
113 <a title="Program Interface: MagickWand" href="../../www/magick-wand.html">MagickWand</a>
116 <a title="Program Interface: MagickCore" href="../../www/magick-core.html">MagickCore</a>
119 <a title="Program Interface: PerlMagick" href="../../www/perl-magick.html">PerlMagick</a>
122 <a title="Program Interface: Magick++" href="../../www/magick++.html">Magick++</a>
124 <div class="sep"></div>
\r
126 <a title="Install from Source" href="../../www/install-source.html">Install from Source</a>
129 <a title="Install from Source: Unix" href="../../www/install-source.html#unix">Unix</a>
132 <a title="Install from Source: Windows" href="../../www/install-source.html#windows">Windows</a>
135 <a title="Resources" href="../../www/resources.html">Resources</a>
138 <a title="Architecture" href="../../www/architecture.html">Architecture</a>
141 <a title="Download" href="../../www/download.html">Download</a>
143 <div class="sep"></div>
\r
145 <a title="Search" href="../../www/search.html">Search</a>
147 <div class="sep"></div>
\r
149 <a title="Site Map" href="../../www/sitemap.html">Site Map</a>
152 <a title="Site Map: Links" href="../../www/links.html">Links</a>
154 <div class="sep"></div>
\r
156 <a rel="follow" title="Sponsors" href="../../www/sponsors.html">Sponsors:</a>
158 <a href="http://www.networkredux.com">
159 <img src="../../images/networkredux.png" alt="[sponsor]"
160 style="margin-top: 4px; margin-left: 4px; border: 0px; float: left;" /></a>
161 <div class="sponsbox">
162 <div class="sponsor">
163 <a rel="follow" title="Sponsor: Web Hosting Break" href="http://www.webhostingbreak.com">Web Hosting Break</a><!-- 201109010090 ian@ian-m... -->
165 <div class="sponsor">
166 <a rel="follow" title="Sponsor: Druckerei" href="http://www.allesdruck.de">Druckerei</a><!-- 201303011500 r.leo -->
168 <div class="sponsor">
169 <a rel="follow" title="Sponsor: Website Hosting" href="http://www.hostreviewgeeks.com">Website Hosting</a><!-- 201110010090 alexanian media -->
171 <div class="sponsor">
172 <a rel="follow" title="Sponsor: Hotel München" href="http://www.messehotel-erb-muenchen.de">Hotel München</a><!-- 201111010450 cerb -->
174 <div class="sponsor">
175 <a rel="follow" title="Sponsor: Best Web Hosting" href="http://webhostinggeeks.com">Best Web Hosting</a><!-- 201110010720 -->
177 <div class="sponsor">
178 <a rel="follow" title="Sponsor: Flyer drucken" href="http://www.online-druck.biz">Flyer drucken</a><!-- 201109010900 Floeter-->
180 <div class="sponsor">
181 <a rel="follow" title="Sponsor: Web Hosting Reviews" href="http://www.webhostingmasters.com">Web Hosting Reviews</a><!-- 201107011500 affliatelabel -->
183 <div class="sponsor">
184 <a rel="follow" title="Sponsor: Druckerei" href="http://print24.com/de/">Druckerei</a><!-- 201110010720 -->
186 <div class="sponsor">
187 <a rel="follow" title="Sponsor: Web Hosting Ratings" href="http://webhostingrating.com">Web Hosting Ratings</a><!-- 201110010720 -->
189 <div class="sponsor">
190 <a rel="follow" title="Sponsor: Free Catalogs" href="http://www.who-sells-it.com/">Free Catalogs</a><!-- 20120801000600 -->
196 <div class="eastbar">
\r
202 <h1>Module deprecate Methods</h1>
203 <p class="navigation-index">[<a href="#AcquireCacheViewIndexes">AcquireCacheViewIndexes</a> • <a href="#AcquireCacheViewPixels">AcquireCacheViewPixels</a> • <a href="#AcquireImagePixels">AcquireImagePixels</a> • <a href="#AcquireIndexes">AcquireIndexes</a> • <a href="#AcquireMemory">AcquireMemory</a> • <a href="#AcquireOneCacheViewPixel">AcquireOneCacheViewPixel</a> • <a href="#AcquireOneCacheViewVirtualPixel">AcquireOneCacheViewVirtualPixel</a> • <a href="#AcquireOneMagickPixel">AcquireOneMagickPixel</a> • <a href="#AcquireOnePixel">AcquireOnePixel</a> • <a href="#AcquireOneVirtualPixel">AcquireOneVirtualPixel</a> • <a href="#AcquirePixels">AcquirePixels</a> • <a href="#AffinityImage">AffinityImage</a> • <a href="#AffinityImages">AffinityImages</a> • <a href="#AllocateImage">AllocateImage</a> • <a href="#AllocateImageColormap">AllocateImageColormap</a> • <a href="#AllocateNextImage">AllocateNextImage</a> • <a href="#AllocateString">AllocateString</a> • <a href="#AverageImages">AverageImages</a> • <a href="#ChannelThresholdImage">ChannelThresholdImage</a> • <a href="#ClipPathImage">ClipPathImage</a> • <a href="#CloneImageAttributes">CloneImageAttributes</a> • <a href="#CloneMemory">CloneMemory</a> • <a href="#CloseCacheView">CloseCacheView</a> • <a href="#ColorFloodfill">ColorFloodfill</a> • <a href="#DeleteImageAttribute">DeleteImageAttribute</a> • <a href="#DeleteImageList">DeleteImageList</a> • <a href="#DeleteMagickRegistry">DeleteMagickRegistry</a> • <a href="#DescribeImage">DescribeImage</a> • <a href="#DestroyImageAttributes">DestroyImageAttributes</a> • <a href="#DestroyImages">DestroyImages</a> • <a href="#DestroyMagick">DestroyMagick</a> • <a href="#DispatchImage">DispatchImage</a> • <a href="#ExtractSubimageFromImageImage">ExtractSubimageFromImageImage</a> • <a href="#FlattenImages">FlattenImages</a> • <a href="#FormatImageAttribute">FormatImageAttribute</a> • <a href="#FormatMagickString">FormatMagickString</a> • <a href="#FormatString">FormatString</a> • <a href="#GetConfigureBlob">GetConfigureBlob</a> • <a href="#GetCacheView">GetCacheView</a> • <a href="#GetCacheViewIndexes">GetCacheViewIndexes</a> • <a href="#GetCacheViewPixels">GetCacheViewPixels</a> • <a href="#GetImageAttribute">GetImageAttribute</a> • <a href="#GetImageClippingPathAttribute">GetImageClippingPathAttribute</a> • <a href="#GetImageFromMagickRegistry">GetImageFromMagickRegistry</a> • <a href="#GetMagickRegistry">GetMagickRegistry</a> • <a href="#GetImageGeometry">GetImageGeometry</a> • <a href="#GetImageList">GetImageList</a> • <a href="#GetImageListIndex">GetImageListIndex</a> • <a href="#GetImageListSize">GetImageListSize</a> • <a href="#GetImagePixels">GetImagePixels</a> • <a href="#GetIndexes">GetIndexes</a> • <a href="#GetNextImage">GetNextImage</a> • <a href="#GetNextImageAttribute">GetNextImageAttribute</a> • <a href="#GetNumberScenes">GetNumberScenes</a> • <a href="#GetOnePixel">GetOnePixel</a> • <a href="#GetPixels">GetPixels</a> • <a href="#GetPreviousImage">GetPreviousImage</a> • <a href="#HSLTransform">HSLTransform</a> • <a href="#IdentityAffine">IdentityAffine</a> • <a href="#InitializeMagick">InitializeMagick</a> • <a href="#InterpolatePixelColor">InterpolatePixelColor</a> • <a href="#InterpretImageAttributes">InterpretImageAttributes</a> • <a href="#LevelImageColor">LevelImageColor</a> • <a href="#LiberateMemory">LiberateMemory</a> • <a href="#LiberateSemaphoreInfo">LiberateSemaphoreInfo</a> • <a href="#MagickIncarnate">MagickIncarnate</a> • <a href="#MagickMonitor">MagickMonitor</a> • <a href="#MapImage">MapImage</a> • <a href="#MapImages">MapImages</a> • <a href="#MatteFloodfill">MatteFloodfill</a> • <a href="#MaximumImages">MaximumImages</a> • <a href="#MinimumImages">MinimumImages</a> • <a href="#MedianFilterImage">MedianFilterImage</a> • <a href="#ModeImage">ModeImage</a> • <a href="#MosaicImages">MosaicImages</a> • <a href="#OpaqueImage">OpaqueImage</a> • <a href="#OpenCacheView">OpenCacheView</a> • <a href="#PaintFloodfill">PaintFloodfill</a> • <a href="#PaintOpaqueImage">PaintOpaqueImage</a> • <a href="#PaintTransparentImage">PaintTransparentImage</a> • <a href="#ParseSizeGeometry">ParseSizeGeometry</a> • <a href="#PopImageList">PopImageList</a> • <a href="#PopImagePixels">PopImagePixels</a> • <a href="#PostscriptGeometry">PostscriptGeometry</a> • <a href="#PushImageList">PushImageList</a> • <a href="#PushImagePixels">PushImagePixels</a> • <a href="#QuantizationError">QuantizationError</a> • <a href="#RandomChannelThresholdImage">RandomChannelThresholdImage</a> • <a href="#ReacquireMemory">ReacquireMemory</a> • <a href="#RecolorImage">RecolorImage</a> • <a href="#ReduceNoiseImage">ReduceNoiseImage</a> • <a href="#ResetImageAttributeIterator">ResetImageAttributeIterator</a> • <a href="#SetCacheViewPixels">SetCacheViewPixels</a> • <a href="#SetExceptionInfo">SetExceptionInfo</a> • <a href="#SetImage">SetImage</a> • <a href="#SetImageAttribute">SetImageAttribute</a> • <a href="#SetImageList">SetImageList</a> • <a href="#SetImagePixels">SetImagePixels</a> • <a href="#SetMagickRegistry">SetMagickRegistry</a> • <a href="#SetMonitorHandler">SetMonitorHandler</a> • <a href="#ShiftImageList">ShiftImageList</a> • <a href="#SpliceImageList">SpliceImageList</a> • <a href="#Strip">Strip</a> • <a href="#SyncCacheView">SyncCacheView</a> • <a href="#SyncCacheViewPixels">SyncCacheViewPixels</a> • <a href="#SyncImagePixels">SyncImagePixels</a> • <a href="#TemporaryFilename">TemporaryFilename</a> • <a href="#ThresholdImage">ThresholdImage</a> • <a href="#ThresholdImageChannel">ThresholdImageChannel</a> • <a href="#TransformHSL">TransformHSL</a> • <a href="#TranslateText">TranslateText</a> • <a href="#TransparentImage">TransparentImage</a> • <a href="#UnshiftImageList">UnshiftImageList</a> • <a href="#ZoomImage">ZoomImage</a>]</p>
205 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="AcquireCacheViewIndexes">AcquireCacheViewIndexes</a></h2>
206 <div class="doc-section">
208 <p>AcquireCacheViewIndexes() returns the indexes associated with the specified view.</p>
210 <p>Deprecated, replace with:</p>
213 GetCacheViewVirtualIndexQueue(cache_view);
216 <p>The format of the AcquireCacheViewIndexes method is:</p>
219 const IndexPacket *AcquireCacheViewIndexes(const CacheView *cache_view)
222 <p>A description of each parameter follows:</p>
225 <p>the cache view.</p>
228 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="AcquireCacheViewPixels">AcquireCacheViewPixels</a></h2>
229 <div class="doc-section">
231 <p>AcquireCacheViewPixels() gets pixels from the in-memory or disk pixel cache as defined by the geometry parameters. A pointer to the pixels is returned if the pixels are transferred, otherwise a NULL is returned.</p>
233 <p>Deprecated, replace with:</p>
236 GetCacheViewVirtualPixels(cache_view,x,y,columns,rows,exception);
239 <p>The format of the AcquireCacheViewPixels method is:</p>
242 const PixelPacket *AcquireCacheViewPixels(const CacheView *cache_view,
243 const ssize_t x,const ssize_t y,const size_t columns,
244 const size_t rows,ExceptionInfo *exception)
247 <p>A description of each parameter follows:</p>
250 <p>the cache view.</p>
252 <h5>x,y,columns,rows</h5>
253 <p>These values define the perimeter of a region of pixels.</p>
256 <p>return any errors or warnings in this structure.</p>
259 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="AcquireImagePixels">AcquireImagePixels</a></h2>
260 <div class="doc-section">
262 <p>AcquireImagePixels() returns an immutable pixel region. If the region is successfully accessed, a pointer to it is returned, otherwise NULL is returned. The returned pointer may point to a temporary working copy of the pixels or it may point to the original pixels in memory. Performance is maximized if the selected region is part of one row, or one or more full rows, since there is opportunity to access the pixels in-place (without a copy) if the image is in RAM, or in a memory-mapped file. The returned pointer should *never* be deallocated by the user.</p>
264 <p>Pixels accessed via the returned pointer represent a simple array of type PixelPacket. If the image type is CMYK or the storage class is PseudoClass, call GetAuthenticIndexQueue() after invoking GetAuthenticPixels() to access the black color component or to obtain the colormap indexes (of type IndexPacket) corresponding to the region.</p>
266 <p>If you plan to modify the pixels, use GetAuthenticPixels() instead.</p>
268 <p>Note, the AcquireImagePixels() and GetAuthenticPixels() methods are not thread-safe. In a threaded environment, use GetCacheViewVirtualPixels() or GetCacheViewAuthenticPixels() instead.</p>
270 <p>Deprecated, replace with:</p>
273 GetVirtualPixels(image,x,y,columns,rows,exception);
276 <p>The format of the AcquireImagePixels() method is:</p>
279 const PixelPacket *AcquireImagePixels(const Image *image,const ssize_t x,
280 const ssize_t y,const size_t columns,const size_t rows,
281 ExceptionInfo *exception)
284 <p>A description of each parameter follows:</p>
289 <h5>x,y,columns,rows</h5>
290 <p>These values define the perimeter of a region of pixels.</p>
293 <p>return any errors or warnings in this structure.</p>
296 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="AcquireIndexes">AcquireIndexes</a></h2>
297 <div class="doc-section">
299 <p>AcquireIndexes() returns the black channel or the colormap indexes associated with the last call to QueueAuthenticPixels() or GetVirtualPixels(). NULL is returned if the black channel or colormap indexes are not available.</p>
301 <p>Deprecated, replace with:</p>
304 GetVirtualIndexQueue(image);
307 <p>The format of the AcquireIndexes() method is:</p>
310 const IndexPacket *AcquireIndexes(const Image *image)
313 <p>A description of each parameter follows:</p>
316 <p>AcquireIndexes() returns the indexes associated with the last call to QueueAuthenticPixels() or GetVirtualPixels().</p>
322 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="AcquireMemory">AcquireMemory</a></h2>
323 <div class="doc-section">
325 <p>AcquireMemory() returns a pointer to a block of memory at least size bytes suitably aligned for any use.</p>
327 <p>The format of the AcquireMemory method is:</p>
330 void *AcquireMemory(const size_t size)
333 <p>A description of each parameter follows:</p>
336 <p>the size of the memory in bytes to allocate.</p>
339 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="AcquireOneCacheViewPixel">AcquireOneCacheViewPixel</a></h2>
340 <div class="doc-section">
342 <p>AcquireOneCacheViewPixel() returns a single pixel at the specified (x,y) location. The image background color is returned if an error occurs. If you plan to modify the pixel, use GetOneCacheViewAuthenticPixel() instead.</p>
344 <p>Deprecated, replace with:</p>
347 GetOneCacheViewVirtualPixel(cache_view,x,y,pixel,exception);
350 <p>The format of the AcquireOneCacheViewPixel method is:</p>
353 MagickBooleanType AcquireOneCacheViewPixel(const CacheView *cache_view,
354 const ssize_t x,const ssize_t y,PixelPacket *pixel,ExceptionInfo *exception)
357 <p>A description of each parameter follows:</p>
360 <p>the cache view.</p>
363 <p>These values define the offset of the pixel.</p>
366 <p>return a pixel at the specified (x,y) location.</p>
369 <p>return any errors or warnings in this structure.</p>
372 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="AcquireOneCacheViewVirtualPixel">AcquireOneCacheViewVirtualPixel</a></h2>
373 <div class="doc-section">
375 <p>AcquireOneCacheViewVirtualPixel() returns a single pixel at the specified (x,y) location. The image background color is returned if an error occurs. If you plan to modify the pixel, use GetOneCacheViewAuthenticPixel() instead.</p>
377 <p>Deprecated, replace with:</p>
380 GetOneCacheViewVirtualMethodPixel(cache_view,virtual_pixel_method,
381 x,y,pixel,exception);
384 <p>The format of the AcquireOneCacheViewPixel method is:</p>
387 MagickBooleanType AcquireOneCacheViewVirtualPixel(
388 const CacheView *cache_view,
389 const VirtualPixelMethod virtual_pixel_method,const ssize_t x,
390 const ssize_t y,PixelPacket *pixel,ExceptionInfo *exception)
393 <p>A description of each parameter follows:</p>
396 <p>the cache view.</p>
398 <h5>virtual_pixel_method</h5>
399 <p>the virtual pixel method.</p>
402 <p>These values define the offset of the pixel.</p>
405 <p>return a pixel at the specified (x,y) location.</p>
408 <p>return any errors or warnings in this structure.</p>
411 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="AcquireOneMagickPixel">AcquireOneMagickPixel</a></h2>
412 <div class="doc-section">
414 <p>AcquireOneMagickPixel() returns a single pixel at the specified (x,y) location. The image background color is returned if an error occurs. If you plan to modify the pixel, use GetOnePixel() instead.</p>
416 <p>Deprecated, replace with:</p>
419 MagickPixelPacket pixel;
420 GetOneVirtualMagickPixel(image,x,y,&pixel,exception);
423 <p>The format of the AcquireOneMagickPixel() method is:</p>
426 MagickPixelPacket AcquireOneMagickPixel(const Image image,const ssize_t x,
427 const ssize_t y,ExceptionInfo exception)
430 <p>A description of each parameter follows:</p>
436 <p>These values define the location of the pixel to return.</p>
439 <p>return any errors or warnings in this structure.</p>
442 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="AcquireOnePixel">AcquireOnePixel</a></h2>
443 <div class="doc-section">
445 <p>AcquireOnePixel() returns a single pixel at the specified (x,y) location. The image background color is returned if an error occurs. If you plan to modify the pixel, use GetOnePixel() instead.</p>
447 <p>Deprecated, replace with:</p>
451 GetOneVirtualPixel(image,x,y,&pixel,exception);
454 <p>The format of the AcquireOnePixel() method is:</p>
457 PixelPacket AcquireOnePixel(const Image image,const ssize_t x,
458 const ssize_t y,ExceptionInfo exception)
461 <p>A description of each parameter follows:</p>
467 <p>These values define the location of the pixel to return.</p>
470 <p>return any errors or warnings in this structure.</p>
473 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="AcquireOneVirtualPixel">AcquireOneVirtualPixel</a></h2>
474 <div class="doc-section">
476 <p>AcquireOneVirtualPixel() returns a single pixel at the specified (x,y) location as defined by specified pixel method. The image background color is returned if an error occurs. If you plan to modify the pixel, use GetOnePixel() instead.</p>
478 <p>Deprecated, replace with:</p>
482 GetOneVirtualMethodPixel(image,virtual_pixel_method,x,y,&pixel,exception);
485 <p>The format of the AcquireOneVirtualPixel() method is:</p>
488 PixelPacket AcquireOneVirtualPixel(const Image image,
489 const VirtualPixelMethod virtual_pixel_method,const ssize_t x,
490 const ssize_t y,ExceptionInfo exception)
493 <p>A description of each parameter follows:</p>
495 <h5>virtual_pixel_method</h5>
496 <p>the virtual pixel method.</p>
502 <p>These values define the location of the pixel to return.</p>
505 <p>return any errors or warnings in this structure.</p>
508 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="AcquirePixels">AcquirePixels</a></h2>
509 <div class="doc-section">
511 <p>AcquirePixels() returns the pixels associated with the last call to QueueAuthenticPixels() or GetVirtualPixels().</p>
513 <p>Deprecated, replace with:</p>
516 GetVirtualPixelQueue(image);
519 <p>The format of the AcquirePixels() method is:</p>
522 const PixelPacket *AcquirePixels(const Image image)
525 <p>A description of each parameter follows:</p>
531 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="AffinityImage">AffinityImage</a></h2>
532 <div class="doc-section">
534 <p>AffinityImage() replaces the colors of an image with the closest color from a reference image.</p>
536 <p>Deprecated, replace with:</p>
539 RemapImage(quantize_info,image,affinity_image);
542 <p>The format of the AffinityImage method is:</p>
545 MagickBooleanType AffinityImage(const QuantizeInfo *quantize_info,
546 Image *image,const Image *affinity_image)
549 <p>A description of each parameter follows:</p>
551 <h5>quantize_info</h5>
552 <p>Specifies a pointer to an QuantizeInfo structure.</p>
557 <h5>affinity_image</h5>
558 <p>the reference image.</p>
561 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="AffinityImages">AffinityImages</a></h2>
562 <div class="doc-section">
564 <p>AffinityImages() replaces the colors of a sequence of images with the closest color from a reference image.</p>
566 <p>Deprecated, replace with:</p>
569 RemapImages(quantize_info,images,affinity_image);
572 <p>The format of the AffinityImage method is:</p>
575 MagickBooleanType AffinityImages(const QuantizeInfo *quantize_info,
576 Image *images,Image *affinity_image)
579 <p>A description of each parameter follows:</p>
581 <h5>quantize_info</h5>
582 <p>Specifies a pointer to an QuantizeInfo structure.</p>
585 <p>the image sequence.</p>
587 <h5>affinity_image</h5>
588 <p>the reference image.</p>
591 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="AllocateImage">AllocateImage</a></h2>
592 <div class="doc-section">
594 <p>AllocateImage() returns a pointer to an image structure initialized to default values.</p>
596 <p>Deprecated, replace with:</p>
599 AcquireImage(image_info);
602 <p>The format of the AllocateImage method is:</p>
605 Image *AllocateImage(const ImageInfo *image_info)
608 <p>A description of each parameter follows:</p>
611 <p>Many of the image default values are set from this structure. For example, filename, compression, depth, background color, and others.</p>
614 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="AllocateImageColormap">AllocateImageColormap</a></h2>
615 <div class="doc-section">
617 <p>AllocateImageColormap() allocates an image colormap and initializes it to a linear gray colorspace. If the image already has a colormap, it is replaced. AllocateImageColormap() returns MagickTrue if successful, otherwise MagickFalse if there is not enough memory.</p>
619 <p>Deprecated, replace with:</p>
622 AcquireImageColormap(image,colors);
625 <p>The format of the AllocateImageColormap method is:</p>
628 MagickBooleanType AllocateImageColormap(Image *image,
632 <p>A description of each parameter follows:</p>
638 <p>the number of colors in the image colormap.</p>
641 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="AllocateNextImage">AllocateNextImage</a></h2>
642 <div class="doc-section">
644 <p>AllocateNextImage() initializes the next image in a sequence to default values. The next member of image points to the newly allocated image. If there is a memory shortage, next is assigned NULL.</p>
646 <p>Deprecated, replace with:</p>
649 AcquireNextImage(image_info,image);
652 <p>The format of the AllocateNextImage method is:</p>
655 void AllocateNextImage(const ImageInfo *image_info,Image *image)
658 <p>A description of each parameter follows:</p>
661 <p>Many of the image default values are set from this structure. For example, filename, compression, depth, background color, and others.</p>
667 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="AllocateString">AllocateString</a></h2>
668 <div class="doc-section">
670 <p>AllocateString() allocates memory for a string and copies the source string to that memory location (and returns it).</p>
672 <p>The format of the AllocateString method is:</p>
675 char *AllocateString(const char *source)
678 <p>A description of each parameter follows:</p>
681 <p>A character string.</p>
684 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="AverageImages">AverageImages</a></h2>
685 <div class="doc-section">
687 <p>AverageImages() takes a set of images and averages them together. Each image in the set must have the same width and height. AverageImages() returns a single image with each corresponding pixel component of each image averaged. On failure, a NULL image is returned and exception describes the reason for the failure.</p>
689 <p>Deprecated, replace with:</p>
692 EvaluateImages(images,MeanEvaluateOperator,exception);
695 <p>The format of the AverageImages method is:</p>
698 Image *AverageImages(Image *images,ExceptionInfo *exception)
701 <p>A description of each parameter follows:</p>
704 <p>the image sequence.</p>
707 <p>return any errors or warnings in this structure.</p>
710 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="ChannelThresholdImage">ChannelThresholdImage</a></h2>
711 <div class="doc-section">
713 <p>ChannelThresholdImage() changes the value of individual pixels based on the intensity of each pixel channel. The result is a high-contrast image.</p>
715 <p>The format of the ChannelThresholdImage method is:</p>
718 unsigned int ChannelThresholdImage(Image *image,const char *level)
721 <p>A description of each parameter follows:</p>
727 <p>define the threshold values.</p>
730 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="ClipPathImage">ClipPathImage</a></h2>
731 <div class="doc-section">
733 <p>ClipPathImage() sets the image clip mask based any clipping path information if it exists.</p>
735 <p>Deprecated, replace with:</p>
738 ClipImagePath(image,pathname,inside);
741 <p>The format of the ClipImage method is:</p>
744 MagickBooleanType ClipPathImage(Image *image,const char *pathname,
745 const MagickBooleanType inside)
748 <p>A description of each parameter follows:</p>
754 <p>name of clipping path resource. If name is preceded by #, use clipping path numbered by name.</p>
757 <p>if non-zero, later operations take effect inside clipping path. Otherwise later operations take effect outside clipping path.</p>
760 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="CloneImageAttributes">CloneImageAttributes</a></h2>
761 <div class="doc-section">
763 <p>CloneImageAttributes() clones one or more image attributes.</p>
765 <p>Deprecated, replace with:</p>
768 CloneImageProperties(image,clone_image);
771 <p>The format of the CloneImageAttributes method is:</p>
774 MagickBooleanType CloneImageAttributes(Image *image,
775 const Image *clone_image)
778 <p>A description of each parameter follows:</p>
784 <p>the clone image.</p>
787 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="CloneMemory">CloneMemory</a></h2>
788 <div class="doc-section">
790 <p>CloneMemory() copies size bytes from memory area source to the destination. Copying between objects that overlap will take place correctly. It returns destination.</p>
792 <p>The format of the CloneMemory method is:</p>
795 void *CloneMemory(void *destination,const void *source,
799 <p>A description of each parameter follows:</p>
802 <p>the destination.</p>
808 <p>the size of the memory in bytes to allocate.</p>
811 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="CloseCacheView">CloseCacheView</a></h2>
812 <div class="doc-section">
814 <p>CloseCacheView() closes the specified view returned by a previous call to OpenCacheView().</p>
816 <p>Deprecated, replace with:</p>
819 DestroyCacheView(view_info);
822 <p>The format of the CloseCacheView method is:</p>
825 CacheView *CloseCacheView(CacheView *view_info)
828 <p>A description of each parameter follows:</p>
831 <p>the address of a structure of type CacheView.</p>
834 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="ColorFloodfill">ColorFloodfill</a></h2>
835 <div class="doc-section">
837 <p>ColorFloodfill() 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>
839 <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>
841 <p>The format of the ColorFloodfillImage method is:</p>
844 MagickBooleanType ColorFloodfillImage(Image *image,
845 const DrawInfo *draw_info,const PixelPacket target,
846 const ssize_t x_offset,const ssize_t y_offset,const PaintMethod method)
849 <p>A description of each parameter follows:</p>
855 <p>the draw info.</p>
858 <p>the RGB value of the target color.</p>
861 <p>the starting location of the operation.</p>
864 <p>Choose either FloodfillMethod or FillToBorderMethod.</p>
867 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="DeleteImageAttribute">DeleteImageAttribute</a></h2>
868 <div class="doc-section">
870 <p>DeleteImageAttribute() deletes an attribute from the image.</p>
872 <p>Deprecated, replace with:</p>
875 DeleteImageProperty(image,key);
878 <p>The format of the DeleteImageAttribute method is:</p>
881 MagickBooleanType DeleteImageAttribute(Image *image,const char *key)
884 <p>A description of each parameter follows:</p>
887 <p>the image info.</p>
890 <p>the image key.</p>
893 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="DeleteImageList">DeleteImageList</a></h2>
894 <div class="doc-section">
896 <p>DeleteImageList() deletes an image at the specified position in the list.</p>
898 <p>The format of the DeleteImageList method is:</p>
901 unsigned int DeleteImageList(Image *images,const ssize_t offset)
904 <p>A description of each parameter follows:</p>
907 <p>the image list.</p>
910 <p>the position within the list.</p>
913 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="DeleteMagickRegistry">DeleteMagickRegistry</a></h2>
914 <div class="doc-section">
916 <p>DeleteMagickRegistry() deletes an entry in the registry as defined by the id. It returns MagickTrue if the entry is deleted otherwise MagickFalse if no entry is found in the registry that matches the id.</p>
918 <p>Deprecated, replace with:</p>
921 char key[MaxTextExtent];
922 FormatLocaleString(key,MaxTextExtent,"ld\n",id);
923 DeleteImageRegistry(key);
926 <p>The format of the DeleteMagickRegistry method is:</p>
929 MagickBooleanType DeleteMagickRegistry(const ssize_t id)
932 <p>A description of each parameter follows:</p>
935 <p>the registry id.</p>
938 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="DescribeImage">DescribeImage</a></h2>
939 <div class="doc-section">
941 <p>DescribeImage() describes an image by printing its attributes to the file. Attributes include the image width, height, size, and others.</p>
943 <p>Deprecated, replace with:</p>
946 IdentifyImage(image,file,verbose);
949 <p>The format of the DescribeImage method is:</p>
952 MagickBooleanType DescribeImage(Image *image,FILE *file,
953 const MagickBooleanType verbose)
956 <p>A description of each parameter follows:</p>
962 <p>the file, typically stdout.</p>
965 <p>A value other than zero prints more detailed information about the image.</p>
968 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="DestroyImageAttributes">DestroyImageAttributes</a></h2>
969 <div class="doc-section">
971 <p>DestroyImageAttributes() deallocates memory associated with the image attribute list.</p>
973 <p>The format of the DestroyImageAttributes method is:</p>
976 DestroyImageAttributes(Image *image)
979 <p>A description of each parameter follows:</p>
985 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="DestroyImages">DestroyImages</a></h2>
986 <div class="doc-section">
988 <p>DestroyImages() destroys an image list.</p>
990 <p>Deprecated, replace with:</p>
993 DestroyImageList(image);
996 <p>The format of the DestroyImages method is:</p>
999 void DestroyImages(Image *image)
1002 <p>A description of each parameter follows:</p>
1005 <p>the image sequence.</p>
1008 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="DestroyMagick">DestroyMagick</a></h2>
1009 <div class="doc-section">
1011 <p>DestroyMagick() destroys the ImageMagick environment.</p>
1013 <p>Deprecated, replace with:</p>
1016 MagickCoreTerminus();
1019 <p>The format of the DestroyMagick function is:</p>
1026 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="DispatchImage">DispatchImage</a></h2>
1027 <div class="doc-section">
1029 <p>DispatchImage() extracts pixel data from an image and returns it to you. The method returns MagickFalse on success otherwise MagickTrue 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>
1031 <p>Suppose you want to extract the first scanline of a 640x480 image as character data in red-green-blue order:</p>
1034 DispatchImage(image,0,0,640,1,"RGB",CharPixel,pixels,exception);
1037 <p>Deprecated, replace with:</p>
1040 ExportImagePixels(image,x_offset,y_offset,columns,rows,map,type,pixels,
1044 <p>The format of the DispatchImage method is:</p>
1047 unsigned int DispatchImage(const Image *image,const ssize_t x_offset,
1048 const ssize_t y_offset,const size_t columns,
1049 const size_t rows,const char *map,const StorageType type,
1050 void *pixels,ExceptionInfo *exception)
1053 <p>A description of each parameter follows:</p>
1058 <h5>x_offset, y_offset, columns, rows</h5>
1059 <p>These values define the perimeter of a region of pixels you want to extract.</p>
1062 <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, C = cyan, Y = yellow, M = magenta, K = black, or I = intensity (for grayscale).</p>
1065 <p>Define the data type of the pixels. Float and double types are normalized to [0..1] otherwise [0..QuantumRange]. Choose from these types: CharPixel, ShortPixel, IntegerPixel, LongPixel, FloatPixel, or DoublePixel.</p>
1068 <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>
1071 <p>return any errors or warnings in this structure.</p>
1074 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="ExtractSubimageFromImageImage">ExtractSubimageFromImageImage</a></h2>
1075 <div class="doc-section">
1077 <p>ExtractSubimageFromImageImage() extracts a region of the image that most closely resembles the reference.</p>
1079 <p>The format of the ExtractSubimageFromImageImage method is:</p>
1082 Image *ExtractSubimageFromImage(const Image *image,
1083 const Image *reference,ExceptionInfo *exception)
1086 <p>A description of each parameter follows:</p>
1092 <p>find an area of the image that closely resembles this image.</p>
1095 <p>return any errors or warnings in this structure.</p>
1098 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="FlattenImages">FlattenImages</a></h2>
1099 <div class="doc-section">
1101 <p>FlattenImages() Obsolete Function: Use MergeImageLayers() instead.</p>
1103 <p>Deprecated, replace with:</p>
1106 MergeImageLayers(image,FlattenLayer,exception);
1109 <p>The format of the FlattenImage method is:</p>
1112 Image *FlattenImage(Image *image,ExceptionInfo *exception)
1115 <p>A description of each parameter follows:</p>
1118 <p>the image sequence.</p>
1121 <p>return any errors or warnings in this structure.</p>
1124 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="FormatImageAttribute">FormatImageAttribute</a></h2>
1125 <div class="doc-section">
1127 <p>FormatImageAttribute() permits formatted key/value pairs to be saved as an image attribute.</p>
1129 <p>The format of the FormatImageAttribute method is:</p>
1132 MagickBooleanType FormatImageAttribute(Image *image,const char *key,
1133 const char *format,...)
1136 <p>A description of each parameter follows.</p>
1142 <p>The attribute key.</p>
1145 <p>A string describing the format to use to write the remaining arguments.</p>
1148 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="FormatMagickString">FormatMagickString</a></h2>
1149 <div class="doc-section">
1151 <p>FormatMagickString() prints formatted output of a variable argument list.</p>
1153 <p>The format of the FormatMagickString method is:</p>
1156 ssize_t FormatMagickString(char *string,const size_t length,
1157 const char *format,...)
1160 <p>A description of each parameter follows.</p>
1163 <p>FormatMagickString() returns the formatted string in this character buffer.</p>
1166 <p>the maximum length of the string.</p>
1169 <p>A string describing the format to use to write the remaining arguments.</p>
1172 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="FormatString">FormatString</a></h2>
1173 <div class="doc-section">
1175 <p>FormatString() prints formatted output of a variable argument list.</p>
1177 <p>The format of the FormatString method is:</p>
1180 void FormatString(char *string,const char *format,...)
1183 <p>A description of each parameter follows.</p>
1186 <p>Method FormatString returns the formatted string in this character buffer.</p>
1189 <p>A string describing the format to use to write the remaining arguments.</p>
1192 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="GetConfigureBlob">GetConfigureBlob</a></h2>
1193 <div class="doc-section">
1195 <p>GetConfigureBlob() returns the specified configure file as a blob.</p>
1197 <p>The format of the GetConfigureBlob method is:</p>
1200 void *GetConfigureBlob(const char *filename,ExceptionInfo *exception)
1203 <p>A description of each parameter follows:</p>
1206 <p>the configure file name.</p>
1209 <p>return the full path information of the configure file.</p>
1212 <p>This pointer to a size_t integer sets the initial length of the blob. On return, it reflects the actual length of the blob.</p>
1215 <p>return any errors or warnings in this structure.</p>
1218 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="GetCacheView">GetCacheView</a></h2>
1219 <div class="doc-section">
1221 <p>GetCacheView() gets pixels from the in-memory or disk pixel cache as defined by the geometry parameters. A pointer to the pixels is returned if the pixels are transferred, otherwise a NULL is returned.</p>
1223 <p>Deprecated, replace with:</p>
1226 GetCacheViewAuthenticPixels(cache_view,x,y,columns,rows,
1227 GetCacheViewException(cache_view));
1230 <p>The format of the GetCacheView method is:</p>
1233 PixelPacket *GetCacheView(CacheView *cache_view,const ssize_t x,
1234 const ssize_t y,const size_t columns,const size_t rows)
1237 <p>A description of each parameter follows:</p>
1240 <p>the address of a structure of type CacheView.</p>
1242 <h5>x,y,columns,rows</h5>
1243 <p>These values define the perimeter of a region of pixels.</p>
1246 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="GetCacheViewIndexes">GetCacheViewIndexes</a></h2>
1247 <div class="doc-section">
1249 <p>GetCacheViewIndexes() returns the indexes associated with the specified view.</p>
1251 <p>Deprecated, replace with:</p>
1254 GetCacheViewAuthenticIndexQueue(cache_view);
1257 <p>The format of the GetCacheViewIndexes method is:</p>
1260 IndexPacket *GetCacheViewIndexes(CacheView *cache_view)
1263 <p>A description of each parameter follows:</p>
1266 <p>the cache view.</p>
1269 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="GetCacheViewPixels">GetCacheViewPixels</a></h2>
1270 <div class="doc-section">
1272 <p>GetCacheViewPixels() gets pixels from the in-memory or disk pixel cache as defined by the geometry parameters. A pointer to the pixels is returned if the pixels are transferred, otherwise a NULL is returned.</p>
1274 <p>Deprecated, replace with:</p>
1277 GetCacheViewAuthenticPixels(cache_view,x,y,columns,rows,
1278 GetCacheViewException(cache_view));
1281 <p>The format of the GetCacheViewPixels method is:</p>
1284 PixelPacket *GetCacheViewPixels(CacheView *cache_view,const ssize_t x,
1285 const ssize_t y,const size_t columns,const size_t rows)
1288 <p>A description of each parameter follows:</p>
1291 <p>the cache view.</p>
1293 <h5>x,y,columns,rows</h5>
1294 <p>These values define the perimeter of a region of pixels.</p>
1297 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="GetImageAttribute">GetImageAttribute</a></h2>
1298 <div class="doc-section">
1300 <p>GetImageAttribute() searches the list of image attributes and returns a pointer to the attribute if it exists otherwise NULL.</p>
1302 <p>The format of the GetImageAttribute method is:</p>
1305 const ImageAttribute *GetImageAttribute(const Image *image,
1309 <p>A description of each parameter follows:</p>
1315 <p>These character strings are the name of an image attribute to return.</p>
1318 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="GetImageClippingPathAttribute">GetImageClippingPathAttribute</a></h2>
1319 <div class="doc-section">
1321 <p>GetImageClippingPathAttribute() searches the list of image attributes and returns a pointer to a clipping path if it exists otherwise NULL.</p>
1323 <p>Deprecated, replace with:</p>
1326 GetImageAttribute(image,"8BIM:1999,2998");
1329 <p>The format of the GetImageClippingPathAttribute method is:</p>
1332 const ImageAttribute *GetImageClippingPathAttribute(Image *image)
1335 <p>A description of each parameter follows:</p>
1338 <p>Method GetImageClippingPathAttribute returns the clipping path if it exists otherwise NULL.</p>
1344 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="GetImageFromMagickRegistry">GetImageFromMagickRegistry</a></h2>
1345 <div class="doc-section">
1347 <p>GetImageFromMagickRegistry() gets an image from the registry as defined by its name. If the image is not found, a NULL image is returned.</p>
1349 <p>Deprecated, replace with:</p>
1352 GetImageRegistry(ImageRegistryType,name,exception);
1355 <p>The format of the GetImageFromMagickRegistry method is:</p>
1358 Image *GetImageFromMagickRegistry(const char *name,ssize_t *id,
1359 ExceptionInfo *exception)
1362 <p>A description of each parameter follows:</p>
1365 <p>the name of the image to retrieve from the registry.</p>
1368 <p>the registry id.</p>
1371 <p>return any errors or warnings in this structure.</p>
1374 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="GetMagickRegistry">GetMagickRegistry</a></h2>
1375 <div class="doc-section">
1377 <p>GetMagickRegistry() gets a blob from the registry as defined by the id. If the blob that matches the id is not found, NULL is returned.</p>
1379 <p>The format of the GetMagickRegistry method is:</p>
1382 const void *GetMagickRegistry(const ssize_t id,RegistryType *type,
1383 size_t *length,ExceptionInfo *exception)
1386 <p>A description of each parameter follows:</p>
1389 <p>the registry id.</p>
1392 <p>the registry type.</p>
1395 <p>the blob length in number of bytes.</p>
1398 <p>return any errors or warnings in this structure.</p>
1401 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="GetImageGeometry">GetImageGeometry</a></h2>
1402 <div class="doc-section">
1404 <p>GetImageGeometry() returns a region as defined by the geometry string with respect to the image and its gravity.</p>
1406 <p>Deprecated, replace with:</p>
1409 if (size_to_fit != MagickFalse)
1410 ParseRegionGeometry(image,geometry,region_info,&image->exception); else
1411 ParsePageGeometry(image,geometry,region_info,&image->exception);
1414 <p>The format of the GetImageGeometry method is:</p>
1417 int GetImageGeometry(Image *image,const char *geometry,
1418 const unsigned int size_to_fit,RectangeInfo *region_info)
1421 <p>A description of each parameter follows:</p>
1424 <p>Method GetImageGeometry returns a bitmask that indicates which of the four values were located in the geometry string.</p>
1427 <p>The geometry (e.g. 100x100+10+10).</p>
1429 <h5>size_to_fit</h5>
1430 <p>A value other than 0 means to scale the region so it fits within the specified width and height.</p>
1432 <h5>region_info</h5>
1433 <p>the region as defined by the geometry string with respect to the image and its gravity.</p>
1436 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="GetImageList">GetImageList</a></h2>
1437 <div class="doc-section">
1439 <p>GetImageList() returns an image at the specified position in the list.</p>
1441 <p>Deprecated, replace with:</p>
1444 CloneImage(GetImageFromList(images,(ssize_t) offset),0,0,MagickTrue,
1448 <p>The format of the GetImageList method is:</p>
1451 Image *GetImageList(const Image *images,const ssize_t offset,
1452 ExceptionInfo *exception)
1455 <p>A description of each parameter follows:</p>
1458 <p>the image list.</p>
1461 <p>the position within the list.</p>
1464 <p>return any errors or warnings in this structure.</p>
1467 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="GetImageListIndex">GetImageListIndex</a></h2>
1468 <div class="doc-section">
1470 <p>GetImageListIndex() returns the position in the list of the specified image.</p>
1472 <p>Deprecated, replace with:</p>
1475 GetImageIndexInList(images);
1478 <p>The format of the GetImageListIndex method is:</p>
1481 ssize_t GetImageListIndex(const Image *images)
1484 <p>A description of each parameter follows:</p>
1487 <p>the image list.</p>
1490 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="GetImageListSize">GetImageListSize</a></h2>
1491 <div class="doc-section">
1493 <p>GetImageListSize() returns the number of images in the list.</p>
1495 <p>Deprecated, replace with:</p>
1498 GetImageListLength(images);
1501 <p>The format of the GetImageListSize method is:</p>
1504 size_t GetImageListSize(const Image *images)
1507 <p>A description of each parameter follows:</p>
1510 <p>the image list.</p>
1513 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="GetImagePixels">GetImagePixels</a></h2>
1514 <div class="doc-section">
1516 <p>GetImagePixels() obtains a pixel region for read/write access. If the region is successfully accessed, a pointer to a PixelPacket array representing the region is returned, otherwise NULL is returned.</p>
1518 <p>The returned pointer may point to a temporary working copy of the pixels or it may point to the original pixels in memory. Performance is maximized if the selected region is part of one row, or one or more full rows, since then there is opportunity to access the pixels in-place (without a copy) if the image is in RAM, or in a memory-mapped file. The returned pointer should *never* be deallocated by the user.</p>
1520 <p>Pixels accessed via the returned pointer represent a simple array of type PixelPacket. If the image type is CMYK or if the storage class is PseduoClass, call GetAuthenticIndexQueue() after invoking GetImagePixels() to obtain the black color component or colormap indexes (of type IndexPacket) corresponding to the region. Once the PixelPacket (and/or IndexPacket) array has been updated, the changes must be saved back to the underlying image using SyncAuthenticPixels() or they may be lost.</p>
1522 <p>Deprecated, replace with:</p>
1525 GetAuthenticPixels(image,x,y,columns,rows,&image->exception);
1528 <p>The format of the GetImagePixels() method is:</p>
1531 PixelPacket *GetImagePixels(Image *image,const ssize_t x,const ssize_t y,
1532 const size_t columns,const size_t rows)
1535 <p>A description of each parameter follows:</p>
1540 <h5>x,y,columns,rows</h5>
1541 <p>These values define the perimeter of a region of pixels.</p>
1544 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="GetIndexes">GetIndexes</a></h2>
1545 <div class="doc-section">
1547 <p>GetIndexes() returns the black channel or the colormap indexes associated with the last call to QueueAuthenticPixels() or GetVirtualPixels(). NULL is returned if the black channel or colormap indexes are not available.</p>
1549 <p>Deprecated, replace with:</p>
1552 GetAuthenticIndexQueue(image);
1555 <p>The format of the GetIndexes() method is:</p>
1558 IndexPacket *GetIndexes(const Image *image)
1561 <p>A description of each parameter follows:</p>
1564 <p>GetIndexes() returns the indexes associated with the last call to QueueAuthenticPixels() or GetAuthenticPixels().</p>
1570 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="GetNextImage">GetNextImage</a></h2>
1571 <div class="doc-section">
1573 <p>GetNextImage() returns the next image in a list.</p>
1575 <p>Deprecated, replace with:</p>
1578 GetNextImageInList(images);
1581 <p>The format of the GetNextImage method is:</p>
1584 Image *GetNextImage(const Image *images)
1587 <p>A description of each parameter follows:</p>
1590 <p>the image list.</p>
1593 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="GetNextImageAttribute">GetNextImageAttribute</a></h2>
1594 <div class="doc-section">
1596 <p>GetNextImageAttribute() gets the next image attribute.</p>
1598 <p>Deprecated, replace with:</p>
1601 const char *property;
1602 property=GetNextImageProperty(image);
1603 if (property != (const char *) NULL)
1604 GetImageAttribute(image,property);
1607 <p>The format of the GetNextImageAttribute method is:</p>
1610 const ImageAttribute *GetNextImageAttribute(const Image *image)
1613 <p>A description of each parameter follows:</p>
1619 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="GetNumberScenes">GetNumberScenes</a></h2>
1620 <div class="doc-section">
1622 <p>GetNumberScenes() returns the number of images in the list.</p>
1624 <p>Deprecated, replace with:</p>
1627 GetImageListLength(image);
1630 <p>The format of the GetNumberScenes method is:</p>
1633 unsigned int GetNumberScenes(const Image *images)
1636 <p>A description of each parameter follows:</p>
1639 <p>the image list.</p>
1642 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="GetOnePixel">GetOnePixel</a></h2>
1643 <div class="doc-section">
1645 <p>GetOnePixel() returns a single pixel at the specified (x,y) location. The image background color is returned if an error occurs.</p>
1647 <p>Deprecated, replace with:</p>
1650 GetOneAuthenticPixel(image,x,y,&pixel,&image->exception);
1653 <p>The format of the GetOnePixel() method is:</p>
1656 PixelPacket GetOnePixel(const Image image,const ssize_t x,const ssize_t y)
1659 <p>A description of each parameter follows:</p>
1665 <p>These values define the location of the pixel to return.</p>
1668 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="GetPixels">GetPixels</a></h2>
1669 <div class="doc-section">
1671 <p>GetPixels() returns the pixels associated with the last call to QueueAuthenticPixels() or GetAuthenticPixels().</p>
1673 <p>Deprecated, replace with:</p>
1676 GetAuthenticPixelQueue(image);
1679 <p>The format of the GetPixels() method is:</p>
1682 PixelPacket *GetPixels(const Image image)
1685 <p>A description of each parameter follows:</p>
1688 <p>GetPixels() returns the pixels associated with the last call to QueueAuthenticPixels() or GetAuthenticPixels().</p>
1694 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="GetPreviousImage">GetPreviousImage</a></h2>
1695 <div class="doc-section">
1697 <p>GetPreviousImage() returns the previous image in a list.</p>
1699 <p>Deprecated, replace with:</p>
1702 GetPreviousImageInList(images));
1705 <p>The format of the GetPreviousImage method is:</p>
1708 Image *GetPreviousImage(const Image *images)
1711 <p>A description of each parameter follows:</p>
1714 <p>the image list.</p>
1717 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="HSLTransform">HSLTransform</a></h2>
1718 <div class="doc-section">
1720 <p>HSLTransform() converts a (hue, saturation, lightness) to a (red, green, blue) triple.</p>
1722 <p>The format of the HSLTransformImage method is:</p>
1725 void HSLTransform(const double hue,const double saturation,
1726 const double lightness,Quantum *red,Quantum *green,Quantum *blue)
1729 <p>A description of each parameter follows:</p>
1731 <h5>hue, saturation, lightness</h5>
1732 <p>A double value representing a component of the HSL color space.</p>
1734 <h5>red, green, blue</h5>
1735 <p>A pointer to a pixel component of type Quantum.</p>
1738 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="IdentityAffine">IdentityAffine</a></h2>
1739 <div class="doc-section">
1741 <p>IdentityAffine() initializes the affine transform to the identity matrix.</p>
1743 <p>The format of the IdentityAffine method is:</p>
1746 IdentityAffine(AffineMatrix *affine)
1749 <p>A description of each parameter follows:</p>
1752 <p>A pointer the affine transform of type AffineMatrix.</p>
1755 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="InitializeMagick">InitializeMagick</a></h2>
1756 <div class="doc-section">
1758 <p>InitializeMagick() initializes the ImageMagick environment.</p>
1760 <p>Deprecated, replace with:</p>
1763 MagickCoreGenesis(path,MagickFalse);
1766 <p>The format of the InitializeMagick function is:</p>
1769 InitializeMagick(const char *path)
1772 <p>A description of each parameter follows:</p>
1775 <p>the execution path of the current ImageMagick client.</p>
1778 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="InterpolatePixelColor">InterpolatePixelColor</a></h2>
1779 <div class="doc-section">
1781 <p>InterpolatePixelColor() applies bi-linear or tri-linear interpolation between a pixel and it's neighbors.</p>
1783 <p>The format of the InterpolatePixelColor method is:</p>
1786 MagickPixelPacket InterpolatePixelColor(const Image *image,
1787 CacheView *view_info,InterpolatePixelMethod method,const double x,
1788 const double y,ExceptionInfo *exception)
1791 <p>A description of each parameter follows:</p>
1797 <p>the image cache view.</p>
1800 <p>the type of pixel color interpolation.</p>
1803 <p>A double representing the current (x,y) position of the pixel.</p>
1806 <p>return any errors or warnings in this structure.</p>
1809 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="InterpretImageAttributes">InterpretImageAttributes</a></h2>
1810 <div class="doc-section">
1812 <p>InterpretImageAttributes() replaces any embedded formatting characters with the appropriate image attribute and returns the translated text.</p>
1814 <p>Deprecated, replace with:</p>
1817 InterpretImageProperties(image_info,image,embed_text);
1820 <p>The format of the InterpretImageAttributes method is:</p>
1823 char *InterpretImageAttributes(const ImageInfo *image_info,Image *image,
1824 const char *embed_text)
1827 <p>A description of each parameter follows:</p>
1830 <p>the image info.</p>
1836 <p>the address of a character string containing the embedded formatting characters.</p>
1839 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="LevelImageColor">LevelImageColor</a></h2>
1840 <div class="doc-section">
1842 <p>LevelImageColor() will map the given color to "black" and "white" values, limearly spreading out the colors, and level values on a channel by channel bases, as per LevelImage(). The given colors allows you to specify different level ranges for each of the color channels separately.</p>
1844 <p>If the boolean 'invert' is set true the image values will modifyed in the reverse direction. That is any existing "black" and "white" colors in the image will become the color values given, with all other values compressed appropriatally. This effectivally maps a greyscale gradient into the given color gradient.</p>
1846 <p>Deprecated, replace with:</p>
1849 LevelColorsImageChannel(image,channel,black_color,white_color,invert);
1852 <p>The format of the LevelImageColors method is:</p>
1855 MagickBooleanType LevelImageColors(Image *image,const ChannelType channel,
1856 const MagickPixelPacket *black_color,const MagickPixelPacket *white_color,
1857 const MagickBooleanType invert)
1860 <p>A description of each parameter follows:</p>
1868 <h5>black_color</h5>
1869 <p>The color to map black to/from</p>
1871 <h5>white_point</h5>
1872 <p>The color to map white to/from</p>
1875 <p>if true map the colors (levelize), rather than from (level)</p>
1878 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="LiberateMemory">LiberateMemory</a></h2>
1879 <div class="doc-section">
1881 <p>LiberateMemory() frees memory that has already been allocated, and NULL's the pointer to it.</p>
1883 <p>The format of the LiberateMemory method is:</p>
1886 void LiberateMemory(void **memory)
1889 <p>A description of each parameter follows:</p>
1892 <p>A pointer to a block of memory to free for reuse.</p>
1895 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="LiberateSemaphoreInfo">LiberateSemaphoreInfo</a></h2>
1896 <div class="doc-section">
1898 <p>LiberateSemaphoreInfo() relinquishes a semaphore.</p>
1900 <p>Deprecated, replace with:</p>
1903 UnlockSemaphoreInfo(*semaphore_info);
1906 <p>The format of the LiberateSemaphoreInfo method is:</p>
1909 LiberateSemaphoreInfo(void **semaphore_info)
1912 <p>A description of each parameter follows:</p>
1914 <h5>semaphore_info</h5>
1915 <p>Specifies a pointer to an SemaphoreInfo structure.</p>
1918 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="MagickIncarnate">MagickIncarnate</a></h2>
1919 <div class="doc-section">
1921 <p>MagickIncarnate() initializes the ImageMagick environment.</p>
1923 <p>Deprecated, replace with:</p>
1926 MagickCoreGenesis(path,MagickFalse);
1929 <p>The format of the MagickIncarnate function is:</p>
1932 MagickIncarnate(const char *path)
1935 <p>A description of each parameter follows:</p>
1938 <p>the execution path of the current ImageMagick client.</p>
1941 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="MagickMonitor">MagickMonitor</a></h2>
1942 <div class="doc-section">
1944 <p>MagickMonitor() calls the monitor handler method with a text string that describes the task and a measure of completion. The method returns MagickTrue on success otherwise MagickFalse if an error is encountered, e.g. if there was a user interrupt.</p>
1946 <p>The format of the MagickMonitor method is:</p>
1949 MagickBooleanType MagickMonitor(const char *text,
1950 const MagickOffsetType offset,const MagickSizeType span,
1954 <p>A description of each parameter follows:</p>
1957 <p>the position relative to the span parameter which represents how much progress has been made toward completing a task.</p>
1960 <p>the span relative to completing a task.</p>
1962 <h5>client_data</h5>
1963 <p>the client data.</p>
1966 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="MapImage">MapImage</a></h2>
1967 <div class="doc-section">
1969 <p>MapImage() replaces the colors of an image with the closest color from a reference image.</p>
1971 <p>Deprecated, replace with:</p>
1974 QuantizeInfo quantize_info;
1975 GetQuantizeInfo(&quantize_info);
1976 quantize_info.dither=dither;
1977 RemapImage(&quantize_info,image,map_image);
1980 <p>The format of the MapImage method is:</p>
1983 MagickBooleanType MapImage(Image *image,const Image *map_image,
1984 const MagickBooleanType dither)
1987 <p>A description of each parameter follows:</p>
1990 <p>Specifies a pointer to an Image structure.</p>
1993 <p>the image. Reduce image to a set of colors represented by this image.</p>
1996 <p>Set this integer value to something other than zero to dither the mapped image.</p>
1999 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="MapImages">MapImages</a></h2>
2000 <div class="doc-section">
2002 <p>MapImages() replaces the colors of a sequence of images with the closest color from a reference image.</p>
2004 <p>Deprecated, replace with:</p>
2007 QuantizeInfo quantize_info;
2008 GetQuantizeInfo(&quantize_info);
2009 quantize_info.dither=dither;
2010 RemapImages(&quantize_info,images,map_image);
2013 <p>The format of the MapImage method is:</p>
2016 MagickBooleanType MapImages(Image *images,Image *map_image,
2017 const MagickBooleanType dither)
2020 <p>A description of each parameter follows:</p>
2023 <p>Specifies a pointer to a set of Image structures.</p>
2026 <p>the image. Reduce image to a set of colors represented by this image.</p>
2029 <p>Set this integer value to something other than zero to dither the quantized image.</p>
2032 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="MatteFloodfill">MatteFloodfill</a></h2>
2033 <div class="doc-section">
2035 <p>MatteFloodfill() 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>
2037 <p>By default target must match a particular pixel transparency exactly. However, in many cases two transparency values may differ by a small amount. The fuzz member of image defines how much tolerance is acceptable to consider two transparency values as the same. For example, set fuzz to 10 and the opacity values of 100 and 102 respectively are now interpreted as the same value for the purposes of the floodfill.</p>
2039 <p>The format of the MatteFloodfillImage method is:</p>
2042 MagickBooleanType MatteFloodfillImage(Image *image,
2043 const PixelPacket target,const Quantum opacity,const ssize_t x_offset,
2044 const ssize_t y_offset,const PaintMethod method)
2047 <p>A description of each parameter follows:</p>
2053 <p>the RGB value of the target color.</p>
2056 <p>the level of transparency: 0 is fully opaque and QuantumRange is fully transparent.</p>
2059 <p>the starting location of the operation.</p>
2062 <p>Choose either FloodfillMethod or FillToBorderMethod.</p>
2065 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="MaximumImages">MaximumImages</a></h2>
2066 <div class="doc-section">
2068 <p>MaximumImages() returns the maximum intensity of an image sequence.</p>
2070 <p>Deprecated, replace with:</p>
2073 EvaluateImages(images,MinEvaluateOperator,exception);
2076 <p>The format of the MaxImages method is:</p>
2079 Image *MaximumImages(Image *images,ExceptionInfo *exception)
2082 <p>A description of each parameter follows:</p>
2085 <p>the image sequence.</p>
2088 <p>return any errors or warnings in this structure.</p>
2091 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="MinimumImages">MinimumImages</a></h2>
2092 <div class="doc-section">
2094 <p>MinimumImages() returns the minimum intensity of an image sequence.</p>
2096 <p>Deprecated, replace with:</p>
2099 EvaluateImages(images,MinEvaluateOperator,exception);
2102 <p>The format of the MinimumImages method is:</p>
2105 Image *MinimumImages(Image *images,ExceptionInfo *exception)
2108 <p>A description of each parameter follows:</p>
2111 <p>the image sequence.</p>
2114 <p>return any errors or warnings in this structure.</p>
2117 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="MedianFilterImage">MedianFilterImage</a></h2>
2118 <div class="doc-section">
2120 <p>MedianFilterImage() 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>
2122 <p>The algorithm was contributed by Mike Edmonds and implements an insertion sort for selecting median color-channel values. For more on this algorithm see "Skip Lists: A probabilistic Alternative to Balanced Trees" by William Pugh in the June 1990 of Communications of the ACM.</p>
2124 <p>The format of the MedianFilterImage method is:</p>
2127 Image *MedianFilterImage(const Image *image,const double radius,
2128 ExceptionInfo *exception)
2131 <p>A description of each parameter follows:</p>
2137 <p>the radius of the pixel neighborhood.</p>
2140 <p>return any errors or warnings in this structure.</p>
2143 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="ModeImage">ModeImage</a></h2>
2144 <div class="doc-section">
2146 <p>ModeImage() makes each pixel the 'predominate color' of the neighborhood of the specified radius.</p>
2148 <p>The format of the ModeImage method is:</p>
2151 Image *ModeImage(const Image *image,const double radius,
2152 ExceptionInfo *exception)
2155 <p>A description of each parameter follows:</p>
2161 <p>the radius of the pixel neighborhood.</p>
2164 <p>return any errors or warnings in this structure.</p>
2167 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="MosaicImages">MosaicImages</a></h2>
2168 <div class="doc-section">
2170 <p>MosaicImages() Obsolete Function: Use MergeImageLayers() instead.</p>
2172 <p>Deprecated, replace with:</p>
2175 MergeImageLayers(image,MosaicLayer,exception);
2178 <p>The format of the MosaicImage method is:</p>
2181 Image *MosaicImages(const Image *image,ExceptionInfo *exception)
2184 <p>A description of each parameter follows:</p>
2187 <p>the image list to be composited together</p>
2190 <p>return any errors or warnings in this structure.</p>
2193 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="OpaqueImage">OpaqueImage</a></h2>
2194 <div class="doc-section">
2196 <p>OpaqueImage() changes any pixel that matches color with the color defined by fill.</p>
2198 <p>By default color must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. Fuzz 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.</p>
2200 <p>The format of the OpaqueImage method is:</p>
2203 MagickBooleanType OpaqueImage(Image *image,
2204 const PixelPacket *target,const PixelPacket fill)
2207 <p>A description of each parameter follows:</p>
2213 <p>the RGB value of the target color.</p>
2216 <p>the replacement color.</p>
2219 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="OpenCacheView">OpenCacheView</a></h2>
2220 <div class="doc-section">
2222 <p>OpenCacheView() opens a view into the pixel cache, using the VirtualPixelMethod that is defined within the given image itself.</p>
2224 <p>Deprecated, replace with:</p>
2227 AcquireCacheView(image);
2230 <p>The format of the OpenCacheView method is:</p>
2233 CacheView *OpenCacheView(const Image *image)
2236 <p>A description of each parameter follows:</p>
2242 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="PaintFloodfill">PaintFloodfill</a></h2>
2243 <div class="doc-section">
2245 <p>PaintFloodfill() 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>
2247 <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>
2249 <p>Deprecated, replace with:</p>
2252 FloodfillPaintImage(image,channel,draw_info,target,x,y,
2253 method == FloodfillMethod ? MagickFalse : MagickTrue);
2256 <p>The format of the PaintFloodfillImage method is:</p>
2259 MagickBooleanType PaintFloodfillImage(Image *image,
2260 const ChannelType channel,const MagickPixelPacket target,const ssize_t x,
2261 const ssize_t y,const DrawInfo *draw_info,const PaintMethod method)
2264 <p>A description of each parameter follows:</p>
2270 <p>the channel(s).</p>
2273 <p>the RGB value of the target color.</p>
2276 <p>the starting location of the operation.</p>
2279 <p>the draw info.</p>
2282 <p>Choose either FloodfillMethod or FillToBorderMethod.</p>
2285 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="PaintOpaqueImage">PaintOpaqueImage</a></h2>
2286 <div class="doc-section">
2288 <p>PaintOpaqueImage() changes any pixel that matches color with the color defined by fill.</p>
2290 <p>By default color must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. Fuzz 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.</p>
2292 <p>Deprecated, replace with:</p>
2295 OpaquePaintImageChannel(image,DefaultChannels,target,fill,MagickFalse);
2296 OpaquePaintImageChannel(image,channel,target,fill,MagickFalse);
2299 <p>The format of the PaintOpaqueImage method is:</p>
2302 MagickBooleanType PaintOpaqueImage(Image *image,
2303 const PixelPacket *target,const PixelPacket *fill)
2304 MagickBooleanType PaintOpaqueImageChannel(Image *image,
2305 const ChannelType channel,const PixelPacket *target,
2306 const PixelPacket *fill)
2309 <p>A description of each parameter follows:</p>
2315 <p>the channel(s).</p>
2318 <p>the RGB value of the target color.</p>
2321 <p>the replacement color.</p>
2324 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="PaintTransparentImage">PaintTransparentImage</a></h2>
2325 <div class="doc-section">
2327 <p>PaintTransparentImage() changes the opacity value associated with any pixel that matches color to the value defined by opacity.</p>
2329 <p>By default color must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. Fuzz 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.</p>
2331 <p>Deprecated, replace with:</p>
2334 TransparentPaintImage(image,target,opacity,MagickFalse);
2337 <p>The format of the PaintTransparentImage method is:</p>
2340 MagickBooleanType PaintTransparentImage(Image *image,
2341 const MagickPixelPacket *target,const Quantum opacity)
2344 <p>A description of each parameter follows:</p>
2350 <p>the RGB value of the target color.</p>
2353 <p>the replacement opacity value.</p>
2356 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="ParseSizeGeometry">ParseSizeGeometry</a></h2>
2357 <div class="doc-section">
2359 <p>ParseSizeGeometry() returns a region as defined by the geometry string with respect to the image dimensions and aspect ratio.</p>
2361 <p>Deprecated, replace with:</p>
2364 ParseMetaGeometry(geometry,®ion_info->x,®ion_info->y,
2365 ®ion_info->width,®ion_info->height);
2368 <p>The format of the ParseSizeGeometry method is:</p>
2371 MagickStatusType ParseSizeGeometry(const Image *image,
2372 const char *geometry,RectangeInfo *region_info)
2375 <p>A description of each parameter follows:</p>
2378 <p>The geometry (e.g. 100x100+10+10).</p>
2380 <h5>region_info</h5>
2381 <p>the region as defined by the geometry string.</p>
2384 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="PopImageList">PopImageList</a></h2>
2385 <div class="doc-section">
2387 <p>PopImageList() removes the last image in the list.</p>
2389 <p>Deprecated, replace with:</p>
2392 RemoveLastImageFromList(images);
2395 <p>The format of the PopImageList method is:</p>
2398 Image *PopImageList(Image **images)
2401 <p>A description of each parameter follows:</p>
2404 <p>the image list.</p>
2407 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="PopImagePixels">PopImagePixels</a></h2>
2408 <div class="doc-section">
2410 <p>PopImagePixels() transfers one or more pixel components from the image pixel cache to a user supplied buffer. The pixels are returned in network byte order. MagickTrue is returned if the pixels are successfully transferred, otherwise MagickFalse.</p>
2412 <p>The format of the PopImagePixels method is:</p>
2415 size_t PopImagePixels(Image *,const QuantumType quantum,
2416 unsigned char *destination)
2419 <p>A description of each parameter follows:</p>
2425 <p>Declare which pixel components to transfer (RGB, RGBA, etc).</p>
2427 <h5>destination</h5>
2428 <p>The components are transferred to this buffer.</p>
2431 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="PostscriptGeometry">PostscriptGeometry</a></h2>
2432 <div class="doc-section">
2434 <p>PostscriptGeometry() replaces any page mneumonic with the equivalent size in picas.</p>
2436 <p>Deprecated, replace with:</p>
2439 GetPageGeometry(page);
2442 <p>The format of the PostscriptGeometry method is:</p>
2445 char *PostscriptGeometry(const char *page)
2448 <p>A description of each parameter follows.</p>
2451 <p>Specifies a pointer to an array of characters. The string is either a Postscript page name (e.g. A4) or a postscript page geometry (e.g. 612x792+36+36).</p>
2454 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="PushImageList">PushImageList</a></h2>
2455 <div class="doc-section">
2457 <p>PushImageList() adds an image to the end of the list.</p>
2459 <p>Deprecated, replace with:</p>
2462 AppendImageToList(images,CloneImageList(image,exception));
2465 <p>The format of the PushImageList method is:</p>
2468 unsigned int PushImageList(Image *images,const Image *image,
2469 ExceptionInfo *exception)
2472 <p>A description of each parameter follows:</p>
2475 <p>the image list.</p>
2481 <p>return any errors or warnings in this structure.</p>
2484 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="PushImagePixels">PushImagePixels</a></h2>
2485 <div class="doc-section">
2487 <p>PushImagePixels() transfers one or more pixel components from a user supplied buffer into the image pixel cache of an image. The pixels are expected in network byte order. It returns MagickTrue if the pixels are successfully transferred, otherwise MagickFalse.</p>
2489 <p>The format of the PushImagePixels method is:</p>
2492 size_t PushImagePixels(Image *image,const QuantumType quantum,
2493 const unsigned char *source)
2496 <p>A description of each parameter follows:</p>
2502 <p>Declare which pixel components to transfer (red, green, blue, opacity, RGB, or RGBA).</p>
2505 <p>The pixel components are transferred from this buffer.</p>
2508 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="QuantizationError">QuantizationError</a></h2>
2509 <div class="doc-section">
2511 <p>QuantizationError() measures the difference between the original and quantized images. This difference is the total quantization error. The error is computed by summing over all pixels in an image the distance squared in RGB space between each reference pixel value and its quantized value. These values are computed:</p>
2514 o mean_error_per_pixel: This value is the mean error for any single
2518 <h5>normalized_mean_square_error</h5>
2519 <p>This value is the normalized mean quantization error for any single pixel in the image. This distance measure is normalized to a range between 0 and 1. It is independent of the range of red, green, and blue values in the image.</p>
2521 <h5>normalized_maximum_square_error</h5>
2522 <p>Thsi value is the normalized maximum quantization error for any single pixel in the image. This distance measure is normalized to a range between 0 and 1. It is independent of the range of red, green, and blue values in your image.</p>
2524 <p>Deprecated, replace with:</p>
2527 GetImageQuantizeError(image);
2530 <p>The format of the QuantizationError method is:</p>
2533 unsigned int QuantizationError(Image *image)
2536 <p>A description of each parameter follows.</p>
2539 <p>Specifies a pointer to an Image structure; returned from ReadImage.</p>
2542 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="RandomChannelThresholdImage">RandomChannelThresholdImage</a></h2>
2543 <div class="doc-section">
2545 <p>RandomChannelThresholdImage() changes the value of individual pixels based on the intensity of each pixel compared to a random threshold. The result is a low-contrast, two color image.</p>
2547 <p>The format of the RandomChannelThresholdImage method is:</p>
2550 unsigned int RandomChannelThresholdImage(Image *image,
2551 const char *channel, const char *thresholds,
2552 ExceptionInfo *exception)
2555 <p>A description of each parameter follows:</p>
2561 <p>the channel or channels to be thresholded.</p>
2564 <p>a geometry string containing LOWxHIGH thresholds. If the string contains 2x2, 3x3, or 4x4, then an ordered dither of order 2, 3, or 4 will be performed instead.</p>
2567 <p>return any errors or warnings in this structure.</p>
2570 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="ReacquireMemory">ReacquireMemory</a></h2>
2571 <div class="doc-section">
2573 <p>ReacquireMemory() changes the size of the memory and returns a pointer to the (possibly moved) block. The contents will be unchanged up to the lesser of the new and old sizes.</p>
2575 <p>The format of the ReacquireMemory method is:</p>
2578 void ReacquireMemory(void **memory,const size_t size)
2581 <p>A description of each parameter follows:</p>
2584 <p>A pointer to a memory allocation. On return the pointer may change but the contents of the original allocation will not.</p>
2587 <p>the new size of the allocated memory.</p>
2590 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="RecolorImage">RecolorImage</a></h2>
2591 <div class="doc-section">
2593 <p>RecolorImage() 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>
2595 <p>The format of the RecolorImage method is:</p>
2598 Image *RecolorImage(const Image *image,const size_t order,
2599 const double *color_matrix,ExceptionInfo *exception)
2602 <p>A description of each parameter follows:</p>
2608 <p>the number of columns and rows in the recolor matrix.</p>
2610 <h5>color_matrix</h5>
2611 <p>An array of double representing the recolor matrix.</p>
2614 <p>return any errors or warnings in this structure.</p>
2617 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="ReduceNoiseImage">ReduceNoiseImage</a></h2>
2618 <div class="doc-section">
2620 <p>ReduceNoiseImage() 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>
2622 <p>The format of the ReduceNoiseImage method is:</p>
2625 Image *ReduceNoiseImage(const Image *image,const double radius,
2626 ExceptionInfo *exception)
2629 <p>A description of each parameter follows:</p>
2635 <p>the radius of the pixel neighborhood.</p>
2638 <p>return any errors or warnings in this structure.</p>
2641 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="ResetImageAttributeIterator">ResetImageAttributeIterator</a></h2>
2642 <div class="doc-section">
2644 <p>ResetImageAttributeIterator() resets the image attributes iterator. Use it in conjunction with GetNextImageAttribute() to iterate over all the values associated with an image.</p>
2646 <p>Deprecated, replace with:</p>
2649 ResetImagePropertyIterator(image);
2652 <p>The format of the ResetImageAttributeIterator method is:</p>
2655 ResetImageAttributeIterator(const ImageInfo *image)
2658 <p>A description of each parameter follows:</p>
2664 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="SetCacheViewPixels">SetCacheViewPixels</a></h2>
2665 <div class="doc-section">
2667 <p>SetCacheViewPixels() gets pixels from the in-memory or disk pixel cache as defined by the geometry parameters. A pointer to the pixels is returned if the pixels are transferred, otherwise a NULL is returned.</p>
2669 <p>Deprecated, replace with:</p>
2672 QueueCacheViewAuthenticPixels(cache_view,x,y,columns,rows,
2673 GetCacheViewException(cache_view));
2676 <p>The format of the SetCacheViewPixels method is:</p>
2679 PixelPacket *SetCacheViewPixels(CacheView *cache_view,const ssize_t x,
2680 const ssize_t y,const size_t columns,const size_t rows)
2683 <p>A description of each parameter follows:</p>
2686 <p>the cache view.</p>
2688 <h5>x,y,columns,rows</h5>
2689 <p>These values define the perimeter of a region of pixels.</p>
2692 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="SetExceptionInfo">SetExceptionInfo</a></h2>
2693 <div class="doc-section">
2695 <p>SetExceptionInfo() sets the exception severity.</p>
2697 <p>The format of the SetExceptionInfo method is:</p>
2700 MagickBooleanType SetExceptionInfo(ExceptionInfo *exception,
2701 ExceptionType severity)
2704 <p>A description of each parameter follows:</p>
2707 <p>the exception info.</p>
2710 <p>the exception severity.</p>
2713 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="SetImage">SetImage</a></h2>
2714 <div class="doc-section">
2716 <p>SetImage() sets the red, green, and blue components of each pixel to the image background color and the opacity component to the specified level of transparency. The background color is defined by the background_color member of the image.</p>
2718 <p>The format of the SetImage method is:</p>
2721 void SetImage(Image *image,const Quantum opacity)
2724 <p>A description of each parameter follows:</p>
2730 <p>Set each pixel to this level of transparency.</p>
2733 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="SetImageAttribute">SetImageAttribute</a></h2>
2734 <div class="doc-section">
2736 <p>SetImageAttribute() searches the list of image attributes and replaces the attribute value. If it is not found in the list, the attribute name and value is added to the list.</p>
2738 <p>Deprecated, replace with:</p>
2741 SetImageProperty(image,key,value);
2744 <p>The format of the SetImageAttribute method is:</p>
2747 MagickBooleanType SetImageAttribute(Image *image,const char *key,
2751 <p>A description of each parameter follows:</p>
2763 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="SetImageList">SetImageList</a></h2>
2764 <div class="doc-section">
2766 <p>SetImageList() inserts an image into the list at the specified position.</p>
2768 <p>The format of the SetImageList method is:</p>
2771 unsigned int SetImageList(Image *images,const Image *image,
2772 const ssize_t offset,ExceptionInfo *exception)
2775 <p>A description of each parameter follows:</p>
2778 <p>the image list.</p>
2784 <p>the position within the list.</p>
2787 <p>return any errors or warnings in this structure.</p>
2790 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="SetImagePixels">SetImagePixels</a></h2>
2791 <div class="doc-section">
2793 <p>SetImagePixels() queues a mutable pixel region. If the region is successfully intialized a pointer to a PixelPacket array representing the region is returned, otherwise NULL is returned. The returned pointer may point to a temporary working buffer for the pixels or it may point to the final location of the pixels in memory.</p>
2795 <p>Write-only access means that any existing pixel values corresponding to the region are ignored. This useful while the initial image is being created from scratch, or if the existing pixel values are to be completely replaced without need to refer to their pre-existing values. The application is free to read and write the pixel buffer returned by SetImagePixels() any way it pleases. SetImagePixels() does not initialize the pixel array values. Initializing pixel array values is the application's responsibility.</p>
2797 <p>Performance is maximized if the selected region is part of one row, or one or more full rows, since then there is opportunity to access the pixels in-place (without a copy) if the image is in RAM, or in a memory-mapped file. The returned pointer should *never* be deallocated by the user.</p>
2799 <p>Pixels accessed via the returned pointer represent a simple array of type PixelPacket. If the image type is CMYK or the storage class is PseudoClass, call GetAuthenticIndexQueue() after invoking GetAuthenticPixels() to obtain the black color component or the colormap indexes (of type IndexPacket) corresponding to the region. Once the PixelPacket (and/or IndexPacket) array has been updated, the changes must be saved back to the underlying image using SyncAuthenticPixels() or they may be lost.</p>
2801 <p>Deprecated, replace with:</p>
2804 QueueAuthenticPixels(image,x,y,columns,rows,&image->exception);
2807 <p>The format of the SetImagePixels() method is:</p>
2810 PixelPacket *SetImagePixels(Image *image,const ssize_t x,const ssize_t y,
2811 const size_t columns,const size_t rows)
2814 <p>A description of each parameter follows:</p>
2817 <p>SetImagePixels returns a pointer to the pixels if they are transferred, otherwise a NULL is returned.</p>
2822 <h5>x,y,columns,rows</h5>
2823 <p>These values define the perimeter of a region of pixels.</p>
2826 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="SetMagickRegistry">SetMagickRegistry</a></h2>
2827 <div class="doc-section">
2829 <p>SetMagickRegistry() sets a blob into the registry and returns a unique ID. If an error occurs, -1 is returned.</p>
2831 <p>The format of the SetMagickRegistry method is:</p>
2834 ssize_t SetMagickRegistry(const RegistryType type,const void *blob,
2835 const size_t length,ExceptionInfo *exception)
2838 <p>A description of each parameter follows:</p>
2841 <p>the registry type.</p>
2844 <p>the address of a Binary Large OBject.</p>
2847 <p>For a registry type of ImageRegistryType use sizeof(Image) otherise the blob length in number of bytes.</p>
2850 <p>return any errors or warnings in this structure.</p>
2853 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="SetMonitorHandler">SetMonitorHandler</a></h2>
2854 <div class="doc-section">
2856 <p>SetMonitorHandler() sets the monitor handler to the specified method and returns the previous monitor handler.</p>
2858 <p>The format of the SetMonitorHandler method is:</p>
2861 MonitorHandler SetMonitorHandler(MonitorHandler handler)
2864 <p>A description of each parameter follows:</p>
2867 <p>Specifies a pointer to a method to handle monitors.</p>
2870 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="ShiftImageList">ShiftImageList</a></h2>
2871 <div class="doc-section">
2873 <p>ShiftImageList() removes an image from the beginning of the list.</p>
2875 <p>Deprecated, replace with:</p>
2878 RemoveFirstImageFromList(images);
2881 <p>The format of the ShiftImageList method is:</p>
2884 Image *ShiftImageList(Image **images)
2887 <p>A description of each parameter follows:</p>
2890 <p>the image list.</p>
2893 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="SpliceImageList">SpliceImageList</a></h2>
2894 <div class="doc-section">
2896 <p>SpliceImageList() removes the images designated by offset and length from the list and replaces them with the specified list.</p>
2898 <p>The format of the SpliceImageList method is:</p>
2901 Image *SpliceImageList(Image *images,const ssize_t offset,
2902 const size_t length,const Image *splices,
2903 ExceptionInfo *exception)
2906 <p>A description of each parameter follows:</p>
2909 <p>the image list.</p>
2912 <p>the position within the list.</p>
2915 <p>the length of the image list to remove.</p>
2918 <p>Replace the removed image list with this list.</p>
2921 <p>return any errors or warnings in this structure.</p>
2924 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="Strip">Strip</a></h2>
2925 <div class="doc-section">
2927 <p>Strip() strips any whitespace or quotes from the beginning and end of a string of characters.</p>
2929 <p>The format of the Strip method is:</p>
2932 void Strip(char *message)
2935 <p>A description of each parameter follows:</p>
2938 <p>Specifies an array of characters.</p>
2941 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="SyncCacheView">SyncCacheView</a></h2>
2942 <div class="doc-section">
2944 <p>SyncCacheView() saves the cache view pixels to the in-memory or disk cache. It returns MagickTrue if the pixel region is synced, otherwise MagickFalse.</p>
2946 <p>Deprecated, replace with:</p>
2949 SyncCacheViewAuthenticPixels(cache_view,GetCacheViewException(cache_view));
2952 <p>The format of the SyncCacheView method is:</p>
2955 MagickBooleanType SyncCacheView(CacheView *cache_view)
2958 <p>A description of each parameter follows:</p>
2961 <p>the cache view.</p>
2964 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="SyncCacheViewPixels">SyncCacheViewPixels</a></h2>
2965 <div class="doc-section">
2967 <p>SyncCacheViewPixels() saves the cache view pixels to the in-memory or disk cache. It returns MagickTrue if the pixel region is flushed, otherwise MagickFalse.</p>
2969 <p>Deprecated, replace with:</p>
2972 SyncCacheViewAuthenticPixels(cache_view,GetCacheViewException(cache_view));
2975 <p>The format of the SyncCacheViewPixels method is:</p>
2978 MagickBooleanType SyncCacheViewPixels(CacheView *cache_view)
2981 <p>A description of each parameter follows:</p>
2984 <p>the cache view.</p>
2987 <p>return any errors or warnings in this structure.</p>
2990 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="SyncImagePixels">SyncImagePixels</a></h2>
2991 <div class="doc-section">
2993 <p>SyncImagePixels() saves the image pixels to the in-memory or disk cache. The method returns MagickTrue if the pixel region is synced, otherwise MagickFalse.</p>
2995 <p>Deprecated, replace with:</p>
2998 SyncAuthenticPixels(image,&image->exception);
3001 <p>The format of the SyncImagePixels() method is:</p>
3004 MagickBooleanType SyncImagePixels(Image *image)
3007 <p>A description of each parameter follows:</p>
3013 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="TemporaryFilename">TemporaryFilename</a></h2>
3014 <div class="doc-section">
3016 <p>TemporaryFilename() replaces the contents of path by a unique path name.</p>
3018 <p>The format of the TemporaryFilename method is:</p>
3021 void TemporaryFilename(char *path)
3024 <p>A description of each parameter follows.</p>
3027 <p>Specifies a pointer to an array of characters. The unique path name is returned in this array.</p>
3030 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="ThresholdImage">ThresholdImage</a></h2>
3031 <div class="doc-section">
3033 <p>ThresholdImage() changes the value of individual pixels based on the intensity of each pixel compared to threshold. The result is a high-contrast, two color image.</p>
3035 <p>The format of the ThresholdImage method is:</p>
3038 unsigned int ThresholdImage(Image *image,const double threshold)
3041 <p>A description of each parameter follows:</p>
3047 <p>Define the threshold value</p>
3050 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="ThresholdImageChannel">ThresholdImageChannel</a></h2>
3051 <div class="doc-section">
3053 <p>ThresholdImageChannel() changes the value of individual pixels based on the intensity of each pixel channel. The result is a high-contrast image.</p>
3055 <p>The format of the ThresholdImageChannel method is:</p>
3058 unsigned int ThresholdImageChannel(Image *image,const char *threshold)
3061 <p>A description of each parameter follows:</p>
3067 <p>define the threshold values.</p>
3070 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="TransformHSL">TransformHSL</a></h2>
3071 <div class="doc-section">
3073 <p>TransformHSL() converts a (red, green, blue) to a (hue, saturation, lightness) triple.</p>
3075 <p>The format of the TransformHSL method is:</p>
3078 void TransformHSL(const Quantum red,const Quantum green,
3079 const Quantum blue,double *hue,double *saturation,double *lightness)
3082 <p>A description of each parameter follows:</p>
3084 <h5>red, green, blue</h5>
3085 <p>A Quantum value representing the red, green, and blue component of a pixel..</p>
3087 <h5>hue, saturation, lightness</h5>
3088 <p>A pointer to a double value representing a component of the HSL color space.</p>
3091 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="TranslateText">TranslateText</a></h2>
3092 <div class="doc-section">
3094 <p>TranslateText() replaces any embedded formatting characters with the appropriate image attribute and returns the translated text.</p>
3096 <p>Deprecated, replace with:</p>
3099 InterpretImageProperties(image_info,image,embed_text);
3102 <p>The format of the TranslateText method is:</p>
3105 char *TranslateText(const ImageInfo *image_info,Image *image,
3106 const char *embed_text)
3109 <p>A description of each parameter follows:</p>
3112 <p>the image info.</p>
3118 <p>the address of a character string containing the embedded formatting characters.</p>
3121 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="TransparentImage">TransparentImage</a></h2>
3122 <div class="doc-section">
3124 <p>TransparentImage() changes the opacity value associated with any pixel that matches color to the value defined by opacity.</p>
3126 <p>By default color must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. Fuzz 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.</p>
3128 <p>The format of the TransparentImage method is:</p>
3131 MagickBooleanType TransparentImage(Image *image,
3132 const PixelPacket target,const Quantum opacity)
3135 <p>A description of each parameter follows:</p>
3141 <p>the RGB value of the target color.</p>
3144 <p>the replacement opacity value.</p>
3147 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="UnshiftImageList">UnshiftImageList</a></h2>
3148 <div class="doc-section">
3150 <p>UnshiftImageList() adds the image to the beginning of the list.</p>
3152 <p>Deprecated, replace with:</p>
3155 PrependImageToList(images,CloneImageList(image,exception));
3158 <p>The format of the UnshiftImageList method is:</p>
3161 unsigned int UnshiftImageList(Image *images,const Image *image,
3162 ExceptionInfo *exception)
3165 <p>A description of each parameter follows:</p>
3168 <p>the image list.</p>
3174 <p>return any errors or warnings in this structure.</p>
3177 <h2><a href="http://www.imagemagick.org/api/MagickCore/deprecate_8c.html" id="ZoomImage">ZoomImage</a></h2>
3178 <div class="doc-section">
3180 <p>ZoomImage() creates a new image that is a scaled size of an existing one. It allocates the memory necessary for the new Image structure and returns a pointer to the new image. The Point filter gives fast pixel replication, Triangle is equivalent to bi-linear interpolation, and Mitchel giver slower, very high-quality results. See Graphic Gems III for details on this algorithm.</p>
3182 <p>The filter member of the Image structure specifies which image filter to use. Blur specifies the blur factor where > 1 is blurry, < 1 is sharp.</p>
3184 <p>The format of the ZoomImage method is:</p>
3187 Image *ZoomImage(const Image *image,const size_t columns,
3188 const size_t rows,ExceptionInfo *exception)
3191 <p>A description of each parameter follows:</p>
3197 <p>An integer that specifies the number of columns in the zoom image.</p>
3200 <p>An integer that specifies the number of rows in the scaled image.</p>
3203 <p>return any errors or warnings in this structure.</p>
3209 <div id="linkbar">
\r
3210 <span id="linkbar-west"> </span>
\r
3211 <span id="linkbar-center">
\r
3212 <a href="http://www.imagemagick.org/discourse-server/">Discourse Server</a> •
\r
3213 <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Studio</a>
\r
3215 <span id="linkbar-east"> </span>
\r
3217 <div class="footer">
\r
3218 <span id="footer-west">© 1999-2011 ImageMagick Studio LLC</span>
\r
3219 <span id="footer-east"> <a href="../http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>
\r
3221 <div style="clear: both; margin: 0; width: 100%; "></div>
\r
3222 <script type="text/javascript">
\r
3223 var _gaq = _gaq || [];
\r
3224 _gaq.push(['_setAccount', 'UA-17690367-1']);
\r
3225 _gaq.push(['_trackPageview']);
\r
3228 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
\r
3229 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
\r
3230 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
\r