version.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1" />
  6. <title>ImageMagick – MagickCore, C API: Get the Version and Copyrights</title>
  7. <meta name="application-name" content="ImageMagick" />
  8. <meta name="description" content="" />
  9. <meta name="application-url" content="https://imagemagick.org" />
  10. <meta name="generator" content="PHP" />
  11. <meta name="keywords" content="magickcore, c, api:, get, the, version, copyrights, image processing software" />
  12. <meta name="rating" content="GENERAL" />
  13. <meta name="robots" content="INDEX, FOLLOW" />
  14. <meta name="generator" content="ImageMagick Studio LLC" />
  15. <meta name="author" content="ImageMagick Studio LLC" />
  16. <meta name="revisit-after" content="2 DAYS" />
  17. <meta name="resource-type" content="document" />
  18. <meta name="copyright" content="Copyright (c) 1999 ImageMagick Studio LLC" />
  19. <meta name="distribution" content="Global" />
  20. <meta name="magick-serial" content="P131-S030410-R485315270133-P82224-A6668-G1245-1" />
  21. <meta property='og:url' content='../../' />
  22. <meta property='og:title' content='ImageMagick' />
  23. <meta property='og:image' content='../../../images/logo.png' />
  24. <meta property='og:type' content='website' />
  25. <meta property='og:site_name' content='ImageMagick' />
  26. <meta property='og:description' content="Create, Edit, Compose, or Convert Digital Images" />
  27. <meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4" />
  28. <link href="version.html" rel="canonical" />
  29. <link href="../../../images/wand.png" rel="icon" />
  30. <link href="../../../images/wand.ico" rel="shortcut icon" />
  31. <link href="../../assets/magick.css" rel="stylesheet" />
  32. </head>
  33. <body>
  34. <nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
  35. <div class="container-fluid">
  36. <a class="navbar-brand" href="../../"><img class="d-block" id="icon" alt="ImageMagick" width="32" height="32" src="../../../images/wand.ico"/></a>
  37. <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#magick-navbars" aria-controls="magick-navbars" aria-expanded="false" aria-label="Toggle navigation">
  38. <span class="navbar-toggler-icon"></span>
  39. </button>
  40. <div class="collapse navbar-collapse" id="magick-navbars">
  41. <ul class="navbar-nav me-auto mb-2 mb-md-0">
  42. <li class="nav-item">
  43. <a class="nav-link " href="../../www/download.html">Download</a>
  44. </li>
  45. <li class="nav-item">
  46. <a class="nav-link " href="../../www/command-line-tools.html">Tools</a>
  47. </li>
  48. <li class="nav-item">
  49. <a class="nav-link " href="../../www/command-line-processing.html">CLI</a>
  50. </li>
  51. <li class="nav-item">
  52. <a class="nav-link " href="../../www/develop.html">Develop</a>
  53. </li>
  54. <li class="nav-item">
  55. <a class="nav-link" target="_blank" href="https://github.com/ImageMagick/ImageMagick/discussions">Community</a>
  56. </li>
  57. <li class="nav-item">
  58. <iframe src="https://github.com/sponsors/ImageMagick/button" title="Sponsor ImageMagick" height="35" width="107" style="border: 0;"></iframe>
  59. </li>
  60. </ul>
  61. <form class="d-flex form-inline" action="https://imagemagick.org/script/search.php">
  62. <input class="form-control me-2" type="text" name="q" placeholder="Search" aria-label="Search">
  63. <button class="btn btn-outline-success" type="submit" name="sa">Search</button>
  64. </form>
  65. </div>
  66. </div>
  67. </nav>
  68. <div class="container">
  69. <script async="async" src="https://localhost/pagead/js/adsbygoogle.js"></script>
  70. <ins class="adsbygoogle"
  71. style="display:block"
  72. data-ad-client="ca-pub-3129977114552745"
  73. data-ad-slot="6345125851"
  74. data-full-width-responsive="true"
  75. data-ad-format="horizontal"></ins>
  76. <script>
  77. (adsbygoogle = window.adsbygoogle || []).push({});
  78. </script>
  79. </div>
  80. <main class="container">
  81. <div class="magick-template">
  82. <br/>
  83. <div class="btn-group">
  84. <button class="btn btn-secondary dropdown-toggle" type="button" id="defaultDropdown" data-bs-toggle="dropdown" data-bs-auto-close="true" aria-expanded="false">
  85. Select API Method
  86. </button>
  87. <ul class="dropdown-menu pre-scrollable" aria-labelledby="defaultDropdown">
  88. <li><a href="version.html#GetMagickCopyright">GetMagickCopyright</a></li>
  89. <li><a href="version.html#GetMagickDelegates">GetMagickDelegates</a></li>
  90. <li><a href="version.html#GetMagickFeatures">GetMagickFeatures</a></li>
  91. <li><a href="version.html#GetMagickHomeURL">GetMagickHomeURL</a></li>
  92. <li><a href="version.html#GetMagickLicense">GetMagickLicense</a></li>
  93. <li><a href="version.html#GetMagickPackageName">GetMagickPackageName</a></li>
  94. <li><a href="version.html#GetMagickQuantumDepth">GetMagickQuantumDepth</a></li>
  95. <li><a href="version.html#GetMagickQuantumRange">GetMagickQuantumRange</a></li>
  96. <li><a href="version.html#GetMagickReleaseDate">GetMagickReleaseDate</a></li>
  97. <li><a href="version.html#GetMagickSignature">GetMagickSignature</a></li>
  98. <li><a href="version.html#GetMagickVersion">GetMagickVersion</a></li>
  99. </ul>
  100. </div>
  101. <br/>
  102. <br/>
  103. <div class="magick-header">
  104. <h2><a href="../../api/MagickCore/version_8c.html" id="GetMagickCopyright">GetMagickCopyright</a></h2>
  105. <p>GetMagickCopyright() returns the ImageMagick API copyright as a string.</p>
  106. <p>The format of the GetMagickCopyright method is:</p>
  107. <pre class="bg-light text-dark mx-4"><samp>const char *GetMagickCopyright(void)
  108. </samp></pre>
  109. <h2><a href="../../api/MagickCore/version_8c.html" id="GetMagickDelegates">GetMagickDelegates</a></h2>
  110. <p>GetMagickDelegates() returns the ImageMagick delegate libraries.</p>
  111. <p>The format of the GetMagickDelegates method is:</p>
  112. <pre class="bg-light text-dark mx-4"><samp>const char *GetMagickDelegates(void)
  113. </samp></pre>
  114. <p>No parameters are required.</p>
  115. <h2><a href="../../api/MagickCore/version_8c.html" id="GetMagickFeatures">GetMagickFeatures</a></h2>
  116. <p>GetMagickFeatures() returns the ImageMagick features.</p>
  117. <p>The format of the GetMagickFeatures method is:</p>
  118. <pre class="bg-light text-dark mx-4"><samp>const char *GetMagickFeatures(void)
  119. </samp></pre>
  120. <p>No parameters are required.</p>
  121. <h2><a href="../../api/MagickCore/version_8c.html" id="GetMagickHomeURL">GetMagickHomeURL</a></h2>
  122. <p>GetMagickHomeURL() returns the ImageMagick home URL.</p>
  123. <p>The format of the GetMagickHomeURL method is:</p>
  124. <pre class="bg-light text-dark mx-4"><samp>char *GetMagickHomeURL(void)
  125. </samp></pre>
  126. <h2><a href="../../api/MagickCore/version_8c.html" id="GetMagickLicense">GetMagickLicense</a></h2>
  127. <p>GetMagickLicense() returns the ImageMagick API license as a string.</p>
  128. <p>The format of the GetMagickLicense method is:</p>
  129. <pre class="bg-light text-dark mx-4"><samp>const char *GetMagickLicense(void)
  130. </samp></pre>
  131. <h2><a href="../../api/MagickCore/version_8c.html" id="GetMagickPackageName">GetMagickPackageName</a></h2>
  132. <p>GetMagickPackageName() returns the ImageMagick package name.</p>
  133. <p>The format of the GetMagickName method is:</p>
  134. <pre class="bg-light text-dark mx-4"><samp>const char *GetMagickName(void)
  135. </samp></pre>
  136. <p>No parameters are required.</p>
  137. <h2><a href="../../api/MagickCore/version_8c.html" id="GetMagickQuantumDepth">GetMagickQuantumDepth</a></h2>
  138. <p>GetMagickQuantumDepth() returns the ImageMagick quantum depth.</p>
  139. <p>The format of the GetMagickQuantumDepth method is:</p>
  140. <pre class="bg-light text-dark mx-4"><samp>const char *GetMagickQuantumDepth(size_t *depth)
  141. </samp></pre>
  142. <p>A description of each parameter follows:</p>
  143. <dd>
  144. </dd>
  145. <dd> </dd>
  146. <dl class="dl-horizontal">
  147. <dt>depth</dt>
  148. <dd>the quantum depth is returned as a number. </dd>
  149. <dd> </dd>
  150. </dl>
  151. <h2><a href="../../api/MagickCore/version_8c.html" id="GetMagickQuantumRange">GetMagickQuantumRange</a></h2>
  152. <p>GetMagickQuantumRange() returns the ImageMagick quantum range.</p>
  153. <p>The format of the GetMagickQuantumRange method is:</p>
  154. <pre class="bg-light text-dark mx-4"><samp>const char *GetMagickQuantumRange(size_t *range)
  155. </samp></pre>
  156. <p>A description of each parameter follows:</p>
  157. <dd>
  158. </dd>
  159. <dd> </dd>
  160. <dl class="dl-horizontal">
  161. <dt>range</dt>
  162. <dd>the quantum range is returned as a number. </dd>
  163. <dd> </dd>
  164. </dl>
  165. <h2><a href="../../api/MagickCore/version_8c.html" id="GetMagickReleaseDate">GetMagickReleaseDate</a></h2>
  166. <p>GetMagickReleaseDate() returns the ImageMagick release date.</p>
  167. <p>The format of the GetMagickReleaseDate method is:</p>
  168. <pre class="bg-light text-dark mx-4"><samp>const char *GetMagickReleaseDate(void)
  169. </samp></pre>
  170. <p>No parameters are required.</p>
  171. <h2><a href="../../api/MagickCore/version_8c.html" id="GetMagickSignature">GetMagickSignature</a></h2>
  172. <p>GetMagickSignature() returns a signature that uniquely encodes the MagickCore library version, quantum depth, HDRI status, OS word size, channel type, and endianness.</p>
  173. <p>The format of the GetMagickSignature method is:</p>
  174. <pre class="bg-light text-dark mx-4"><samp>unsigned int GetMagickSignature(const StringInfo *nonce)
  175. </samp></pre>
  176. <p>A description of each parameter follows:</p>
  177. <dd>
  178. </dd>
  179. <dd> </dd>
  180. <dl class="dl-horizontal">
  181. <dt>nonce</dt>
  182. <dd>arbitrary data. </dd>
  183. <dd> </dd>
  184. </dl>
  185. <h2><a href="../../api/MagickCore/version_8c.html" id="GetMagickVersion">GetMagickVersion</a></h2>
  186. <p>GetMagickVersion() returns the ImageMagick API version as a string and as a number.</p>
  187. <p>The format of the GetMagickVersion method is:</p>
  188. <pre class="bg-light text-dark mx-4"><samp>const char *GetMagickVersion(size_t *version)
  189. </samp></pre>
  190. <p>A description of each parameter follows:</p>
  191. <dd>
  192. </dd>
  193. <dd> </dd>
  194. <dl class="dl-horizontal">
  195. <dt>version</dt>
  196. <dd>the ImageMagick version is returned as a number. </dd>
  197. <dd> </dd>
  198. </dl>
  199. <h2><a href="../../api/MagickCore/version_8c.html" id="ListMagickVersion">ListMagickVersion</a></h2>
  200. <p>ListMagickVersion() identifies the ImageMagick version by printing its attributes to the file. Attributes include the copyright, features, and delegates.</p>
  201. <p>The format of the ListMagickVersion method is:</p>
  202. <pre class="bg-light text-dark mx-4"><samp>void ListMagickVersion(FILE *file)
  203. </samp></pre>
  204. <p>A description of each parameter follows:</p>
  205. <dd>
  206. </dd>
  207. <dd> </dd>
  208. <dl class="dl-horizontal">
  209. <dt>file</dt>
  210. <dd>the file, typically stdout. </dd>
  211. <dd> </dd>
  212. </dl>
  213. </div>
  214. </div>
  215. </main><!-- /.container -->
  216. <footer class="magick-footer">
  217. <div class="container-fluid">
  218. <a href="../../www/security-policy.html">Security</a> •
  219. <a href="../../www/news.html">News</a>
  220. <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>
  221. <a href="../../www/links.html">Related</a> •
  222. <a href="../../www/sitemap.html">Sitemap</a>
  223. <br/>
  224. <a href="../../www/support.html">Sponsor</a> •
  225. <a href="../../www/cite.html">Cite</a> •
  226. <a href="http://pgp.mit.edu/pks/lookup?op=get&amp;search=0x89AB63D48277377A">Public Key</a> •
  227. <a href="../../www/contact.html">Contact Us</a>
  228. <br/>
  229. <a href="https://github.com/imagemagick/imagemagick" target="_blank" rel="noopener" aria-label="GitHub"><svg xmlns="http://www.w3.org/2000/svg" class="navbar-nav-svg" viewBox="0 0 512 499.36" width="2%" height="2%" role="img" focusable="false"><title>GitHub</title><path fill="currentColor" fill-rule="evenodd" d="M256 0C114.64 0 0 114.61 0 256c0 113.09 73.34 209 175.08 242.9 12.8 2.35 17.47-5.56 17.47-12.34 0-6.08-.22-22.18-.35-43.54-71.2 15.49-86.2-34.34-86.2-34.34-11.64-29.57-28.42-37.45-28.42-37.45-23.27-15.84 1.73-15.55 1.73-15.55 25.69 1.81 39.21 26.38 39.21 26.38 22.84 39.12 59.92 27.82 74.5 21.27 2.33-16.54 8.94-27.82 16.25-34.22-56.84-6.43-116.6-28.43-116.6-126.49 0-27.95 10-50.8 26.35-68.69-2.63-6.48-11.42-32.5 2.51-67.75 0 0 21.49-6.88 70.4 26.24a242.65 242.65 0 0 1 128.18 0c48.87-33.13 70.33-26.24 70.33-26.24 14 35.25 5.18 61.27 2.55 67.75 16.41 17.9 26.31 40.75 26.31 68.69 0 98.35-59.85 120-116.88 126.32 9.19 7.9 17.38 23.53 17.38 47.41 0 34.22-.31 61.83-.31 70.23 0 6.85 4.61 14.81 17.6 12.31C438.72 464.97 512 369.08 512 256.02 512 114.62 397.37 0 256 0z"/></svg></a> •
  230. <a href="https://twitter.com/imagemagick" target="_blank" rel="noopener" aria-label="Twitter"><svg xmlns="http://www.w3.org/2000/svg" class="navbar-nav-svg" viewBox="0 0 300 300" width="2%" height="2%" role="img" focusable="false"><title>Twitter</title><path d="M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"/></svg></a>
  231. <br/>
  232. <small>Copyright © 1999 ImageMagick Studio LLC</small>
  233. </div>
  234. </footer>
  235. <!-- Javascript assets -->
  236. <script src="../../assets/magick.js" ></script>
  237. </body>
  238. </html>