blob: a20f2fa317b4c798439023fc399740d5da4a9fd6 [file] [log] [blame]
cristy3ed852e2009-09-05 21:47:34 +00001/*
cristy16af1cb2009-12-11 21:38:29 +00002 Copyright 1999-2010 ImageMagick Studio LLC, a non-profit organization
cristy3ed852e2009-09-05 21:47:34 +00003 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 "ImageMagick"
cristy16af1cb2009-12-11 21:38:29 +000029#define MagickCopyright "Copyright (C) 1999-2010 ImageMagick Studio LLC"
cristyc5baf4f2010-08-31 15:05:33 +000030#define MagickLibVersion 0x664
31#define MagickLibVersionText "6.6.4"
cristy5187c452010-06-29 15:42:23 +000032#define MagickLibVersionNumber 4,0,0
cristy3e4842b2010-10-04 19:48:44 +000033#define MagickLibAddendum "-10"
cristy5187c452010-06-29 15:42:23 +000034#define MagickLibInterface 4
35#define MagickLibMinInterface 4
cristyf4d60092010-10-06 17:06:45 +000036#define MagickReleaseDate "2010-10-06"
nicolas6237c462010-10-05 06:11:49 +000037#define MagickChangeDate "20101005"
cristy3ed852e2009-09-05 21:47:34 +000038#define MagickAuthoritativeURL "http://www.imagemagick.org"
cristyf4d60092010-10-06 17:06:45 +000039#if defined(MAGICKCORE_OPENMP_SUPPORT)
40#define MagickOpenMPFeature "OpenMP "
41#else
42#define MagickOpenMPFeature " "
43#endif
44#if defined(MAGICKCORE_OPENCL_SUPPORT)
45#define MagickOpenCLFeature "OpenCL "
46#else
47#define MagickOpenCLFeature " "
48#endif
49#if defined(MAGICKCORE_HDRI_SUPPORT)
50#define MagickHDRIFeature "HDRI "
51#else
52#define MagickHDRIFeature " "
53#endif
54#define MagickFeatures MagickOpenMPFeature MagickOpenCLFeature MagickHDRIFeature
cristyc5baf4f2010-08-31 15:05:33 +000055#define MagickHomeURL "file:///usr/local/share/doc/ImageMagick-6.6.4/index.html"
cristy3ed852e2009-09-05 21:47:34 +000056#if (MAGICKCORE_QUANTUM_DEPTH == 8)
57#define MagickQuantumDepth "Q8"
58#define MagickQuantumRange "255"
59#elif (MAGICKCORE_QUANTUM_DEPTH == 16)
60#define MagickQuantumDepth "Q16"
61#define MagickQuantumRange "65535"
62#elif (MAGICKCORE_QUANTUM_DEPTH == 32)
63#define MagickQuantumDepth "Q32"
64#define MagickQuantumRange "4294967295"
65#elif (MAGICKCORE_QUANTUM_DEPTH == 64)
66#define MagickQuantumDepth "Q64"
67#define MagickQuantumRange "18446744073709551615"
68#else
69#define MagickQuantumDepth "Q?"
70#define MagickQuantumRange "?"
71#endif
cristyb28d6472009-10-17 20:13:35 +000072#define MagickVersion \
cristy15a88782010-01-31 23:24:49 +000073 MagickPackageName " " MagickLibVersionText MagickLibAddendum " " \
cristyb28d6472009-10-17 20:13:35 +000074 MagickReleaseDate " " MagickQuantumDepth " " MagickAuthoritativeURL
cristy3ed852e2009-09-05 21:47:34 +000075
76extern MagickExport char
77 *GetMagickHomeURL(void);
78
79extern MagickExport const char
80 *GetMagickCopyright(void),
cristy54a531d2009-10-21 17:58:01 +000081 *GetMagickFeatures(void),
cristy3ed852e2009-09-05 21:47:34 +000082 *GetMagickPackageName(void),
cristy0f82ada2010-05-28 01:54:49 +000083 *GetMagickQuantumDepth(size_t *),
84 *GetMagickQuantumRange(size_t *),
cristy3ed852e2009-09-05 21:47:34 +000085 *GetMagickReleaseDate(void),
cristy0f82ada2010-05-28 01:54:49 +000086 *GetMagickVersion(size_t *);
cristy3ed852e2009-09-05 21:47:34 +000087
88#if defined(__cplusplus) || defined(c_plusplus)
89}
90#endif
91
92#endif