summaryrefslogtreecommitdiff
path: root/fpcsrc/packages/imagemagick/src/imagemagick.pas
blob: 23be4e75b5d811c189fa78c3ba9570383d4d5e6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
  Copyright 1999-2005 ImageMagick Studio LLC, a non-profit organization
  dedicated to making software imaging solutions freely available.
  
  You may not use this file except in compliance with the License.
  obtain a copy of the License at
  
    http://www.imagemagick.org/script/license.php
  
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.

  ImageMagick Application Programming Interface declarations.
}
{
  Converted from c by: Felipe Monteiro de Carvalho Dez/2005

	Bug-fixed by Ángel Eduardo García Hernández
	Thanks to Marc Geldon and RuBBeR
}
{Version 0.4}
unit ImageMagick;

{$ifdef FPC}
  {$mode objfpc}
	{$PACKRECORDS C}
{$endif}

interface

uses SysUtils, ctypes;

{$z4}

// Fix to compile in older FPC versions
{$ifdef VER2_2}
type
  Pcsize_t = ^size_t;
{$endif}

const
{$ifdef Windows}
  MagickExport = 'CORE_RL_magick_.dll';
  WandExport = 'CORE_RL_wand_.dll';
{$else}
  MagickExport = 'libMagickCore';
  WandExport = 'libMagickWand'; // Previous ImageMagick versions used 'libWand'
{$endif}

{# include "magick/methods.h"
#endif}
{$include magick_type.inc}
{$include type.inc}

{#$include animate.inc}
{#$include annotate.inc}
{#$include attribute.inc}
{#$include blob.inc}
{$include cache.inc}
{$include cache_view.inc}
{#include "magick/coder.h"
#include "magick/client.h"
#include "magick/color.h"
#include "magick/colorspace.h"}
{$include compare.inc}
{#include "magick/composite.h"
#include "magick/compress.h"
#include "magick/configure.h"
#include "magick/conjure.h"}
{$include constitute.inc}
{#include "magick/convert.h"
#include "magick/decorate.h"
#include "magick/delegate.h"
#include "magick/deprecate.h"
#include "magick/display.h"}
{$include draw.inc}
{$include effect.inc}
{#include "magick/enhance.h"
#include "magick/exception.h"}
{$include fx.inc}
{#include "magick/gem.h"
#include "magick/geometry.h"
#include "magick/hashmap.h"
#include "magick/identify.h"
#include "magick/image.h"
#include "magick/import.h"
#include "magick/list.h"
#include "magick/locale_.h"
#include "magick/log.h"
#include "magick/magic.h"
#include "magick/magick.h"
#include "magick/memory_.h"
#include "magick/module.h"
#include "magick/mogrify.h"
#include "magick/monitor.h"
#include "magick/montage.h"
#include "magick/option.h"
#include "magick/paint.h"}
{$include pixel.inc}
{#include "magick/prepress.h"
#include "magick/profile.h"}
{$include quantize.inc}
{#include "magick/quantum.h"
#include "magick/registry.h"
#include "magick/random_.h"
#include "magick/resize.h"
#include "magick/resource_.h"
#include "magick/segment.h"
#include "magick/shear.h"
#include "magick/signature.h"
#include "magick/splay-tree.h"
#include "magick/stream.h"}
{$include statistic.inc}
{#include "magick/string_.h"
#include "magick/timer.h"
#include "magick/token.h"
#include "magick/transform.h"
#include "magick/utility.h"
#include "magick/version.h"
#include "magick/xwindow.h"}

implementation

end.