blob: 2d1259c88687554f864d5aa22d9a541aa3d95eb9 [file] [log] [blame]
cristy3ed852e2009-09-05 21:47:34 +00001/*
2 Copyright 1999-2009 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://www.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)
22extern "C" {
23#endif
24
25/*
26 Define declarations.
27*/
28#define MagickPackageName "@PACKAGE_NAME@"
29#define MagickCopyright "Copyright (C) 1999-2009 ImageMagick Studio LLC"
30#define MagickLibVersion @PACKAGE_LIB_VERSION@
31#define MagickLibVersionText "@MAGICK_LIB_VERSION_TEXT@"
32#define MagickLibVersionNumber @MAGICK_LIB_VERSION_NUMBER@
33#define MagickLibSubversion "@PACKAGE_LIB_SUBVERSION@"
34#define MagickReleaseDate "@PACKAGE_RELEASE_DATE@"
35#define MagickChangeDate "@PACKAGE_CHANGE_DATE@"
36#define MagickAuthoritativeURL "http://www.imagemagick.org"
37#define MagickHomeURL "file://@DOCUMENTATION_PATH@/index.html"
38#if (MAGICKCORE_QUANTUM_DEPTH == 8)
39#define MagickQuantumDepth "Q8"
40#define MagickQuantumRange "255"
41#elif (MAGICKCORE_QUANTUM_DEPTH == 16)
42#define MagickQuantumDepth "Q16"
43#define MagickQuantumRange "65535"
44#elif (MAGICKCORE_QUANTUM_DEPTH == 32)
45#define MagickQuantumDepth "Q32"
46#define MagickQuantumRange "4294967295"
47#elif (MAGICKCORE_QUANTUM_DEPTH == 64)
48#define MagickQuantumDepth "Q64"
49#define MagickQuantumRange "18446744073709551615"
50#else
51#define MagickQuantumDepth "Q?"
52#define MagickQuantumRange "?"
53#endif
54#if !defined(MAGICKCORE_HDRI_SUPPORT)
cristyb28d6472009-10-17 20:13:35 +000055#define MagickHDRIFeature ""
cristy3ed852e2009-09-05 21:47:34 +000056#else
cristyb28d6472009-10-17 20:13:35 +000057#define MagickHDRIFeature "HDRI "
cristy3ed852e2009-09-05 21:47:34 +000058#endif
cristyb28d6472009-10-17 20:13:35 +000059#if !defined(MAGICKCORE_OPENMP_SUPPORT)
60#define MagickOPENMPFeature ""
cristy3ed852e2009-09-05 21:47:34 +000061#else
cristyb28d6472009-10-17 20:13:35 +000062#define MagickOPENMPFeature "OpenMP "
cristy3ed852e2009-09-05 21:47:34 +000063#endif
cristyb28d6472009-10-17 20:13:35 +000064#if !defined(MAGICKCORE_OPENCL_SUPPORT)
65#define MagickOPENCLFeature ""
66#else
67#define MagickOPENCLFeature "OpenCL "
68#endif
69#define MagickFeatures \
70 MagickHDRIFeature MagickOPENMPFeature MagickOPENCLFeature
71#define MagickVersion \
72 MagickPackageName " " MagickLibVersionText MagickLibSubversion " " \
73 MagickReleaseDate " " MagickQuantumDepth " " MagickAuthoritativeURL
cristy3ed852e2009-09-05 21:47:34 +000074
75extern MagickExport char
76 *GetMagickHomeURL(void);
77
78extern MagickExport const char
79 *GetMagickCopyright(void),
cristy45e4eaa2009-10-20 00:47:58 +000080 *GetMagickFeatures(void),
cristy3ed852e2009-09-05 21:47:34 +000081 *GetMagickPackageName(void),
82 *GetMagickQuantumDepth(unsigned long *),
83 *GetMagickQuantumRange(unsigned long *),
84 *GetMagickReleaseDate(void),
85 *GetMagickVersion(unsigned long *);
86
87#if defined(__cplusplus) || defined(c_plusplus)
88}
89#endif
90
91#endif