| 1 |
/* |
| 2 |
Copyright @ 1999 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 |
https://imagemagick.org/license/ |
| 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 "@PACKAGE_NAME@" |
| 29 |
#define MagickCopyright "(C) 1999 ImageMagick Studio LLC" |
| 30 |
#define MagickLibVersion @PACKAGE_LIB_VERSION@ |
| 31 |
#define MagickLibVersionText "@MAGICK_LIB_VERSION_TEXT@" |
| 32 |
#define MagickLibVersionNumber @MAGICK_LIB_VERSION_NUMBER@ |
| 33 |
#define MagickLibAddendum "@PACKAGE_VERSION_ADDENDUM@" |
| 34 |
#define MagickLibInterface @MAGICK_LIBRARY_CURRENT@ |
| 35 |
#define MagickLibMinInterface @MAGICK_LIBRARY_CURRENT_MIN@ |
| 36 |
#define MagickPlatform "@MAGICK_TARGET_CPU@" |
| 37 |
#define MagickppLibVersionText "@MAGICKPP_LIB_VERSION_TEXT@" |
| 38 |
#define MagickppLibVersionNumber @MAGICKPP_LIBRARY_VERSION_INFO@ |
| 39 |
#define MagickppLibAddendum "@PACKAGE_VERSION_ADDENDUM@" |
| 40 |
#define MagickppLibInterface @MAGICKPP_LIBRARY_CURRENT@ |
| 41 |
#define MagickppLibMinInterface @MAGICKPP_LIBRARY_CURRENT_MIN@ |
| 42 |
#define MagickGitRevision "@MAGICK_GIT_REVISION@" |
| 43 |
#define MagickReleaseDate "@PACKAGE_RELEASE_DATE@" |
| 44 |
#define MagickAuthoritativeLicense \ |
| 45 |
"https://imagemagick.org/license/" |
| 46 |
#define MagickAuthoritativeURL "https://imagemagick.org" |
| 47 |
#define MagickHomeURL "file://@DOCUMENTATION_PATH@/index.html" |
| 48 |
#if (MAGICKCORE_QUANTUM_DEPTH == 8) |
| 49 |
#define MagickQuantumDepth "Q8" |
| 50 |
#define MagickQuantumRange "255" |
| 51 |
#elif (MAGICKCORE_QUANTUM_DEPTH == 16) |
| 52 |
#define MagickQuantumDepth "Q16" |
| 53 |
#define MagickQuantumRange "65535" |
| 54 |
#elif (MAGICKCORE_QUANTUM_DEPTH == 32) |
| 55 |
#define MagickQuantumDepth "Q32" |
| 56 |
#define MagickQuantumRange "4294967295" |
| 57 |
#elif (MAGICKCORE_QUANTUM_DEPTH == 64) |
| 58 |
#define MagickQuantumDepth "Q64" |
| 59 |
#define MagickQuantumRange "65535" |
| 60 |
#else |
| 61 |
#define MagickQuantumDepth "Q?" |
| 62 |
#define MagickQuantumRange "?" |
| 63 |
#endif |
| 64 |
#if defined(MAGICKCORE_HDRI_SUPPORT) |
| 65 |
#define MagickHDRISupport "-HDRI" |
| 66 |
#else |
| 67 |
#define MagickHDRISupport "" |
| 68 |
#endif |
| 69 |
#define MagickVersion \ |
| 70 |
MagickPackageName " " MagickLibVersionText MagickLibAddendum " " \ |
| 71 |
MagickQuantumDepth MagickHDRISupport " " MagickPlatform " " \ |
| 72 |
MagickGitRevision " " MagickAuthoritativeURL |
| 73 |
|
| 74 |
extern MagickExport char |
| 75 |
*GetMagickHomeURL(void); |
| 76 |
|
| 77 |
extern MagickExport const char |
| 78 |
*GetMagickCopyright(void) magick_attribute((__const__)), |
| 79 |
*GetMagickDelegates(void) magick_attribute((__const__)), |
| 80 |
*GetMagickFeatures(void) magick_attribute((__const__)), |
| 81 |
*GetMagickLicense(void) magick_attribute((__const__)), |
| 82 |
*GetMagickPackageName(void) magick_attribute((__const__)), |
| 83 |
*GetMagickQuantumDepth(size_t *), |
| 84 |
*GetMagickQuantumRange(size_t *), |
| 85 |
*GetMagickReleaseDate(void) magick_attribute((__const__)), |
| 86 |
*GetMagickVersion(size_t *); |
| 87 |
|
| 88 |
extern MagickExport void |
| 89 |
ListMagickVersion(FILE *); |
| 90 |
|
| 91 |
#if defined(__cplusplus) || defined(c_plusplus) |
| 92 |
} |
| 93 |
#endif |
| 94 |
|
| 95 |
#endif |