cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 1 | /* |
cristy | 1454be7 | 2011-12-19 01:52:48 +0000 | [diff] [blame] | 2 | Copyright 1999-2012 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 | 1454be7 | 2011-12-19 01:52:48 +0000 | [diff] [blame] | 29 | #define MagickCopyright "Copyright (C) 1999-2012 ImageMagick Studio LLC" |
cristy | 564a569 | 2012-01-20 23:56:26 +0000 | [diff] [blame] | 30 | #define MagickSVNRevision "exported" |
cristy | 4a3e215 | 2011-07-02 00:59:04 +0000 | [diff] [blame] | 31 | #define MagickLibVersion 0x700 |
| 32 | #define MagickLibVersionText "7.0.0" |
cristy | caf5c81 | 2011-09-11 01:06:33 +0000 | [diff] [blame] | 33 | #define MagickLibVersionNumber 7,0,0 |
cristy | 87a7f07 | 2011-07-01 00:08:52 +0000 | [diff] [blame] | 34 | #define MagickLibAddendum "-0" |
cristy | caf5c81 | 2011-09-11 01:06:33 +0000 | [diff] [blame] | 35 | #define MagickLibInterface 7 |
| 36 | #define MagickLibMinInterface 7 |
cristy | 564a569 | 2012-01-20 23:56:26 +0000 | [diff] [blame] | 37 | #define MagickReleaseDate "2012-01-20" |
cristy | 94ea163 | 2011-07-30 20:40:25 +0000 | [diff] [blame] | 38 | #define MagickChangeDate "20110801" |
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 |
cristy | 6e3607c | 2011-09-13 13:59:17 +0000 | [diff] [blame] | 55 | #if defined(MAGICKCORE_ZERO_CONFIGURATION_SUPPORT) |
cristy | 81af570 | 2011-09-13 14:20:58 +0000 | [diff] [blame] | 56 | #define MagickZeroConfigurationFeature "Zero-Configuration " |
cristy | 6e3607c | 2011-09-13 13:59:17 +0000 | [diff] [blame] | 57 | #else |
| 58 | #define MagickZeroConfigurationFeature " " |
| 59 | #endif |
| 60 | #define MagickFeatures MagickOpenMPFeature MagickOpenCLFeature MagickHDRIFeature MagickZeroConfigurationFeature |
cristy | 09b53e1 | 2011-10-14 12:47:22 +0000 | [diff] [blame] | 61 | #define MagickHomeURL "file:///usr/local/share/doc/ImageMagick//index.html" |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 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 |
cristy | b28d647 | 2009-10-17 20:13:35 +0000 | [diff] [blame] | 78 | #define MagickVersion \ |
cristy | 15a8878 | 2010-01-31 23:24:49 +0000 | [diff] [blame] | 79 | MagickPackageName " " MagickLibVersionText MagickLibAddendum " " \ |
cristy | b28d647 | 2009-10-17 20:13:35 +0000 | [diff] [blame] | 80 | MagickReleaseDate " " MagickQuantumDepth " " MagickAuthoritativeURL |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 81 | |
| 82 | extern MagickExport char |
| 83 | *GetMagickHomeURL(void); |
| 84 | |
| 85 | extern MagickExport const char |
| 86 | *GetMagickCopyright(void), |
cristy | 54a531d | 2009-10-21 17:58:01 +0000 | [diff] [blame] | 87 | *GetMagickFeatures(void), |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 88 | *GetMagickPackageName(void), |
cristy | 0f82ada | 2010-05-28 01:54:49 +0000 | [diff] [blame] | 89 | *GetMagickQuantumDepth(size_t *), |
| 90 | *GetMagickQuantumRange(size_t *), |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 91 | *GetMagickReleaseDate(void), |
cristy | 0f82ada | 2010-05-28 01:54:49 +0000 | [diff] [blame] | 92 | *GetMagickVersion(size_t *); |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 93 | |
| 94 | #if defined(__cplusplus) || defined(c_plusplus) |
| 95 | } |
| 96 | #endif |
| 97 | |
| 98 | #endif |