| 1 | /* |
|---|
| 2 | Copyright 1999-2012 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-2012 ImageMagick Studio LLC" |
|---|
| 30 | #define MagickSVNRevision "7281" |
|---|
| 31 | #define MagickLibVersion 0x676 |
|---|
| 32 | #define MagickLibVersionText "6.7.6" |
|---|
| 33 | #define MagickLibVersionNumber 5,0,0 |
|---|
| 34 | #define MagickLibAddendum "-3" |
|---|
| 35 | #define MagickLibInterface 5 |
|---|
| 36 | #define MagickLibMinInterface 5 |
|---|
| 37 | #define MagickReleaseDate "2012-03-30" |
|---|
| 38 | #define MagickChangeDate "20120329" |
|---|
| 39 | #define MagickAuthoritativeURL "http://www.imagemagick.org" |
|---|
| 40 | #if defined(MAGICKCORE_OPENMP_SUPPORT) |
|---|
| 41 | #define MagickOpenMPFeature "OpenMP " |
|---|
| 42 | #else |
|---|
| 43 | #define MagickOpenMPFeature " " |
|---|
| 44 | #endif |
|---|
| 45 | #if defined(MAGICKCORE_OPENCL_SUPPORT) |
|---|
| 46 | #define MagickOpenCLFeature "OpenCL " |
|---|
| 47 | #else |
|---|
| 48 | #define MagickOpenCLFeature " " |
|---|
| 49 | #endif |
|---|
| 50 | #if defined(MAGICKCORE_HDRI_SUPPORT) |
|---|
| 51 | #define MagickHDRIFeature "HDRI " |
|---|
| 52 | #else |
|---|
| 53 | #define MagickHDRIFeature " " |
|---|
| 54 | #endif |
|---|
| 55 | #if defined(MAGICKCORE_ZERO_CONFIGURATION_SUPPORT) |
|---|
| 56 | #define MagickZeroConfigurationFeature "Zero-Configuration " |
|---|
| 57 | #else |
|---|
| 58 | #define MagickZeroConfigurationFeature " " |
|---|
| 59 | #endif |
|---|
| 60 | #define MagickFeatures MagickOpenMPFeature MagickOpenCLFeature MagickHDRIFeature MagickZeroConfigurationFeature |
|---|
| 61 | #define MagickHomeURL "file:///usr/local/share/doc/ImageMagick//index.html" |
|---|
| 62 | #if (MAGICKCORE_QUANTUM_DEPTH == 8) |
|---|
| 63 | #define MagickQuantumDepth "Q8" |
|---|
| 64 | #define MagickQuantumRange "255" |
|---|
| 65 | #elif (MAGICKCORE_QUANTUM_DEPTH == 16) |
|---|
| 66 | #define MagickQuantumDepth "Q16" |
|---|
| 67 | #define MagickQuantumRange "65535" |
|---|
| 68 | #elif (MAGICKCORE_QUANTUM_DEPTH == 32) |
|---|
| 69 | #define MagickQuantumDepth "Q32" |
|---|
| 70 | #define MagickQuantumRange "4294967295" |
|---|
| 71 | #elif (MAGICKCORE_QUANTUM_DEPTH == 64) |
|---|
| 72 | #define MagickQuantumDepth "Q64" |
|---|
| 73 | #define MagickQuantumRange "18446744073709551615" |
|---|
| 74 | #else |
|---|
| 75 | #define MagickQuantumDepth "Q?" |
|---|
| 76 | #define MagickQuantumRange "?" |
|---|
| 77 | #endif |
|---|
| 78 | #define MagickVersion \ |
|---|
| 79 | MagickPackageName " " MagickLibVersionText MagickLibAddendum " " \ |
|---|
| 80 | MagickReleaseDate " " MagickQuantumDepth " " MagickAuthoritativeURL |
|---|
| 81 | |
|---|
| 82 | extern MagickExport char |
|---|
| 83 | *GetMagickHomeURL(void); |
|---|
| 84 | |
|---|
| 85 | extern MagickExport const char |
|---|
| 86 | *GetMagickCopyright(void), |
|---|
| 87 | *GetMagickFeatures(void), |
|---|
| 88 | *GetMagickPackageName(void), |
|---|
| 89 | *GetMagickQuantumDepth(size_t *), |
|---|
| 90 | *GetMagickQuantumRange(size_t *), |
|---|
| 91 | *GetMagickReleaseDate(void), |
|---|
| 92 | *GetMagickVersion(size_t *); |
|---|
| 93 | |
|---|
| 94 | #if defined(__cplusplus) || defined(c_plusplus) |
|---|
| 95 | } |
|---|
| 96 | #endif |
|---|
| 97 | |
|---|
| 98 | #endif |
|---|