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