• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2
3
4
5<!DOCTYPE html>
6<html lang="en">
7<head>
8  <meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4" />
9    <title>ImageMagick: MagickCore, C API for ImageMagick: The Image Registry</title>
10  <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
11  <meta name="application-name" content="ImageMagick"/>
12  <meta name="description" content="ImageMagick® is a software suite to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, JPEG-2000, GIF, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves."/>
13  <meta name="application-url" content="http://www.imagemagick.org"/>
14  <meta name="generator" content="PHP"/>
15  <meta name="keywords" content="magickcore, c, api, for, imagemagick:, the, image, registry, ImageMagick, PerlMagick, image processing, image, photo, software, Magick++, OpenMP, convert"/>
16  <meta name="rating" content="GENERAL"/>
17  <meta name="robots" content="INDEX, FOLLOW"/>
18  <meta name="generator" content="ImageMagick Studio LLC"/>
19  <meta name="author" content="ImageMagick Studio LLC"/>
20  <meta name="revisit-after" content="2 DAYS"/>
21  <meta name="resource-type" content="document"/>
22  <meta name="copyright" content="Copyright (c) 1999-2016 ImageMagick Studio LLC"/>
23  <meta name="distribution" content="Global"/>
24  <meta name="magick-serial" content="P131-S030410-R485315270133-P82224-A6668-G1245-1"/>
25  <link rel="icon" href="../image/wand.png"/>
26  <link rel="shortcut icon" href="../image/wand.ico"/>
27  <link rel="stylesheet" href="../css/magick.php"/>
28</head>
29<body>
30<div class="main">
31<div class="magick-masthead">
32  <div class="container">
33    <script async="async" src="http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>    <ins class="adsbygoogle"
34         style="display:block"
35         data-ad-client="ca-pub-3129977114552745"
36         data-ad-slot="6345125851"
37         data-ad-format="auto"></ins>
38    <script>
39      (adsbygoogle = window.adsbygoogle || []).push({});
40    </script>
41    <nav class="magick-nav">
42      <a class="magick-nav-item " href="../index.php">Home</a>
43      <a class="magick-nav-item " href="../script/binary-releases.php">Download</a>
44      <a class="magick-nav-item " href="../script/command-line-tools.php">Tools</a>
45      <a class="magick-nav-item " href="../script/command-line-options.php">Options</a>
46      <a class="magick-nav-item " href="../script/resources.php">Resources</a>
47      <a class="magick-nav-item " href="../script/api.php">Develop</a>
48      <a class="magick-nav-item " href="../script/search.php">Search</a>
49      <a class="magick-nav-item pull-right" href="http://www.imagemagick.org/discourse-server/">Community</a>
50    </nav>
51  </div>
52</div>
53<div class="container">
54<div class="magick-header">
55<p class="text-center"><a href="registry.php#DefineImageRegistry">DefineImageRegistry</a> &bull; <a href="registry.php#DeleteImageRegistry">DeleteImageRegistry</a> &bull; <a href="registry.php#GetImageRegistry">GetImageRegistry</a> &bull; <a href="registry.php#GetNextImageRegistry">GetNextImageRegistry</a> &bull; <a href="registry.php#RegistryComponentTerminus">RegistryComponentTerminus</a> &bull; <a href="registry.php#RemoveImageRegistry">RemoveImageRegistry</a> &bull; <a href="registry.php#ResetImageRegistryIterator">ResetImageRegistryIterator</a> &bull; <a href="registry.php#SetImageRegistry">SetImageRegistry</a></p>
56
57<h2><a href="http://nextgen.imagemagick.org/api/MagickCore/registry_8c.html" id="DefineImageRegistry">DefineImageRegistry</a></h2>
58
59<p>DefineImageRegistry() associates a key/value pair with the image registry.</p>
60
61<p>The format of the DefineImageRegistry method is:</p>
62
63<pre class="text">
64MagickBooleanType DefineImageRegistry(const RegistryType type,
65  const char *option,ExceptionInfo *exception)
66</pre>
67
68<p>A description of each parameter follows:</p>
69
70<dd>
71</dd>
72
73<dd> </dd>
74<dl class="dl-horizontal">
75<dt>type</dt>
76<dd>the type. </dd>
77
78<dd> </dd>
79<dt>option</dt>
80<dd>the option. </dd>
81
82<dd> </dd>
83<dt>exception</dt>
84<dd>the exception. </dd>
85
86<dd>  </dd>
87</dl>
88<h2><a href="http://nextgen.imagemagick.org/api/MagickCore/registry_8c.html" id="DeleteImageRegistry">DeleteImageRegistry</a></h2>
89
90<p>DeleteImageRegistry() deletes a key from the image registry.</p>
91
92<p>The format of the DeleteImageRegistry method is:</p>
93
94<pre class="text">
95MagickBooleanType DeleteImageRegistry(const char *key)
96</pre>
97
98<p>A description of each parameter follows:</p>
99
100<dd>
101</dd>
102
103<dd> </dd>
104<dl class="dl-horizontal">
105<dt>key</dt>
106<dd>the registry. </dd>
107
108<dd>  </dd>
109</dl>
110<h2><a href="http://nextgen.imagemagick.org/api/MagickCore/registry_8c.html" id="GetImageRegistry">GetImageRegistry</a></h2>
111
112<p>GetImageRegistry() returns a value associated with an image registry key.</p>
113
114<p>The format of the GetImageRegistry method is:</p>
115
116<pre class="text">
117void *GetImageRegistry(const RegistryType type,const char *key,
118  ExceptionInfo *exception)
119</pre>
120
121<p>A description of each parameter follows:</p>
122
123<dd>
124</dd>
125
126<dd> </dd>
127<dl class="dl-horizontal">
128<dt>type</dt>
129<dd>the type. </dd>
130
131<dd> </dd>
132<dt>key</dt>
133<dd>the key. </dd>
134
135<dd> </dd>
136<dt>exception</dt>
137<dd>the exception. </dd>
138
139<dd>  </dd>
140</dl>
141<h2><a href="http://nextgen.imagemagick.org/api/MagickCore/registry_8c.html" id="GetNextImageRegistry">GetNextImageRegistry</a></h2>
142
143<p>GetNextImageRegistry() gets the next image registry value.</p>
144
145<p>The format of the GetNextImageRegistry method is:</p>
146
147<pre class="text">
148char *GetNextImageRegistry(void)
149</pre>
150
151<h2><a href="http://nextgen.imagemagick.org/api/MagickCore/registry_8c.html" id="RegistryComponentTerminus">RegistryComponentTerminus</a></h2>
152
153<p>RegistryComponentTerminus() destroys the registry component.</p>
154
155<p>The format of the DestroyDefines method is:</p>
156
157<pre class="text">
158void RegistryComponentTerminus(void)
159</pre>
160
161<h2><a href="http://nextgen.imagemagick.org/api/MagickCore/registry_8c.html" id="RemoveImageRegistry">RemoveImageRegistry</a></h2>
162
163<p>RemoveImageRegistry() removes a key from the image registry and returns its value.</p>
164
165<p>The format of the RemoveImageRegistry method is:</p>
166
167<pre class="text">
168void *RemoveImageRegistry(const char *key)
169</pre>
170
171<p>A description of each parameter follows:</p>
172
173<dd>
174</dd>
175
176<dd> </dd>
177<dl class="dl-horizontal">
178<dt>key</dt>
179<dd>the registry. </dd>
180
181<dd>  </dd>
182</dl>
183<h2><a href="http://nextgen.imagemagick.org/api/MagickCore/registry_8c.html" id="ResetImageRegistryIterator">ResetImageRegistryIterator</a></h2>
184
185<p>ResetImageRegistryIterator() resets the registry iterator.  Use it in conjunction with GetNextImageRegistry() to iterate over all the values in the image registry.</p>
186
187<p>The format of the ResetImageRegistryIterator method is:</p>
188
189<pre class="text">
190ResetImageRegistryIterator(void)
191</pre>
192
193<h2><a href="http://nextgen.imagemagick.org/api/MagickCore/registry_8c.html" id="SetImageRegistry">SetImageRegistry</a></h2>
194
195<p>SetImageRegistry() associates a value with an image registry key.</p>
196
197<p>The format of the SetImageRegistry method is:</p>
198
199<pre class="text">
200MagickBooleanType SetImageRegistry(const RegistryType type,
201  const char *key,const void *value,ExceptionInfo *exception)
202</pre>
203
204<p>A description of each parameter follows:</p>
205
206<dd>
207</dd>
208
209<dd> </dd>
210<dl class="dl-horizontal">
211<dt>type</dt>
212<dd>the type. </dd>
213
214<dd> </dd>
215<dt>key</dt>
216<dd>the key. </dd>
217
218<dd> </dd>
219<dt>value</dt>
220<dd>the value. </dd>
221
222<dd> </dd>
223<dt>exception</dt>
224<dd>the exception. </dd>
225
226<dd>  </dd>
227</dl>
228</div>
229  <footer class="magick-footer">
230    <p><a href="../script/support.php">Donate</a> •
231     <a href="../script/sitemap.php">Sitemap</a> •
232    <a href="../script/links.php">Related</a> •
233    <a href="../script/architecture.php">Architecture</a>
234</p>
235    <p><a href="registry.php#">Back to top</a> •
236    <a href="http://pgp.mit.edu:11371/pks/lookup?op=get&amp;search=0x89AB63D48277377A">Public Key</a> •
237    <a href="../script/contact.php">Contact Us</a></p>
238        <p><small>©  1999-2016 ImageMagick Studio LLC</small></p>
239  </footer>
240</div><!-- /.container -->
241
242  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
243  <script src="http://nextgen.imagemagick.org/js/magick.php"></script>
244</div>
245</body>
246</html>
247