• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2
3
4
5<!DOCTYPE html>
6<html lang="en">
7<head>
8  <meta charset="utf-8"  />
9  <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1,shrink-to-fit=no"  />
10  <title>MagickCore, C API: Get the Version and Copyrights @ ImageMagick</title>
11  <meta name="application-name" content="ImageMagick" />
12  <meta name="description" content="Use ImageMagick® to create, edit, compose, or convert bitmap images. You can resize your image, crop it, change its shades and colors, add captions, among other operations." />
13  <meta name="application-url" content="https://imagemagick.org" />
14  <meta name="generator" content="PHP" />
15  <meta name="keywords" content="magickcore, c, api:, get, the, version, copyrights, 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-2019 ImageMagick Studio LLC" />
23  <meta name="distribution" content="Global" />
24  <meta name="magick-serial" content="P131-S030410-R485315270133-P82224-A6668-G1245-1" />
25  <meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4" />
26  <link href="version.html" rel="canonical" />
27  <link href="../../images/wand.png" rel="icon" />
28  <link href="../../images/wand.ico" rel="shortcut icon" />
29  <link href="../assets/magick.css" rel="stylesheet" />
30</head>
31<body>
32  <header>
33  <nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
34    <a class="navbar-brand" href="../../"><img class="d-block" id="icon" alt="ImageMagick" width="32" height="32" src="../../images/wand.ico"/></a>
35    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsMagick" aria-controls="navbarsMagick" aria-expanded="false" aria-label="Toggle navigation">
36      <span class="navbar-toggler-icon"></span>
37    </button>
38
39    <div class="navbar-collapse collapse" id="navbarsMagick" style="">
40    <ul class="navbar-nav mr-auto">
41      <li class="nav-item ">
42        <a class="nav-link" href="quantize.html">Home <span class="sr-only">(current)</span></a>
43      </li>
44      <li class="nav-item ">
45        <a class="nav-link" href="../../www/download.html">Download</a>
46      </li>
47      <li class="nav-item ">
48        <a class="nav-link" href="../../www/command-line-tools.html">Tools</a>
49      </li>
50      <li class="nav-item ">
51        <a class="nav-link" href="../../www/command-line-processing.html">Command-line</a>
52      </li>
53      <li class="nav-item ">
54        <a class="nav-link" href="../../www/resources.html">Resources</a>
55      </li>
56      <li class="nav-item ">
57        <a class="nav-link" href="../../www/develop.html">Develop</a>
58      </li>
59      <li class="nav-item">
60        <a class="nav-link" target="_blank" href="https://imagemagick.org/discourse-server/">Community</a>
61      </li>
62    </ul>
63    <form class="form-inline my-2 my-lg-0" action="https://imagemagick.org/script/search.php">
64      <input class="form-control mr-sm-2" type="text" name="q" placeholder="Search" aria-label="Search">
65      <button class="btn btn-outline-success my-2 my-sm-0" type="submit" name="sa">Search</button>
66    </form>
67    </div>
68  </nav>
69  <div class="container">
70   <script async="async" src="https://localhost/pagead/js/adsbygoogle.js"></script>    <ins class="adsbygoogle"
71         style="display:block"
72         data-ad-client="ca-pub-3129977114552745"
73         data-ad-slot="6345125851"
74         data-ad-format="auto"></ins>
75    <script>
76      (adsbygoogle = window.adsbygoogle || []).push({});
77    </script>
78
79  </div>
80  </header>
81  <main class="container">
82    <div class="magick-template">
83<div class="magick-header">
84<p class="text-center"><a href="version.html#GetMagickCopyright">GetMagickCopyright</a> &#8226; <a href="version.html#GetMagickDelegates">GetMagickDelegates</a> &#8226; <a href="version.html#GetMagickFeatures">GetMagickFeatures</a> &#8226; <a href="version.html#GetMagickHomeURL">GetMagickHomeURL</a> &#8226; <a href="version.html#GetMagickLicense">GetMagickLicense</a> &#8226; <a href="version.html#GetMagickPackageName">GetMagickPackageName</a> &#8226; <a href="version.html#GetMagickQuantumDepth">GetMagickQuantumDepth</a> &#8226; <a href="version.html#GetMagickQuantumRange">GetMagickQuantumRange</a> &#8226; <a href="version.html#GetMagickReleaseDate">GetMagickReleaseDate</a> &#8226; <a href="version.html#GetMagickSignature">GetMagickSignature</a> &#8226; <a href="version.html#GetMagickVersion">GetMagickVersion</a> &#8226; <a href="version.html#ListMagickVersion">ListMagickVersion</a></p>
85
86<h2><a href="../../api/MagickCore/version_8c.html" id="GetMagickCopyright">GetMagickCopyright</a></h2>
87
88<p>GetMagickCopyright() returns the ImageMagick API copyright as a string.</p>
89
90<p>The format of the GetMagickCopyright method is:</p>
91
92<pre class="text">
93const char *GetMagickCopyright(void)
94</pre>
95
96<h2><a href="../../api/MagickCore/version_8c.html" id="GetMagickDelegates">GetMagickDelegates</a></h2>
97
98<p>GetMagickDelegates() returns the ImageMagick delegate libraries.</p>
99
100<p>The format of the GetMagickDelegates method is:</p>
101
102<pre class="text">
103const char *GetMagickDelegates(void)
104</pre>
105
106<p>No parameters are required.</p>
107
108<h2><a href="../../api/MagickCore/version_8c.html" id="GetMagickFeatures">GetMagickFeatures</a></h2>
109
110<p>GetMagickFeatures() returns the ImageMagick features.</p>
111
112<p>The format of the GetMagickFeatures method is:</p>
113
114<pre class="text">
115const char *GetMagickFeatures(void)
116</pre>
117
118<p>No parameters are required.</p>
119
120<h2><a href="../../api/MagickCore/version_8c.html" id="GetMagickHomeURL">GetMagickHomeURL</a></h2>
121
122<p>GetMagickHomeURL() returns the ImageMagick home URL.</p>
123
124<p>The format of the GetMagickHomeURL method is:</p>
125
126<pre class="text">
127char *GetMagickHomeURL(void)
128</pre>
129
130<h2><a href="../../api/MagickCore/version_8c.html" id="GetMagickLicense">GetMagickLicense</a></h2>
131
132<p>GetMagickLicense() returns the ImageMagick API license as a string.</p>
133
134<p>The format of the GetMagickLicense method is:</p>
135
136<pre class="text">
137const char *GetMagickLicense(void)
138</pre>
139
140<h2><a href="../../api/MagickCore/version_8c.html" id="GetMagickPackageName">GetMagickPackageName</a></h2>
141
142<p>GetMagickPackageName() returns the ImageMagick package name.</p>
143
144<p>The format of the GetMagickName method is:</p>
145
146<pre class="text">
147const char *GetMagickName(void)
148</pre>
149
150<p>No parameters are required.</p>
151
152<h2><a href="../../api/MagickCore/version_8c.html" id="GetMagickQuantumDepth">GetMagickQuantumDepth</a></h2>
153
154<p>GetMagickQuantumDepth() returns the ImageMagick quantum depth.</p>
155
156<p>The format of the GetMagickQuantumDepth method is:</p>
157
158<pre class="text">
159const char *GetMagickQuantumDepth(size_t *depth)
160</pre>
161
162<p>A description of each parameter follows:</p>
163
164<dd>
165</dd>
166
167<dd> </dd>
168<dl class="dl-horizontal">
169<dt>depth</dt>
170<dd>the quantum depth is returned as a number. </dd>
171
172<dd>  </dd>
173</dl>
174<h2><a href="../../api/MagickCore/version_8c.html" id="GetMagickQuantumRange">GetMagickQuantumRange</a></h2>
175
176<p>GetMagickQuantumRange() returns the ImageMagick quantum range.</p>
177
178<p>The format of the GetMagickQuantumRange method is:</p>
179
180<pre class="text">
181const char *GetMagickQuantumRange(size_t *range)
182</pre>
183
184<p>A description of each parameter follows:</p>
185
186<dd>
187</dd>
188
189<dd> </dd>
190<dl class="dl-horizontal">
191<dt>range</dt>
192<dd>the quantum range is returned as a number. </dd>
193
194<dd>  </dd>
195</dl>
196<h2><a href="../../api/MagickCore/version_8c.html" id="GetMagickReleaseDate">GetMagickReleaseDate</a></h2>
197
198<p>GetMagickReleaseDate() returns the ImageMagick release date.</p>
199
200<p>The format of the GetMagickReleaseDate method is:</p>
201
202<pre class="text">
203const char *GetMagickReleaseDate(void)
204</pre>
205
206<p>No parameters are required.</p>
207
208<h2><a href="../../api/MagickCore/version_8c.html" id="GetMagickSignature">GetMagickSignature</a></h2>
209
210<p>GetMagickSignature() returns a signature that uniquely encodes the MagickCore libary version, quantum depth, HDRI status, OS word size, and endianness.</p>
211
212<p>The format of the GetMagickSignature method is:</p>
213
214<pre class="text">
215unsigned int GetMagickSignature(const StringInfo *nonce)
216</pre>
217
218<p>A description of each parameter follows:</p>
219
220<dd>
221</dd>
222
223<dd> </dd>
224<dl class="dl-horizontal">
225<dt>nonce</dt>
226<dd>arbitrary data. </dd>
227
228<dd>  </dd>
229</dl>
230<h2><a href="../../api/MagickCore/version_8c.html" id="GetMagickVersion">GetMagickVersion</a></h2>
231
232<p>GetMagickVersion() returns the ImageMagick API version as a string and as a number.</p>
233
234<p>The format of the GetMagickVersion method is:</p>
235
236<pre class="text">
237const char *GetMagickVersion(size_t *version)
238</pre>
239
240<p>A description of each parameter follows:</p>
241
242<dd>
243</dd>
244
245<dd> </dd>
246<dl class="dl-horizontal">
247<dt>version</dt>
248<dd>the ImageMagick version is returned as a number. </dd>
249
250<dd>  </dd>
251</dl>
252<h2><a href="../../api/MagickCore/version_8c.html" id="ListMagickVersion">ListMagickVersion</a></h2>
253
254<p>ListMagickVersion() identifies the ImageMagick version by printing its attributes to the file.  Attributes include the copyright, features, and delegates.</p>
255
256<p>The format of the ListMagickVersion method is:</p>
257
258<pre class="text">
259void ListMagickVersion(FILE *file)
260</pre>
261
262<p>A description of each parameter follows:</p>
263
264<dd>
265</dd>
266
267<dd> </dd>
268<dl class="dl-horizontal">
269<dt>file</dt>
270<dd>the file, typically stdout. </dd>
271
272<dd>  </dd>
273</dl>
274</div>
275    </div>
276  </main><!-- /.container -->
277  <footer class="magick-footer">
278    <p><a href="../../www/security-policy.html">Security</a> •
279    <a href="../../www/architecture.html">Architecture</a> •
280    <a href="../../www/links.html">Related</a> •
281     <a href="../../www/sitemap.html">Sitemap</a>
282
283    <a href="version.html#"><img class="d-inline" id="wand" alt="And Now a Touch of Magick" width="16" height="16" src="../../images/wand.ico"/></a>
284
285    <a href="http://pgp.mit.edu/pks/lookup?op=get&amp;search=0x89AB63D48277377A">Public Key</a> •
286    <a href="../../www/support.html">Donate</a> •
287    <a href="../../www/contact.html">Contact Us</a>
288    <br/>
289    <small>© 1999-2019 ImageMagick Studio LLC</small></p>
290  </footer>
291
292  <!-- Javascript assets -->
293  <script src="../assets/magick.js" crossorigin="anonymous"></script>
294  <script>window.jQuery || document.write('<script src="https://localhost/ajax/libs/jquery/3.3.1/jquery.min.js"><\/script>')</script>
295</body>
296</html>
297<!-- Magick Cache 4th January 2019 19:50 -->