1 /* 2 Copyright 1999-2016 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-2016 ImageMagick Studio LLC" 30 #define MagickLibVersion 0x702 31 #define MagickLibVersionText "7.0.2" 32 #define MagickLibVersionNumber 0,0,0 33 #define MagickLibAddendum "-5" 34 #define MagickLibInterface 0 35 #define MagickLibMinInterface 0 36 #if defined(_WINDOWS) 37 # if defined(_WIN64) 38 # define MagickPlatform "x64" 39 # else 40 # define MagickPlatform "x86" 41 # endif 42 #else 43 #define MagickPlatform "arm" 44 #endif 45 #define MagickppLibVersionText "7.0.2" 46 #define MagickppLibVersionNumber 0:0:0 47 #define MagickppLibAddendum "-5" 48 #define MagickppLibInterface 0 49 #define MagickppLibMinInterface 0 50 #define MagickReleaseDate "2016-07-22" 51 #define MagickAuthoritativeLicense \ 52 "http://www.imagemagick.org/script/license.php" 53 #define MagickAuthoritativeURL "http://www.imagemagick.org" 54 #define MagickHomeURL "file:///usr/local/share/doc/ImageMagick-7/index.html" 55 #if (MAGICKCORE_QUANTUM_DEPTH == 8) 56 #define MagickQuantumDepth "Q8" 57 #define MagickQuantumRange "255" 58 #elif (MAGICKCORE_QUANTUM_DEPTH == 16) 59 #define MagickQuantumDepth "Q16" 60 #define MagickQuantumRange "65535" 61 #elif (MAGICKCORE_QUANTUM_DEPTH == 32) 62 #define MagickQuantumDepth "Q32" 63 #define MagickQuantumRange "4294967295" 64 #elif (MAGICKCORE_QUANTUM_DEPTH == 64) 65 #define MagickQuantumDepth "Q64" 66 #define MagickQuantumRange "65535" 67 #else 68 #define MagickQuantumDepth "Q?" 69 #define MagickQuantumRange "?" 70 #endif 71 #define MagickVersion \ 72 MagickPackageName " " MagickLibVersionText MagickLibAddendum " " \ 73 MagickQuantumDepth " " MagickPlatform " " MagickReleaseDate " " \ 74 MagickAuthoritativeURL 75 76 extern MagickExport char 77 *GetMagickHomeURL(void); 78 79 extern MagickExport const char 80 *GetMagickCopyright(void), 81 *GetMagickDelegates(void), 82 *GetMagickFeatures(void), 83 *GetMagickLicense(void), 84 *GetMagickPackageName(void), 85 *GetMagickQuantumDepth(size_t *), 86 *GetMagickQuantumRange(size_t *), 87 *GetMagickReleaseDate(void), 88 *GetMagickVersion(size_t *); 89 90 extern MagickExport void 91 ListMagickVersion(FILE *); 92 93 #if defined(__cplusplus) || defined(c_plusplus) 94 } 95 #endif 96 97 #endif 98