cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 1 | /* |
cristy | 16af1cb | 2009-12-11 21:38:29 +0000 | [diff] [blame] | 2 | Copyright 1999-2010 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 | 16af1cb | 2009-12-11 21:38:29 +0000 | [diff] [blame] | 29 | #define MagickCopyright "Copyright (C) 1999-2010 ImageMagick Studio LLC" |
cristy | c5baf4f | 2010-08-31 15:05:33 +0000 | [diff] [blame] | 30 | #define MagickLibVersion 0x664 |
| 31 | #define MagickLibVersionText "6.6.4" |
cristy | 5187c45 | 2010-06-29 15:42:23 +0000 | [diff] [blame] | 32 | #define MagickLibVersionNumber 4,0,0 |
cristy | 3e4842b | 2010-10-04 19:48:44 +0000 | [diff] [blame] | 33 | #define MagickLibAddendum "-10" |
cristy | 5187c45 | 2010-06-29 15:42:23 +0000 | [diff] [blame] | 34 | #define MagickLibInterface 4 |
| 35 | #define MagickLibMinInterface 4 |
cristy | f4d6009 | 2010-10-06 17:06:45 +0000 | [diff] [blame^] | 36 | #define MagickReleaseDate "2010-10-06" |
nicolas | 6237c46 | 2010-10-05 06:11:49 +0000 | [diff] [blame] | 37 | #define MagickChangeDate "20101005" |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 38 | #define MagickAuthoritativeURL "http://www.imagemagick.org" |
cristy | f4d6009 | 2010-10-06 17:06:45 +0000 | [diff] [blame^] | 39 | #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 |
cristy | c5baf4f | 2010-08-31 15:05:33 +0000 | [diff] [blame] | 55 | #define MagickHomeURL "file:///usr/local/share/doc/ImageMagick-6.6.4/index.html" |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 56 | #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 |
cristy | b28d647 | 2009-10-17 20:13:35 +0000 | [diff] [blame] | 72 | #define MagickVersion \ |
cristy | 15a8878 | 2010-01-31 23:24:49 +0000 | [diff] [blame] | 73 | MagickPackageName " " MagickLibVersionText MagickLibAddendum " " \ |
cristy | b28d647 | 2009-10-17 20:13:35 +0000 | [diff] [blame] | 74 | MagickReleaseDate " " MagickQuantumDepth " " MagickAuthoritativeURL |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 75 | |
| 76 | extern MagickExport char |
| 77 | *GetMagickHomeURL(void); |
| 78 | |
| 79 | extern MagickExport const char |
| 80 | *GetMagickCopyright(void), |
cristy | 54a531d | 2009-10-21 17:58:01 +0000 | [diff] [blame] | 81 | *GetMagickFeatures(void), |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 82 | *GetMagickPackageName(void), |
cristy | 0f82ada | 2010-05-28 01:54:49 +0000 | [diff] [blame] | 83 | *GetMagickQuantumDepth(size_t *), |
| 84 | *GetMagickQuantumRange(size_t *), |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 85 | *GetMagickReleaseDate(void), |
cristy | 0f82ada | 2010-05-28 01:54:49 +0000 | [diff] [blame] | 86 | *GetMagickVersion(size_t *); |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 87 | |
| 88 | #if defined(__cplusplus) || defined(c_plusplus) |
| 89 | } |
| 90 | #endif |
| 91 | |
| 92 | #endif |