Home | History | Annotate | Download | only in api
      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: Get the Version and Copyrights</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 Bzier 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"/>
     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="version.php#GetMagickCopyright">GetMagickCopyright</a> &bull; <a href="version.php#GetMagickDelegates">GetMagickDelegates</a> &bull; <a href="version.php#GetMagickFeatures">GetMagickFeatures</a> &bull; <a href="version.php#GetMagickHomeURL">GetMagickHomeURL</a> &bull; <a href="version.php#GetMagickLicense">GetMagickLicense</a> &bull; <a href="version.php#GetMagickPackageName">GetMagickPackageName</a> &bull; <a href="version.php#GetMagickQuantumDepth">GetMagickQuantumDepth</a> &bull; <a href="version.php#GetMagickQuantumRange">GetMagickQuantumRange</a> &bull; <a href="version.php#GetMagickReleaseDate">GetMagickReleaseDate</a> &bull; <a href="version.php#GetMagickSignature">GetMagickSignature</a> &bull; <a href="version.php#GetMagickVersion">GetMagickVersion</a> &bull; <a href="version.php#ListMagickVersion">ListMagickVersion</a></p>
     56 
     57 <h2><a href="http://nextgen.imagemagick.org/api/MagickCore/version_8c.html" id="GetMagickCopyright">GetMagickCopyright</a></h2>
     58 
     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">
     64 const char *GetMagickCopyright(void)
     65 </pre>
     66 
     67 <h2><a href="http://nextgen.imagemagick.org/api/MagickCore/version_8c.html" id="GetMagickDelegates">GetMagickDelegates</a></h2>
     68 
     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">
     74 const char *GetMagickDelegates(void)
     75 </pre>
     76 
     77 <p>No parameters are required.</p>
     78 
     79 <h2><a href="http://nextgen.imagemagick.org/api/MagickCore/version_8c.html" id="GetMagickFeatures">GetMagickFeatures</a></h2>
     80 
     81 <p>GetMagickFeatures() returns the ImageMagick features.</p>
     82 
     83 <p>The format of the GetMagickFeatures method is:</p>
     84 
     85 <pre class="text">
     86 const char *GetMagickFeatures(void)
     87 </pre>
     88 
     89 <p>No parameters are required.</p>
     90 
     91 <h2><a href="http://nextgen.imagemagick.org/api/MagickCore/version_8c.html" id="GetMagickHomeURL">GetMagickHomeURL</a></h2>
     92 
     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">
     98 char *GetMagickHomeURL(void)
     99 </pre>
    100 
    101 <h2><a href="http://nextgen.imagemagick.org/api/MagickCore/version_8c.html" id="GetMagickLicense">GetMagickLicense</a></h2>
    102 
    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">
    108 const char *GetMagickLicense(void)
    109 </pre>
    110 
    111 <h2><a href="http://nextgen.imagemagick.org/api/MagickCore/version_8c.html" id="GetMagickPackageName">GetMagickPackageName</a></h2>
    112 
    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">
    118 const char *GetMagickName(void)
    119 </pre>
    120 
    121 <p>No parameters are required.</p>
    122 
    123 <h2><a href="http://nextgen.imagemagick.org/api/MagickCore/version_8c.html" id="GetMagickQuantumDepth">GetMagickQuantumDepth</a></h2>
    124 
    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">
    130 const 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>
    145 <h2><a href="http://nextgen.imagemagick.org/api/MagickCore/version_8c.html" id="GetMagickQuantumRange">GetMagickQuantumRange</a></h2>
    146 
    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">
    152 const 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>
    167 <h2><a href="http://nextgen.imagemagick.org/api/MagickCore/version_8c.html" id="GetMagickReleaseDate">GetMagickReleaseDate</a></h2>
    168 
    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">
    174 const char *GetMagickReleaseDate(void)
    175 </pre>
    176 
    177 <p>No parameters are required.</p>
    178 
    179 <h2><a href="http://nextgen.imagemagick.org/api/MagickCore/version_8c.html" id="GetMagickSignature">GetMagickSignature</a></h2>
    180 
    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">
    186 unsigned 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>
    201 <h2><a href="http://nextgen.imagemagick.org/api/MagickCore/version_8c.html" id="GetMagickVersion">GetMagickVersion</a></h2>
    202 
    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">
    208 const 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>
    223 <h2><a href="http://nextgen.imagemagick.org/api/MagickCore/version_8c.html" id="ListMagickVersion">ListMagickVersion</a></h2>
    224 
    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">
    230 void 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>
    245 </div>
    246   <footer class="magick-footer">
    247     <p><a href="../script/support.php">Donate</a> 
    248      <a href="../script/sitemap.php">Sitemap</a> 
    249     <a href="../script/links.php">Related</a> 
    250     <a href="../script/architecture.php">Architecture</a>
    251 </p>
    252     <p><a href="version.php#">Back to top</a> 
    253     <a href="http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x89AB63D48277377A">Public Key</a> 
    254     <a href="../script/contact.php">Contact Us</a></p>
    255         <p><small>  1999-2016 ImageMagick Studio LLC</small></p>
    256   </footer>
    257 </div><!-- /.container -->
    258 
    259   <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
    260   <script src="http://nextgen.imagemagick.org/js/magick.php"></script>
    261 </div>
    262 </body>
    263 </html>
    264