cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 1 | /* |
cristy | 7e41fe8 | 2010-12-04 23:12:08 +0000 | [diff] [blame] | 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 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" |
cristy | 7e41fe8 | 2010-12-04 23:12:08 +0000 | [diff] [blame] | 29 | #define MagickCopyright "Copyright (C) 1999-2011 ImageMagick Studio LLC" |
cristy | 4f82071 | 2011-04-01 12:35:43 +0000 | [diff] [blame] | 30 | #define MagickSVNRevision "4138" |
cristy | 45dbd32 | 2011-03-27 16:40:38 +0000 | [diff] [blame] | 31 | #define MagickLibVersion 0x669 |
| 32 | #define MagickLibVersionText "6.6.9" |
cristy | a3240b4 | 2010-12-07 14:12:32 +0000 | [diff] [blame] | 33 | #define MagickLibVersionNumber 4,0,1 |
cristy | e9a32c3 | 2011-04-07 01:11:05 +0000 | [diff] [blame^] | 34 | #define MagickLibAddendum "-5" |
cristy | 5187c45 | 2010-06-29 15:42:23 +0000 | [diff] [blame] | 35 | #define MagickLibInterface 4 |
| 36 | #define MagickLibMinInterface 4 |
cristy | e9a32c3 | 2011-04-07 01:11:05 +0000 | [diff] [blame^] | 37 | #define MagickReleaseDate "2011-04-06" |
| 38 | #define MagickChangeDate "20110403" |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 39 | #define MagickAuthoritativeURL "http://www.imagemagick.org" |
cristy | f4d6009 | 2010-10-06 17:06:45 +0000 | [diff] [blame] | 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 | #define MagickFeatures MagickOpenMPFeature MagickOpenCLFeature MagickHDRIFeature |
cristy | 45dbd32 | 2011-03-27 16:40:38 +0000 | [diff] [blame] | 56 | #define MagickHomeURL "file:///usr/local/share/doc/ImageMagick-6.6.9//index.html" |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 57 | #if (MAGICKCORE_QUANTUM_DEPTH == 8) |
| 58 | #define MagickQuantumDepth "Q8" |
| 59 | #define MagickQuantumRange "255" |
| 60 | #elif (MAGICKCORE_QUANTUM_DEPTH == 16) |
| 61 | #define MagickQuantumDepth "Q16" |
| 62 | #define MagickQuantumRange "65535" |
| 63 | #elif (MAGICKCORE_QUANTUM_DEPTH == 32) |
| 64 | #define MagickQuantumDepth "Q32" |
| 65 | #define MagickQuantumRange "4294967295" |
| 66 | #elif (MAGICKCORE_QUANTUM_DEPTH == 64) |
| 67 | #define MagickQuantumDepth "Q64" |
| 68 | #define MagickQuantumRange "18446744073709551615" |
| 69 | #else |
| 70 | #define MagickQuantumDepth "Q?" |
| 71 | #define MagickQuantumRange "?" |
| 72 | #endif |
cristy | b28d647 | 2009-10-17 20:13:35 +0000 | [diff] [blame] | 73 | #define MagickVersion \ |
cristy | 15a8878 | 2010-01-31 23:24:49 +0000 | [diff] [blame] | 74 | MagickPackageName " " MagickLibVersionText MagickLibAddendum " " \ |
cristy | b28d647 | 2009-10-17 20:13:35 +0000 | [diff] [blame] | 75 | MagickReleaseDate " " MagickQuantumDepth " " MagickAuthoritativeURL |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 76 | |
| 77 | extern MagickExport char |
| 78 | *GetMagickHomeURL(void); |
| 79 | |
| 80 | extern MagickExport const char |
| 81 | *GetMagickCopyright(void), |
cristy | 54a531d | 2009-10-21 17:58:01 +0000 | [diff] [blame] | 82 | *GetMagickFeatures(void), |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 83 | *GetMagickPackageName(void), |
cristy | 0f82ada | 2010-05-28 01:54:49 +0000 | [diff] [blame] | 84 | *GetMagickQuantumDepth(size_t *), |
| 85 | *GetMagickQuantumRange(size_t *), |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 86 | *GetMagickReleaseDate(void), |
cristy | 0f82ada | 2010-05-28 01:54:49 +0000 | [diff] [blame] | 87 | *GetMagickVersion(size_t *); |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 88 | |
| 89 | #if defined(__cplusplus) || defined(c_plusplus) |
| 90 | } |
| 91 | #endif |
| 92 | |
| 93 | #endif |