blob: 26b7e6cbc39d0c6e3a06356e1b3384a8af325115 [file] [log] [blame]
Cristy594d2772015-11-15 10:47:42 -05001
2
3
4
cristy29dc8652015-05-12 16:26:21 +00005<!DOCTYPE html>
cristy44443b92015-05-05 00:06:07 +00006<html lang="en">
cristy06f63f22012-10-31 00:50:07 +00007<head>
Cristy594d2772015-11-15 10:47:42 -05008 <meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4" />
cristy29f2c972015-07-28 13:37:46 +00009 <title>ImageMagick: MagickCore, C API for ImageMagick: Get the Version and Copyrights</title>
Cristy594d2772015-11-15 10:47:42 -050010 <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:, 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"/>
Cristyce4a3552015-12-14 13:53:35 -050022 <meta name="copyright" content="Copyright (c) 1999-2015 ImageMagick Studio LLC"/>
Cristy594d2772015-11-15 10:47:42 -050023 <meta name="distribution" content="Global"/>
24 <meta name="magick-serial" content="P131-S030410-R485315270133-P82224-A6668-G1245-1"/>
25 <link rel="icon" href="../images/wand.png"/>
26 <link rel="shortcut icon" href="../images/wand.ico"/>
27 <link rel="stylesheet" href="../css/magick.html"/>
cristy06f63f22012-10-31 00:50:07 +000028</head>
cristy44443b92015-05-05 00:06:07 +000029<body>
cristy06f63f22012-10-31 00:50:07 +000030<div class="main">
cristy44443b92015-05-05 00:06:07 +000031<div class="magick-masthead">
32 <div class="container">
Cristye93be682015-11-26 09:07:51 -050033 <script async="async" src="http://localhost/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle"
Cristy594d2772015-11-15 10:47:42 -050034 style="display:block"
35 data-ad-client="ca-pub-3129977114552745"
36 data-ad-slot="6345125851"
37 data-ad-format="auto"></ins>
cristy29f2c972015-07-28 13:37:46 +000038 <script>
Cristy542697a2015-10-12 20:10:32 -040039 (adsbygoogle = window.adsbygoogle || []).push({});
cristy44443b92015-05-05 00:06:07 +000040 </script>
cristy44443b92015-05-05 00:06:07 +000041 <nav class="magick-nav">
cristy2f563d42015-05-06 23:36:51 +000042 <a class="magick-nav-item " href="../index.html">Home</a>
cristyea2793e2015-05-31 16:52:26 +000043 <a class="magick-nav-item " href="../binary-releases.html">Download</a>
cristy38185362015-05-07 20:09:56 +000044 <a class="magick-nav-item " href="../command-line-tools.html">Tools</a>
Cristye93be682015-11-26 09:07:51 -050045 <a class="magick-nav-item " href="../command-line-processing.html">Command-line</a>
cristyea2793e2015-05-31 16:52:26 +000046 <a class="magick-nav-item " href="../resources.html">Resources</a>
47 <a class="magick-nav-item " href="api.html">Develop</a>
cristy5b8fe762015-06-09 16:24:03 +000048 <a class="magick-nav-item " href="http://nextgen.imagemagick.org/script/search.php">Search</a>
cristya1890f02015-05-15 23:32:44 +000049 <a class="magick-nav-item pull-right" href="http://www.imagemagick.org/discourse-server/">Community</a>
cristy44443b92015-05-05 00:06:07 +000050 </nav>
51 </div>
52</div>
53<div class="container">
cristy4e638cd2015-05-07 16:47:40 +000054<div class="magick-header">
Cristy594d2772015-11-15 10:47:42 -050055<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>
cristy44443b92015-05-05 00:06:07 +000056
Cristye93be682015-11-26 09:07:51 -050057<h2><a href="http://www.imagemagick.org/api/MagickCore/version_8c.html" id="GetMagickCopyright">GetMagickCopyright</a></h2>
cristycecc9492015-06-09 16:53:50 +000058
59<p>GetMagickCopyright() returns the ImageMagick API copyright as a string.</p>
60
61<p>The format of the GetMagickCopyright method is:</p>
62
63<pre class="text">
64const char *GetMagickCopyright(void)
65</pre>
66
Cristye93be682015-11-26 09:07:51 -050067<h2><a href="http://www.imagemagick.org/api/MagickCore/version_8c.html" id="GetMagickDelegates">GetMagickDelegates</a></h2>
cristycecc9492015-06-09 16:53:50 +000068
69<p>GetMagickDelegates() returns the ImageMagick delegate libraries.</p>
70
71<p>The format of the GetMagickDelegates method is:</p>
72
73<pre class="text">
74const char *GetMagickDelegates(void)
75</pre>
76
77<p>No parameters are required.</p>
78
Cristye93be682015-11-26 09:07:51 -050079<h2><a href="http://www.imagemagick.org/api/MagickCore/version_8c.html" id="GetMagickFeatures">GetMagickFeatures</a></h2>
cristycecc9492015-06-09 16:53:50 +000080
81<p>GetMagickFeatures() returns the ImageMagick features.</p>
82
83<p>The format of the GetMagickFeatures method is:</p>
84
85<pre class="text">
86const char *GetMagickFeatures(void)
87</pre>
88
89<p>No parameters are required.</p>
90
Cristye93be682015-11-26 09:07:51 -050091<h2><a href="http://www.imagemagick.org/api/MagickCore/version_8c.html" id="GetMagickHomeURL">GetMagickHomeURL</a></h2>
cristycecc9492015-06-09 16:53:50 +000092
93<p>GetMagickHomeURL() returns the ImageMagick home URL.</p>
94
95<p>The format of the GetMagickHomeURL method is:</p>
96
97<pre class="text">
98char *GetMagickHomeURL(void)
99</pre>
100
Cristye93be682015-11-26 09:07:51 -0500101<h2><a href="http://www.imagemagick.org/api/MagickCore/version_8c.html" id="GetMagickLicense">GetMagickLicense</a></h2>
cristycecc9492015-06-09 16:53:50 +0000102
103<p>GetMagickLicense() returns the ImageMagick API license as a string.</p>
104
105<p>The format of the GetMagickLicense method is:</p>
106
107<pre class="text">
108const char *GetMagickLicense(void)
109</pre>
110
Cristye93be682015-11-26 09:07:51 -0500111<h2><a href="http://www.imagemagick.org/api/MagickCore/version_8c.html" id="GetMagickPackageName">GetMagickPackageName</a></h2>
cristycecc9492015-06-09 16:53:50 +0000112
113<p>GetMagickPackageName() returns the ImageMagick package name.</p>
114
115<p>The format of the GetMagickName method is:</p>
116
117<pre class="text">
118const char *GetMagickName(void)
119</pre>
120
121<p>No parameters are required.</p>
122
Cristye93be682015-11-26 09:07:51 -0500123<h2><a href="http://www.imagemagick.org/api/MagickCore/version_8c.html" id="GetMagickQuantumDepth">GetMagickQuantumDepth</a></h2>
cristycecc9492015-06-09 16:53:50 +0000124
125<p>GetMagickQuantumDepth() returns the ImageMagick quantum depth.</p>
126
127<p>The format of the GetMagickQuantumDepth method is:</p>
128
129<pre class="text">
130const char *GetMagickQuantumDepth(size_t *depth)
131</pre>
132
133<p>A description of each parameter follows:</p>
134
135<dd>
136</dd>
137
138<dd> </dd>
139<dl class="dl-horizontal">
140<dt>depth</dt>
141<dd>the quantum depth is returned as a number. </dd>
142
143<dd> </dd>
144</dl>
Cristye93be682015-11-26 09:07:51 -0500145<h2><a href="http://www.imagemagick.org/api/MagickCore/version_8c.html" id="GetMagickQuantumRange">GetMagickQuantumRange</a></h2>
cristycecc9492015-06-09 16:53:50 +0000146
147<p>GetMagickQuantumRange() returns the ImageMagick quantum range.</p>
148
149<p>The format of the GetMagickQuantumRange method is:</p>
150
151<pre class="text">
152const char *GetMagickQuantumRange(size_t *range)
153</pre>
154
155<p>A description of each parameter follows:</p>
156
157<dd>
158</dd>
159
160<dd> </dd>
161<dl class="dl-horizontal">
162<dt>range</dt>
163<dd>the quantum range is returned as a number. </dd>
164
165<dd> </dd>
166</dl>
Cristye93be682015-11-26 09:07:51 -0500167<h2><a href="http://www.imagemagick.org/api/MagickCore/version_8c.html" id="GetMagickReleaseDate">GetMagickReleaseDate</a></h2>
cristycecc9492015-06-09 16:53:50 +0000168
169<p>GetMagickReleaseDate() returns the ImageMagick release date.</p>
170
171<p>The format of the GetMagickReleaseDate method is:</p>
172
173<pre class="text">
174const char *GetMagickReleaseDate(void)
175</pre>
176
177<p>No parameters are required.</p>
178
Cristye93be682015-11-26 09:07:51 -0500179<h2><a href="http://www.imagemagick.org/api/MagickCore/version_8c.html" id="GetMagickSignature">GetMagickSignature</a></h2>
cristycecc9492015-06-09 16:53:50 +0000180
181<p>GetMagickSignature() returns a signature that uniquely encodes the MagickCore libary version, quantum depth, HDRI status, OS word size, and endianness.</p>
182
183<p>The format of the GetMagickSignature method is:</p>
184
185<pre class="text">
186unsigned int GetMagickSignature(const StringInfo *nonce)
187</pre>
188
189<p>A description of each parameter follows:</p>
190
191<dd>
192</dd>
193
194<dd> </dd>
195<dl class="dl-horizontal">
196<dt>nonce</dt>
197<dd>arbitrary data. </dd>
198
199<dd> </dd>
200</dl>
Cristye93be682015-11-26 09:07:51 -0500201<h2><a href="http://www.imagemagick.org/api/MagickCore/version_8c.html" id="GetMagickVersion">GetMagickVersion</a></h2>
cristycecc9492015-06-09 16:53:50 +0000202
203<p>GetMagickVersion() returns the ImageMagick API version as a string and as a number.</p>
204
205<p>The format of the GetMagickVersion method is:</p>
206
207<pre class="text">
208const char *GetMagickVersion(size_t *version)
209</pre>
210
211<p>A description of each parameter follows:</p>
212
213<dd>
214</dd>
215
216<dd> </dd>
217<dl class="dl-horizontal">
218<dt>version</dt>
219<dd>the ImageMagick version is returned as a number. </dd>
220
221<dd> </dd>
222</dl>
Cristye93be682015-11-26 09:07:51 -0500223<h2><a href="http://www.imagemagick.org/api/MagickCore/version_8c.html" id="ListMagickVersion">ListMagickVersion</a></h2>
cristycecc9492015-06-09 16:53:50 +0000224
225<p>ListMagickVersion() identifies the ImageMagick version by printing its attributes to the file. Attributes include the copyright, features, and delegates.</p>
226
227<p>The format of the ListMagickVersion method is:</p>
228
229<pre class="text">
230void ListMagickVersion(FILE *file)
231</pre>
232
233<p>A description of each parameter follows:</p>
234
235<dd>
236</dd>
237
238<dd> </dd>
239<dl class="dl-horizontal">
240<dt>file</dt>
241<dd>the file, typically stdout. </dd>
242
243<dd> </dd>
244</dl>
cristy06f63f22012-10-31 00:50:07 +0000245</div>
cristy44443b92015-05-05 00:06:07 +0000246 <footer class="magick-footer">
cristy29f2c972015-07-28 13:37:46 +0000247 <p><a href="../support.html">Donate</a>
248 <a href="../sitemap.html">Sitemap</a>
cristy38185362015-05-07 20:09:56 +0000249 <a href="../links.html">Related</a>
cristy29f2c972015-07-28 13:37:46 +0000250 <a href="../architecture.html">Architecture</a>
cristy44443b92015-05-05 00:06:07 +0000251</p>
252 <p><a href="version.html#">Back to top</a>
cristyea2793e2015-05-31 16:52:26 +0000253 <a href="http://pgp.mit.edu:11371/pks/lookup?op=get&amp;search=0x89AB63D48277377A">Public Key</a>
cristy5b8fe762015-06-09 16:24:03 +0000254 <a href="http://nextgen.imagemagick.org/script/contact.php">Contact Us</a></p>
Cristyce4a3552015-12-14 13:53:35 -0500255 <p><small>© 1999-2015 ImageMagick Studio LLC</small></p>
cristy44443b92015-05-05 00:06:07 +0000256 </footer>
257</div><!-- /.container -->
cristy06f63f22012-10-31 00:50:07 +0000258
Cristye93be682015-11-26 09:07:51 -0500259 <script src="https://localhost/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
cristy29f2c972015-07-28 13:37:46 +0000260 <script src="http://nextgen.imagemagick.org/js/magick.html"></script>
cristy44cbd482013-08-04 20:53:36 +0000261</div>
cristy06f63f22012-10-31 00:50:07 +0000262</body>
cristy5a367e42015-05-05 12:39:18 +0000263</html>