• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2   Copyright 1999-2019 ImageMagick Studio LLC, a non-profit organization
3   dedicated to making software imaging solutions freely available.
4 
5   You may not use this file except in compliance with the License.
6   obtain a copy of the License at
7 
8     http://imagemagick.org/script/license.php
9 
10   Unless required by applicable law or agreed to in writing, software
11   distributed under the License is distributed on an "AS IS" BASIS,
12   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   See the License for the specific language governing permissions and
14   limitations under the License.
15 
16   MagickCore version methods.
17 */
18 #ifndef _MAGICKCORE_VERSION_H
19 #define _MAGICKCORE_VERSION_H
20 
21 #if defined(__cplusplus) || defined(c_plusplus)
22 extern "C" {
23 #endif
24 
25 /*
26   Define declarations.
27 */
28 #define MagickPackageName "ImageMagick"
29 #define MagickCopyright  "© 1999-2019 ImageMagick Studio LLC"
30 #define MagickLibVersion  0x708
31 #define MagickLibVersionText  "7.0.8"
32 #define MagickLibVersionNumber  6,0,0
33 #define MagickLibAddendum  "-32"
34 #define MagickLibInterface  6
35 #define MagickLibMinInterface  6
36 #if defined(_WINDOWS)
37 #  if defined(_WIN64)
38 #    define MagickPlatform "x64"
39 #  else
40 #    define MagickPlatform "x86"
41 #  endif
42 #else
43 #define MagickPlatform  "i686"
44 #endif
45 #define MagickppLibVersionText  "7.0.8"
46 #define MagickppLibVersionNumber  4:0:0
47 #define MagickppLibAddendum  "-32"
48 #define MagickppLibInterface  4
49 #define MagickppLibMinInterface  4
50 #define MagickReleaseDate  "2019-03-07"
51 #define MagickAuthoritativeLicense  \
52   "https://imagemagick.org/script/license.php"
53 #define MagickAuthoritativeURL  "https://imagemagick.org"
54 #define MagickHomeURL  "file:///usr/local/share/doc/ImageMagick-7/index.html"
55 #if (MAGICKCORE_QUANTUM_DEPTH == 8)
56 #define MagickQuantumDepth  "Q8"
57 #define MagickQuantumRange  "255"
58 #elif (MAGICKCORE_QUANTUM_DEPTH == 16)
59 #define MagickQuantumDepth  "Q16"
60 #define MagickQuantumRange  "65535"
61 #elif (MAGICKCORE_QUANTUM_DEPTH == 32)
62 #define MagickQuantumDepth  "Q32"
63 #define MagickQuantumRange  "4294967295"
64 #elif (MAGICKCORE_QUANTUM_DEPTH == 64)
65 #define MagickQuantumDepth  "Q64"
66 #define MagickQuantumRange  "65535"
67 #else
68 #define MagickQuantumDepth  "Q?"
69 #define MagickQuantumRange  "?"
70 #endif
71 #define MagickVersion  \
72   MagickPackageName " " MagickLibVersionText MagickLibAddendum " " \
73   MagickQuantumDepth " " MagickPlatform " " MagickReleaseDate " " \
74   MagickAuthoritativeURL
75 
76 extern MagickExport char
77   *GetMagickHomeURL(void);
78 
79 extern MagickExport const char
80   *GetMagickCopyright(void) magick_attribute((__const__)),
81   *GetMagickDelegates(void) magick_attribute((__const__)),
82   *GetMagickFeatures(void) magick_attribute((__const__)),
83   *GetMagickLicense(void) magick_attribute((__const__)),
84   *GetMagickPackageName(void) magick_attribute((__const__)),
85   *GetMagickQuantumDepth(size_t *),
86   *GetMagickQuantumRange(size_t *),
87   *GetMagickReleaseDate(void) magick_attribute((__const__)),
88   *GetMagickVersion(size_t *);
89 
90 extern MagickExport void
91   ListMagickVersion(FILE *);
92 
93 #if defined(__cplusplus) || defined(c_plusplus)
94 }
95 #endif
96 
97 #endif
98