version.h 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. /*
  2. Copyright 1999 ImageMagick Studio LLC, a non-profit organization
  3. dedicated to making software imaging solutions freely available.
  4. You may not use this file except in compliance with the License.
  5. obtain a copy of the License at
  6. https://imagemagick.org/script/license.php
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. MagickCore version methods.
  13. */
  14. #ifndef _MAGICKCORE_VERSION_H
  15. #define _MAGICKCORE_VERSION_H
  16. #if defined(__cplusplus) || defined(c_plusplus)
  17. extern "C" {
  18. #endif
  19. /*
  20. Define declarations.
  21. */
  22. #define MagickPackageName "ImageMagick"
  23. #define MagickCopyright "(C) 1999 ImageMagick Studio LLC"
  24. #define MagickLibVersion 0x69D
  25. #define MagickLibVersionText "6.9.13"
  26. #define MagickLibVersionNumber 7,0,0
  27. #define MagickLibAddendum "-17"
  28. #define MagickLibInterface 7
  29. #define MagickLibMinInterface 7
  30. #define MagickPlatform "x86_64"
  31. #define MagickppLibVersionText "6.9.13"
  32. #define MagickppLibVersionNumber 9:0:0
  33. #define MagickppLibAddendum "-17"
  34. #define MagickppLibInterface 9
  35. #define MagickppLibMinInterface 9
  36. #define MagickGitRevision "e71b4b8dc:20241003"
  37. #define MagickReleaseDate "2024-10-03"
  38. #define MagickHomeURL "file:///data/mxe/usr/x86_64-w64-mingw32.shared.all/share/doc/ImageMagick-6/index.html"
  39. #define MagickAuthoritativeLicense \
  40. "https://imagemagick.org/script/license.php"
  41. #define MagickAuthoritativeURL "https://legacy.imagemagick.org"
  42. #if (MAGICKCORE_QUANTUM_DEPTH == 8)
  43. #define MagickQuantumDepth "Q8"
  44. #define MagickQuantumRange "255"
  45. #elif (MAGICKCORE_QUANTUM_DEPTH == 16)
  46. #define MagickQuantumDepth "Q16"
  47. #define MagickQuantumRange "65535"
  48. #elif (MAGICKCORE_QUANTUM_DEPTH == 32)
  49. #define MagickQuantumDepth "Q32"
  50. #define MagickQuantumRange "4294967295"
  51. #elif (MAGICKCORE_QUANTUM_DEPTH == 64)
  52. #define MagickQuantumDepth "Q64"
  53. #define MagickQuantumRange "18446744073709551615.0"
  54. #else
  55. #define MagickQuantumDepth "Q?"
  56. #define MagickQuantumRange "?"
  57. #endif
  58. #if defined(MAGICKCORE_HDRI_SUPPORT)
  59. #define MagickHDRISupport "-HDRI"
  60. #else
  61. #define MagickHDRISupport ""
  62. #endif
  63. #define MagickVersion \
  64. MagickPackageName " " MagickLibVersionText MagickLibAddendum " " \
  65. MagickQuantumDepth MagickHDRISupport " " MagickPlatform " " \
  66. MagickGitRevision " " MagickAuthoritativeURL
  67. extern MagickExport char
  68. *GetMagickHomeURL(void);
  69. extern MagickExport const char
  70. *GetMagickCopyright(void) magick_attribute((__const__)),
  71. *GetMagickDelegates(void) magick_attribute((__const__)),
  72. *GetMagickFeatures(void) magick_attribute((__const__)),
  73. *GetMagickLicense(void) magick_attribute((__const__)),
  74. *GetMagickPackageName(void) magick_attribute((__const__)),
  75. *GetMagickQuantumDepth(size_t *),
  76. *GetMagickQuantumRange(size_t *),
  77. *GetMagickReleaseDate(void) magick_attribute((__const__)),
  78. *GetMagickVersion(size_t *);
  79. extern MagickExport void
  80. ListMagickVersion(FILE *);
  81. #if defined(__cplusplus) || defined(c_plusplus)
  82. }
  83. #endif
  84. #endif