1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3 <html version="-//W3C//DTD XHTML 1.1//EN"
4 xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
5 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6 xsi:schemaLocation="http://www.w3.org/1999/xhtml
7 http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd">
9 <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
10 <meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4"/>
11 <title>ImageMagick: MagickCore, C API for ImageMagick: The Image Registry</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 or transform images automagically."/>
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:, the, image, registry, ImageMagick, PerlMagick, image processing, OpenMP, software development library, image, photo, software, Magick++, MagickWand"/>
20 <meta name="rating" content="GENERAL"/>
21 <meta name="robots" content="INDEX, FOLLOW"/>
22 <meta name="generator" content="ImageMagick Studio LLC"/>
23 <meta name="author" content="ImageMagick Studio LLC"/>
24 <meta name="revisit-after" content="2 DAYS"/>
25 <meta name="resource-type" content="document"/>
26 <meta name="copyright" content="Copyright (c) 1999-2012 ImageMagick Studio LLC"/>
27 <meta name="distribution" content="Global"/>
28 <link rel="icon" href="../../images/wand.png"/>
29 <link rel="shortcut icon" href="../../images/wand.ico" type="images/x-icon"/>
30 <link rel="canonical" href="../../index.html" />
31 <link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf"/>
33 <!-- Add jQuery library -->
34 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
36 <!-- Add mousewheel plugin (this is optional) -->
37 <script type="text/javascript" src="http://www.imagemagick.org/fancybox/lib/jquery.mousewheel-3.0.6.pack.js"></script>
40 <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/source/jquery.fancybox.css?v=2.0.6" type="text/css" media="screen" />
41 <script type="text/javascript" src="http://www.imagemagick.org/fancybox/source/jquery.fancybox.pack.js?v=2.0.6"></script>
43 <!-- Optionally add helpers - button, thumbnail and/or media -->
44 <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/source/helpers/jquery.fancybox-buttons.css?v=1.0.2" type="text/css" media="screen" />
45 <script type="text/javascript" src="http://www.imagemagick.org/fancybox/source/helpers/jquery.fancybox-buttons.js?v=1.0.2"></script>
46 <script type="text/javascript" src="http://www.imagemagick.org/fancybox/source/helpers/jquery.fancybox-media.js?v=1.0.0"></script>
48 <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/source/helpers/jquery.fancybox-thumbs.css?v=2.0.6" type="text/css" media="screen" />
49 <script type="text/javascript" src="http://www.imagemagick.org/fancybox/source/helpers/jquery.fancybox-thumbs.js?v=2.0.6"></script>
51 <script type="text/javascript">
52 $(document).ready(function() {
53 $(".fancybox").fancybox();
57 <!-- ImageMagick style -->
58 <style type="text/css" media="all">
59 @import url("../../www/magick.css");
63 <body id="www-imagemagick-org">
66 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
67 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
68 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
69 })(window,document,'offline-script','//www.google-analytics.com/analytics.js','ga');
71 ga('create', 'UA-40133312-1', 'imagemagick.org');
72 ga('send', 'pageview');
75 <div class="titlebar">
76 <div style="margin: 17px auto; float: left;">
77 <script type="text/javascript">
79 google_ad_client = "pub-3129977114552745";
80 google_ad_slot = "5439289906";
81 google_ad_width = 728;
82 google_ad_height = 90;
85 <script type="text/javascript"
86 src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
89 <a href="../../discourse-server">
90 <img src="../../images/logo.jpg"
91 alt="ImageMagick Logo"
92 style="width: 123px; height: 118px; border: 0px; float: right;" /></a>
93 <a href="../../index.html">
94 <img src="../../images/sprite.jpg"
95 alt="ImageMagick Sprite"
96 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
102 <a title="About ImageMagick" href="../../index.html">About ImageMagick</a>
105 <a title="Binary Releases" href="../../www/binary-releases.html">Binary Releases</a>
108 <a title="Binary Release: Unix" href="../../www/binary-releases.html#unix">Unix</a>
111 <a title="Binary Release: MacOS X" href="../../www/binary-releases.html#macosx">Mac OS X</a>
114 <a title="Binary Release: iOS" href="../../www/binary-releases.html#iOS">iOS</a>
117 <a title="Binary Release: Windows" href="../../www/binary-releases.html#windows">Windows</a>
119 <div class="sep"></div>
121 <a title="Command-line Tools" href="../../www/command-line-tools.html">Command-line Tools</a>
124 <a title="Command-line Tools: Processing" href="../../www/command-line-processing.html">Processing</a>
127 <a title="Command-line Tools: Options" href="../../www/command-line-options.html">Options</a>
130 <a title="Command-line Tools: Usage" href="http://www.imagemagick.org/Usage/">Usage</a>
133 <a title="Program Interfaces" href="../../www/api.html">Program Interfaces</a>
136 <a title="Program Interface: MagickWand" href="../../www/magick-wand.html">MagickWand</a>
139 <a title="Program Interface: MagickCore" href="../../www/magick-core.html">MagickCore</a>
142 <a title="Program Interface: PerlMagick" href="../../www/perl-magick.html">PerlMagick</a>
145 <a title="Program Interface: Magick++" href="../../www/magick++.html">Magick++</a>
147 <div class="sep"></div>
149 <a title="Install from Source" href="../../www/install-source.html">Install from Source</a>
152 <a title="Install from Source: Unix" href="../../www/install-source.html#unix">Unix</a>
155 <a title="Install from Source: Windows" href="../../www/install-source.html#windows">Windows</a>
158 <a title="Resources" href="../../www/resources.html">Resources</a>
161 <a title="Architecture" href="../../www/architecture.html">Architecture</a>
164 <a title="Download" href="../../www/download.html">Download</a>
166 <div class="sep"></div>
168 <a title="Search" href="http://www.imagemagick.org/script/search.php">Search</a>
170 <div class="sep"></div>
172 <a title="Site Map" href="../../www/sitemap.html">Site Map</a>
175 <a title="Site Map: Links" href="../../www/links.html">Links</a>
177 <div class="sep"></div>
179 <a title="Support ImageMagick Development" href="../../www/support.html">Support ImageMagick Development</a>
183 <div class="eastbar">
184 <script type="text/javascript">
187 var po = document.createElement('offline-script'), t = document.getElementsByTagName('offline-script')[0];
188 po.type = 'text/javascript';
190 po.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
191 var script = document.getElementsByTagName('offline-script')[0];
192 script.parentNode.insertBefore(po, script);
196 <div> <a class="FlattrButton" style="display:none;" rev="flattr;button:compact;" href="../../index.html"></a></div>
198 <a href="http://flattr.com/thing/947300/Convert-Edit-And-Compose-Images" target="_blank">
199 <img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" width="93" height="20" border="0" /></a>
201 <div class="g-plusone" id="gplusone"></div>
202 <script type="text/javascript">
209 var po = document.createElement('offline-script');
210 po.type = 'text/javascript';
212 po.src = 'https://apis.google.com/js/plusone.js';
213 var script = document.getElementsByTagName('offline-script')[0];
214 script.parentNode.insertBefore(po, script);
216 var gplusone = document.getElementById("gplusone");
217 gplusone.setAttribute("data-size","medium");
218 gplusone.setAttribute("data-count","true");
225 <h1>Module registry Methods</h1>
226 <p class="navigation-index">[<a href="registry.html#DefineImageRegistry">DefineImageRegistry</a> • <a href="registry.html#DeleteImageRegistry">DeleteImageRegistry</a> • <a href="registry.html#GetImageRegistry">GetImageRegistry</a> • <a href="registry.html#GetNextImageRegistry">GetNextImageRegistry</a> • <a href="registry.html#RegistryComponentTerminus">RegistryComponentTerminus</a> • <a href="registry.html#RemoveImageRegistry">RemoveImageRegistry</a> • <a href="registry.html#ResetImageRegistryIterator">ResetImageRegistryIterator</a> • <a href="registry.html#SetImageRegistry">SetImageRegistry</a>]</p>
228 <h2><a href="http://www.imagemagick.org/api/MagickCore/registry_8c.html" id="DefineImageRegistry">DefineImageRegistry</a></h2>
229 <div class="doc-section">
231 <p>DefineImageRegistry() associates a key/value pair with the image registry.</p>
233 <p>The format of the DefineImageRegistry method is:</p>
236 MagickBooleanType DefineImageRegistry(const RegistryType type,
237 const char *option,ExceptionInfo *exception)
240 <p>A description of each parameter follows:</p>
249 <p>the exception.</p>
252 <h2><a href="http://www.imagemagick.org/api/MagickCore/registry_8c.html" id="DeleteImageRegistry">DeleteImageRegistry</a></h2>
253 <div class="doc-section">
255 <p>DeleteImageRegistry() deletes a key from the image registry.</p>
257 <p>The format of the DeleteImageRegistry method is:</p>
260 MagickBooleanType DeleteImageRegistry(const char *key)
263 <p>A description of each parameter follows:</p>
269 <h2><a href="http://www.imagemagick.org/api/MagickCore/registry_8c.html" id="GetImageRegistry">GetImageRegistry</a></h2>
270 <div class="doc-section">
272 <p>GetImageRegistry() returns a value associated with an image registry key.</p>
274 <p>The format of the GetImageRegistry method is:</p>
277 void *GetImageRegistry(const RegistryType type,const char *key,
278 ExceptionInfo *exception)
281 <p>A description of each parameter follows:</p>
290 <p>the exception.</p>
293 <h2><a href="http://www.imagemagick.org/api/MagickCore/registry_8c.html" id="GetNextImageRegistry">GetNextImageRegistry</a></h2>
294 <div class="doc-section">
296 <p>GetNextImageRegistry() gets the next image registry value.</p>
298 <p>The format of the GetNextImageRegistry method is:</p>
301 char *GetNextImageRegistry(void)
305 <h2><a href="http://www.imagemagick.org/api/MagickCore/registry_8c.html" id="RegistryComponentTerminus">RegistryComponentTerminus</a></h2>
306 <div class="doc-section">
308 <p>RegistryComponentTerminus() destroys the registry component.</p>
310 <p>The format of the DestroyDefines method is:</p>
313 void RegistryComponentTerminus(void)
317 <h2><a href="http://www.imagemagick.org/api/MagickCore/registry_8c.html" id="RemoveImageRegistry">RemoveImageRegistry</a></h2>
318 <div class="doc-section">
320 <p>RemoveImageRegistry() removes a key from the image registry and returns its value.</p>
322 <p>The format of the RemoveImageRegistry method is:</p>
325 void *RemoveImageRegistry(const char *key)
328 <p>A description of each parameter follows:</p>
334 <h2><a href="http://www.imagemagick.org/api/MagickCore/registry_8c.html" id="ResetImageRegistryIterator">ResetImageRegistryIterator</a></h2>
335 <div class="doc-section">
337 <p>ResetImageRegistryIterator() resets the registry iterator. Use it in conjunction with GetNextImageRegistry() to iterate over all the values in the image registry.</p>
339 <p>The format of the ResetImageRegistryIterator method is:</p>
342 ResetImageRegistryIterator(void)
346 <h2><a href="http://www.imagemagick.org/api/MagickCore/registry_8c.html" id="SetImageRegistry">SetImageRegistry</a></h2>
347 <div class="doc-section">
349 <p>SetImageRegistry() associates a value with an image registry key.</p>
351 <p>The format of the SetImageRegistry method is:</p>
354 MagickBooleanType SetImageRegistry(const RegistryType type,
355 const char *key,const void *value,ExceptionInfo *exception)
358 <p>A description of each parameter follows:</p>
370 <p>the exception.</p>
377 <span id="linkbar-west"> </span>
379 <span id="linkbar-center">
380 <a href="http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x89AB63D48277377A">Public Key</a> •
381 <a href="../../discourse-server">Discourse Server</a> •
382 <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Studio</a> •
383 <a href="http://jqmagick.imagemagick.org/">JqMagick</a>
385 <span id="linkbar-east"> </span>
388 <span id="footer-west">© 1999-2013 ImageMagick Studio LLC</span>
389 <span id="footer-east"> <a href="../../www/contact.html">Contact the Wizards</a></span>
391 <div style="clear: both; margin: 0; width: 100%; "></div>