]> granicus.if.org Git - imagemagick/blob - magick/version.h
(no commit message)
[imagemagick] / magick / version.h
1 /*
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)
22 extern "C" {
23 #endif
24
25 /*
26   Define declarations.
27 */
28 #define MagickPackageName "ImageMagick"
29 #define MagickCopyright  "Copyright (C) 1999-2009 ImageMagick Studio LLC"
30 #define MagickLibVersion  0x656
31 #define MagickLibVersionText  "6.5.6"
32 #define MagickLibVersionNumber  2,0,0
33 #define MagickLibSubversion  "-9"
34 #define MagickReleaseDate  "2009-10-04"
35 #define MagickChangeDate   "20091003"
36 #define MagickAuthoritativeURL  "http://www.imagemagick.org"
37 #define MagickHomeURL  "file:///usr/local/share/doc/ImageMagick-6.5.6/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)
55 #define MagickHDRISupport ""
56 #else
57 #define MagickHDRISupport "HDRI "
58 #endif
59 #if !defined(_OPENMP)
60 #define MagickOPENMPSupport ""
61 #else
62 #define MagickOPENMPSupport "OpenMP "
63 #endif
64 #define MagickSupport MagickHDRISupport MagickOPENMPSupport
65 #define MagickVersion MagickPackageName " " MagickLibVersionText \
66   MagickLibSubversion " " MagickReleaseDate " " MagickQuantumDepth " " \
67   MagickSupport MagickAuthoritativeURL
68
69 extern MagickExport char
70   *GetMagickHomeURL(void);
71
72 extern MagickExport const char
73   *GetMagickCopyright(void),
74   *GetMagickPackageName(void),
75   *GetMagickQuantumDepth(unsigned long *),
76   *GetMagickQuantumRange(unsigned long *),
77   *GetMagickReleaseDate(void),
78   *GetMagickVersion(unsigned long *);
79
80 #if defined(__cplusplus) || defined(c_plusplus)
81 }
82 #endif
83
84 #endif