2
0

imagemagick.pas 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. {
  2. Copyright 1999-2005 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. http://www.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. ImageMagick Application Programming Interface declarations.
  13. }
  14. {
  15. Converted from c by: Felipe Monteiro de Carvalho Dez/2005
  16. Bug-fixed by Ángel Eduardo García Hernández
  17. Thanks to Marc Geldon and RuBBeR
  18. }
  19. {Version 0.4}
  20. unit ImageMagick;
  21. {$ifdef FPC}
  22. {$mode objfpc}
  23. {$PACKRECORDS C}
  24. {$endif}
  25. interface
  26. uses SysUtils, ctypes;
  27. {$PACKENUM 4}
  28. // Fix to compile in older FPC versions
  29. {$ifdef VER2_2}
  30. type
  31. Pcsize_t = ^size_t;
  32. {$endif}
  33. const
  34. {$ifdef Win32}
  35. MagickExport = 'CORE_RL_magick_.dll';
  36. WandExport = 'CORE_RL_wand_.dll';
  37. {$else}
  38. MagickExport = 'libMagickCore';
  39. WandExport = 'libMagickWand'; // Previous ImageMagick versions used 'libWand'
  40. {$endif}
  41. {# include "magick/methods.h"
  42. #endif}
  43. {$include magick_type.inc}
  44. {$include type.inc}
  45. {#$include animate.inc}
  46. {#$include annotate.inc}
  47. {#$include attribute.inc}
  48. {#$include blob.inc}
  49. {$include cache.inc}
  50. {$include cache_view.inc}
  51. {#include "magick/coder.h"
  52. #include "magick/client.h"
  53. #include "magick/color.h"
  54. #include "magick/colorspace.h"}
  55. {$include compare.inc}
  56. {#include "magick/composite.h"
  57. #include "magick/compress.h"
  58. #include "magick/configure.h"
  59. #include "magick/conjure.h"}
  60. {$include constitute.inc}
  61. {#include "magick/convert.h"
  62. #include "magick/decorate.h"
  63. #include "magick/delegate.h"
  64. #include "magick/deprecate.h"
  65. #include "magick/display.h"}
  66. {$include draw.inc}
  67. {$include effect.inc}
  68. {#include "magick/enhance.h"
  69. #include "magick/exception.h"}
  70. {$include fx.inc}
  71. {#include "magick/gem.h"
  72. #include "magick/geometry.h"
  73. #include "magick/hashmap.h"
  74. #include "magick/identify.h"
  75. #include "magick/image.h"
  76. #include "magick/import.h"
  77. #include "magick/list.h"
  78. #include "magick/locale_.h"
  79. #include "magick/log.h"
  80. #include "magick/magic.h"
  81. #include "magick/magick.h"
  82. #include "magick/memory_.h"
  83. #include "magick/module.h"
  84. #include "magick/mogrify.h"
  85. #include "magick/monitor.h"
  86. #include "magick/montage.h"
  87. #include "magick/option.h"
  88. #include "magick/paint.h"}
  89. {$include pixel.inc}
  90. {#include "magick/prepress.h"
  91. #include "magick/profile.h"}
  92. {$include quantize.inc}
  93. {#include "magick/quantum.h"
  94. #include "magick/registry.h"
  95. #include "magick/random_.h"
  96. #include "magick/resize.h"
  97. #include "magick/resource_.h"
  98. #include "magick/segment.h"
  99. #include "magick/shear.h"
  100. #include "magick/signature.h"
  101. #include "magick/splay-tree.h"
  102. #include "magick/stream.h"}
  103. {$include statistic.inc}
  104. {#include "magick/string_.h"
  105. #include "magick/timer.h"
  106. #include "magick/token.h"
  107. #include "magick/transform.h"
  108. #include "magick/utility.h"
  109. #include "magick/version.h"
  110. #include "magick/xwindow.h"}
  111. implementation
  112. end.