assassinlike commited on
Commit
5b86a79
·
verified ·
1 Parent(s): 3b53c58

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. data/miniconda3/include/ImageMagick-7/MagickCore/MagickCore.h +171 -0
  2. data/miniconda3/include/ImageMagick-7/MagickCore/annotate.h +41 -0
  3. data/miniconda3/include/ImageMagick-7/MagickCore/attribute.h +56 -0
  4. data/miniconda3/include/ImageMagick-7/MagickCore/cache.h +81 -0
  5. data/miniconda3/include/ImageMagick-7/MagickCore/channel.h +41 -0
  6. data/miniconda3/include/ImageMagick-7/MagickCore/cipher.h +35 -0
  7. data/miniconda3/include/ImageMagick-7/MagickCore/client.h +35 -0
  8. data/miniconda3/include/ImageMagick-7/MagickCore/coder.h +54 -0
  9. data/miniconda3/include/ImageMagick-7/MagickCore/color.h +109 -0
  10. data/miniconda3/include/ImageMagick-7/MagickCore/colorspace.h +80 -0
  11. data/miniconda3/include/ImageMagick-7/MagickCore/compare.h +63 -0
  12. data/miniconda3/include/ImageMagick-7/MagickCore/configure.h +66 -0
  13. data/miniconda3/include/ImageMagick-7/MagickCore/constitute.h +44 -0
  14. data/miniconda3/include/ImageMagick-7/MagickCore/delegate.h +79 -0
  15. data/miniconda3/include/ImageMagick-7/MagickCore/deprecate.h +47 -0
  16. data/miniconda3/include/ImageMagick-7/MagickCore/distribute-cache.h +34 -0
  17. data/miniconda3/include/ImageMagick-7/MagickCore/draw.h +422 -0
  18. data/miniconda3/include/ImageMagick-7/MagickCore/enhance.h +60 -0
  19. data/miniconda3/include/ImageMagick-7/MagickCore/feature.h +62 -0
  20. data/miniconda3/include/ImageMagick-7/MagickCore/fourier.h +48 -0
  21. data/miniconda3/include/ImageMagick-7/MagickCore/geometry.h +169 -0
  22. data/miniconda3/include/ImageMagick-7/MagickCore/histogram.h +45 -0
  23. data/miniconda3/include/ImageMagick-7/MagickCore/image-view.h +83 -0
  24. data/miniconda3/include/ImageMagick-7/MagickCore/image.h +574 -0
  25. data/miniconda3/include/ImageMagick-7/MagickCore/layer.h +76 -0
  26. data/miniconda3/include/ImageMagick-7/MagickCore/linked-list.h +57 -0
  27. data/miniconda3/include/ImageMagick-7/MagickCore/list.h +65 -0
  28. data/miniconda3/include/ImageMagick-7/MagickCore/magick-baseconfig.h +1698 -0
  29. data/miniconda3/include/ImageMagick-7/MagickCore/magick-config.h +271 -0
  30. data/miniconda3/include/ImageMagick-7/MagickCore/magick-type.h +202 -0
  31. data/miniconda3/include/ImageMagick-7/MagickCore/magick.h +158 -0
  32. data/miniconda3/include/ImageMagick-7/MagickCore/methods.h +0 -0
  33. data/miniconda3/include/ImageMagick-7/MagickCore/mime.h +48 -0
  34. data/miniconda3/include/ImageMagick-7/MagickCore/monitor.h +53 -0
  35. data/miniconda3/include/ImageMagick-7/MagickCore/montage.h +91 -0
  36. data/miniconda3/include/ImageMagick-7/MagickCore/morphology.h +152 -0
  37. data/miniconda3/include/ImageMagick-7/MagickCore/option.h +218 -0
  38. data/miniconda3/include/ImageMagick-7/MagickCore/paint.h +47 -0
  39. data/miniconda3/include/ImageMagick-7/MagickCore/pixel-accessor.h +965 -0
  40. data/miniconda3/include/ImageMagick-7/MagickCore/pixel.h +269 -0
  41. data/miniconda3/include/ImageMagick-7/MagickCore/policy.h +72 -0
  42. data/miniconda3/include/ImageMagick-7/MagickCore/profile.h +61 -0
  43. data/miniconda3/include/ImageMagick-7/MagickCore/property.h +51 -0
  44. data/miniconda3/include/ImageMagick-7/MagickCore/quantize.h +79 -0
  45. data/miniconda3/include/ImageMagick-7/MagickCore/quantum.h +196 -0
  46. data/miniconda3/include/ImageMagick-7/MagickCore/registry.h +51 -0
  47. data/miniconda3/include/ImageMagick-7/MagickCore/resize.h +48 -0
  48. data/miniconda3/include/ImageMagick-7/MagickCore/resource_.h +64 -0
  49. data/miniconda3/include/ImageMagick-7/MagickCore/shear.h +35 -0
  50. data/miniconda3/include/ImageMagick-7/MagickCore/signature.h +32 -0
data/miniconda3/include/ImageMagick-7/MagickCore/MagickCore.h ADDED
@@ -0,0 +1,171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 Application Programming Interface declarations.
17
+ */
18
+
19
+ #ifndef MAGICKCORE_CORE_H
20
+ #define MAGICKCORE_CORE_H
21
+
22
+ #if defined(__cplusplus) || defined(c_plusplus)
23
+ extern "C" {
24
+ #endif
25
+
26
+ #if !defined(MAGICKCORE_CONFIG_H)
27
+ # define MAGICKCORE_CONFIG_H
28
+ # if !defined(vms)
29
+ # include "MagickCore/magick-config.h"
30
+ # else
31
+ # include "magick-config.h"
32
+ # endif
33
+ #if defined(_magickcore_const) && !defined(const)
34
+ # define const _magickcore_const
35
+ #endif
36
+ #if defined(_magickcore_inline) && !defined(inline)
37
+ # define inline _magickcore_inline
38
+ #endif
39
+ #if !defined(magick_restrict)
40
+ # if !defined(_magickcore_restrict)
41
+ # define magick_restrict restrict
42
+ # else
43
+ # define magick_restrict _magickcore_restrict
44
+ # endif
45
+ #endif
46
+ # if defined(__cplusplus) || defined(c_plusplus)
47
+ # undef inline
48
+ # endif
49
+ #endif
50
+
51
+ #define MAGICKCORE_CHECK_VERSION(major,minor,micro) \
52
+ ((MAGICKCORE_MAJOR_VERSION > (major)) || \
53
+ ((MAGICKCORE_MAJOR_VERSION == (major)) && \
54
+ (MAGICKCORE_MINOR_VERSION > (minor))) || \
55
+ ((MAGICKCORE_MAJOR_VERSION == (major)) && \
56
+ (MAGICKCORE_MINOR_VERSION == (minor)) && \
57
+ (MAGICKCORE_MICRO_VERSION >= (micro))))
58
+
59
+ #include <stdio.h>
60
+ #include <stdarg.h>
61
+ #include <stdlib.h>
62
+ #include <stdint.h>
63
+ #include <math.h>
64
+ #include <sys/types.h>
65
+ #include <time.h>
66
+
67
+ #if defined(WIN32) || defined(WIN64)
68
+ # define MAGICKCORE_WINDOWS_SUPPORT
69
+ #else
70
+ # define MAGICKCORE_POSIX_SUPPORT
71
+ #endif
72
+
73
+ #include "MagickCore/method-attribute.h"
74
+
75
+ #if defined(MAGICKCORE_NAMESPACE_PREFIX)
76
+ # include "MagickCore/methods.h"
77
+ #endif
78
+ #include "MagickCore/magick-type.h"
79
+ #include "MagickCore/animate.h"
80
+ #include "MagickCore/annotate.h"
81
+ #include "MagickCore/artifact.h"
82
+ #include "MagickCore/attribute.h"
83
+ #include "MagickCore/blob.h"
84
+ #include "MagickCore/cache.h"
85
+ #include "MagickCore/cache-view.h"
86
+ #include "MagickCore/channel.h"
87
+ #include "MagickCore/cipher.h"
88
+ #include "MagickCore/client.h"
89
+ #include "MagickCore/coder.h"
90
+ #include "MagickCore/color.h"
91
+ #include "MagickCore/colorspace.h"
92
+ #include "MagickCore/colormap.h"
93
+ #include "MagickCore/compare.h"
94
+ #include "MagickCore/composite.h"
95
+ #include "MagickCore/compress.h"
96
+ #include "MagickCore/configure.h"
97
+ #include "MagickCore/constitute.h"
98
+ #include "MagickCore/decorate.h"
99
+ #include "MagickCore/delegate.h"
100
+ #include "MagickCore/deprecate.h"
101
+ #include "MagickCore/display.h"
102
+ #include "MagickCore/distort.h"
103
+ #include "MagickCore/distribute-cache.h"
104
+ #include "MagickCore/draw.h"
105
+ #include "MagickCore/effect.h"
106
+ #include "MagickCore/enhance.h"
107
+ #include "MagickCore/exception.h"
108
+ #include "MagickCore/feature.h"
109
+ #include "MagickCore/fourier.h"
110
+ #include "MagickCore/fx.h"
111
+ #include "MagickCore/gem.h"
112
+ #include "MagickCore/geometry.h"
113
+ #include "MagickCore/histogram.h"
114
+ #include "MagickCore/identify.h"
115
+ #include "MagickCore/image.h"
116
+ #include "MagickCore/image-view.h"
117
+ #include "MagickCore/layer.h"
118
+ #include "MagickCore/linked-list.h"
119
+ #include "MagickCore/list.h"
120
+ #include "MagickCore/locale_.h"
121
+ #include "MagickCore/log.h"
122
+ #include "MagickCore/magic.h"
123
+ #include "MagickCore/magick.h"
124
+ #include "MagickCore/matrix.h"
125
+ #include "MagickCore/memory_.h"
126
+ #include "MagickCore/module.h"
127
+ #include "MagickCore/mime.h"
128
+ #include "MagickCore/monitor.h"
129
+ #include "MagickCore/montage.h"
130
+ #include "MagickCore/morphology.h"
131
+ #include "MagickCore/opencl.h"
132
+ #include "MagickCore/option.h"
133
+ #include "MagickCore/paint.h"
134
+ #include "MagickCore/pixel.h"
135
+ #include "MagickCore/pixel-accessor.h"
136
+ #include "MagickCore/policy.h"
137
+ #include "MagickCore/prepress.h"
138
+ #include "MagickCore/profile.h"
139
+ #include "MagickCore/property.h"
140
+ #include "MagickCore/quantize.h"
141
+ #include "MagickCore/quantum.h"
142
+ #include "MagickCore/registry.h"
143
+ #include "MagickCore/random_.h"
144
+ #include "MagickCore/resample.h"
145
+ #include "MagickCore/resize.h"
146
+ #include "MagickCore/resource_.h"
147
+ #include "MagickCore/segment.h"
148
+ #include "MagickCore/shear.h"
149
+ #include "MagickCore/signature.h"
150
+ #include "MagickCore/splay-tree.h"
151
+ #include "MagickCore/static.h"
152
+ #include "MagickCore/statistic.h"
153
+ #include "MagickCore/stream.h"
154
+ #include "MagickCore/string_.h"
155
+ #include "MagickCore/timer.h"
156
+ #include "MagickCore/token.h"
157
+ #include "MagickCore/transform.h"
158
+ #include "MagickCore/threshold.h"
159
+ #include "MagickCore/type.h"
160
+ #include "MagickCore/utility.h"
161
+ #include "MagickCore/version.h"
162
+ #include "MagickCore/vision.h"
163
+ #include "MagickCore/visual-effects.h"
164
+ #include "MagickCore/xml-tree.h"
165
+ #include "MagickCore/xwindow.h"
166
+
167
+ #if defined(__cplusplus) || defined(c_plusplus)
168
+ }
169
+ #endif
170
+
171
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/annotate.h ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 image annotation methods.
17
+ */
18
+ #ifndef MAGICKCORE_ANNOTATE_H
19
+ #define MAGICKCORE_ANNOTATE_H
20
+
21
+ #include "MagickCore/draw.h"
22
+
23
+ #if defined(__cplusplus) || defined(c_plusplus)
24
+ extern "C" {
25
+ #endif
26
+
27
+ extern MagickExport MagickBooleanType
28
+ AnnotateImage(Image *,const DrawInfo *,ExceptionInfo *),
29
+ GetMultilineTypeMetrics(Image *,const DrawInfo *,TypeMetric *,
30
+ ExceptionInfo *),
31
+ GetTypeMetrics(Image *,const DrawInfo *,TypeMetric *,ExceptionInfo *);
32
+
33
+ extern MagickExport ssize_t
34
+ FormatMagickCaption(Image *,DrawInfo *,const MagickBooleanType,TypeMetric *,
35
+ char **,ExceptionInfo *);
36
+
37
+ #if defined(__cplusplus) || defined(c_plusplus)
38
+ }
39
+ #endif
40
+
41
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/attribute.h ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Copyright @ 2002 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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 methods to set or get image attributes.
17
+ */
18
+ #ifndef MAGICKCORE_ATTRIBUTE_H
19
+ #define MAGICKCORE_ATTRIBUTE_H
20
+
21
+ #include "MagickCore/image.h"
22
+ #include "MagickCore/exception.h"
23
+
24
+ #if defined(__cplusplus) || defined(c_plusplus)
25
+ extern "C" {
26
+ #endif
27
+
28
+ extern MagickExport ImageType
29
+ GetImageType(const Image *),
30
+ IdentifyImageGray(const Image *,ExceptionInfo *),
31
+ IdentifyImageType(const Image *,ExceptionInfo *);
32
+
33
+ extern MagickExport MagickBooleanType
34
+ IdentifyImageMonochrome(const Image *,ExceptionInfo *),
35
+ IsImageGray(const Image *),
36
+ IsImageMonochrome(const Image *),
37
+ IsImageOpaque(const Image *,ExceptionInfo *),
38
+ SetImageDepth(Image *,const size_t,ExceptionInfo *),
39
+ SetImageType(Image *,const ImageType,ExceptionInfo *);
40
+
41
+ extern MagickExport PointInfo
42
+ *GetImageConvexHull(const Image *,size_t *,ExceptionInfo *),
43
+ *GetImageMinimumBoundingBox(Image *,size_t *,ExceptionInfo *);
44
+
45
+ extern MagickExport RectangleInfo
46
+ GetImageBoundingBox(const Image *,ExceptionInfo *);
47
+
48
+ extern MagickExport size_t
49
+ GetImageDepth(const Image *,ExceptionInfo *),
50
+ GetImageQuantumDepth(const Image *,const MagickBooleanType);
51
+
52
+ #if defined(__cplusplus) || defined(c_plusplus)
53
+ }
54
+ #endif
55
+
56
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/cache.h ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 cache methods.
17
+ */
18
+ #ifndef MAGICKCORE_CACHE_H
19
+ #define MAGICKCORE_CACHE_H
20
+
21
+ #include "MagickCore/blob.h"
22
+
23
+ #if defined(__cplusplus) || defined(c_plusplus)
24
+ extern "C" {
25
+ #endif
26
+
27
+ typedef enum
28
+ {
29
+ UndefinedCache,
30
+ DiskCache,
31
+ DistributedCache,
32
+ MapCache,
33
+ MemoryCache,
34
+ PingCache
35
+ } CacheType;
36
+
37
+ extern MagickExport CacheType
38
+ GetImagePixelCacheType(const Image *);
39
+
40
+ extern MagickExport const char
41
+ *GetPixelCacheFilename(const Image *);
42
+
43
+ extern MagickExport const Quantum
44
+ *GetVirtualPixels(const Image *,const ssize_t,const ssize_t,const size_t,
45
+ const size_t,ExceptionInfo *) magick_hot_spot,
46
+ *GetVirtualPixelQueue(const Image *) magick_hot_spot;
47
+
48
+ extern MagickExport const void
49
+ *GetVirtualMetacontent(const Image *);
50
+
51
+ extern MagickExport MagickBooleanType
52
+ GetOneAuthenticPixel(Image *,const ssize_t,const ssize_t,Quantum *,
53
+ ExceptionInfo *),
54
+ GetOneVirtualPixel(const Image *,const ssize_t,const ssize_t,Quantum *,
55
+ ExceptionInfo *),
56
+ GetOneVirtualPixelInfo(const Image *,const VirtualPixelMethod,
57
+ const ssize_t,const ssize_t,PixelInfo *,ExceptionInfo *),
58
+ PersistPixelCache(Image *,const char *,const MagickBooleanType,
59
+ MagickOffsetType *,ExceptionInfo *),
60
+ SyncAuthenticPixels(Image *,ExceptionInfo *) magick_hot_spot;
61
+
62
+ extern MagickExport MagickSizeType
63
+ GetImageExtent(const Image *);
64
+
65
+ extern MagickExport Quantum
66
+ *GetAuthenticPixels(Image *,const ssize_t,const ssize_t,const size_t,
67
+ const size_t,ExceptionInfo *) magick_hot_spot,
68
+ *GetAuthenticPixelQueue(const Image *) magick_hot_spot,
69
+ *QueueAuthenticPixels(Image *,const ssize_t,const ssize_t,const size_t,
70
+ const size_t,ExceptionInfo *) magick_hot_spot;
71
+
72
+ extern MagickExport void
73
+ *AcquirePixelCachePixels(const Image *,size_t *,ExceptionInfo *),
74
+ *GetAuthenticMetacontent(const Image *),
75
+ *GetPixelCachePixels(Image *,MagickSizeType *,ExceptionInfo *);
76
+
77
+ #if defined(__cplusplus) || defined(c_plusplus)
78
+ }
79
+ #endif
80
+
81
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/channel.h ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Copyright @ 2003 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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 image channel methods.
17
+ */
18
+ #ifndef MAGICKCORE_CHANNEL_H
19
+ #define MAGICKCORE_CHANNEL_H
20
+
21
+ #include <MagickCore/image.h>
22
+
23
+ #if defined(__cplusplus) || defined(c_plusplus)
24
+ extern "C" {
25
+ #endif
26
+
27
+ extern MagickExport Image
28
+ *ChannelFxImage(const Image *,const char *,ExceptionInfo *),
29
+ *CombineImages(const Image *,const ColorspaceType,ExceptionInfo *),
30
+ *SeparateImage(const Image *,const ChannelType,ExceptionInfo *),
31
+ *SeparateImages(const Image *,ExceptionInfo *);
32
+
33
+ extern MagickExport MagickBooleanType
34
+ GetImageAlphaChannel(const Image *),
35
+ SetImageAlphaChannel(Image *,const AlphaChannelOption,ExceptionInfo *);
36
+
37
+ #if defined(__cplusplus) || defined(c_plusplus)
38
+ }
39
+ #endif
40
+
41
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/cipher.h ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Copyright @ 2003 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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 cipher methods.
17
+ */
18
+ #ifndef MAGICKCORE_CIPHER_H
19
+ #define MAGICKCORE_CIPHER_H
20
+
21
+ #if defined(__cplusplus) || defined(c_plusplus)
22
+ extern "C" {
23
+ #endif
24
+
25
+ extern MagickExport MagickBooleanType
26
+ DecipherImage(Image *,const char *,ExceptionInfo *),
27
+ EncipherImage(Image *,const char *,ExceptionInfo *),
28
+ PasskeyDecipherImage(Image *,const StringInfo *,ExceptionInfo *),
29
+ PasskeyEncipherImage(Image *,const StringInfo *,ExceptionInfo *);
30
+
31
+ #if defined(__cplusplus) || defined(c_plusplus)
32
+ }
33
+ #endif
34
+
35
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/client.h ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Copyright @ 2003 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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 client methods.
17
+ */
18
+ #ifndef MAGICKCORE_CLIENT_H
19
+ #define MAGICKCORE_CLIENT_H
20
+
21
+ #if defined(__cplusplus) || defined(c_plusplus)
22
+ extern "C" {
23
+ #endif
24
+
25
+ extern MagickExport const char
26
+ *GetClientPath(void) magick_attribute((__const__)),
27
+ *GetClientName(void) magick_attribute((__const__)),
28
+ *SetClientName(const char *),
29
+ *SetClientPath(const char *);
30
+
31
+ #if defined(__cplusplus) || defined(c_plusplus)
32
+ }
33
+ #endif
34
+
35
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/coder.h ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Copyright @ 2001 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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 image coder methods.
17
+ */
18
+ #ifndef MAGICKCORE_CODER_H
19
+ #define MAGICKCORE_CODER_H
20
+
21
+ #if defined(__cplusplus) || defined(c_plusplus)
22
+ extern "C" {
23
+ #endif
24
+
25
+ typedef struct _CoderInfo
26
+ {
27
+ char
28
+ *path,
29
+ *magick,
30
+ *name;
31
+
32
+ MagickBooleanType
33
+ exempt,
34
+ stealth;
35
+
36
+ size_t
37
+ signature;
38
+ } CoderInfo;
39
+
40
+ extern MagickExport char
41
+ **GetCoderList(const char *,size_t *,ExceptionInfo *);
42
+
43
+ extern MagickExport const CoderInfo
44
+ *GetCoderInfo(const char *,ExceptionInfo *),
45
+ **GetCoderInfoList(const char *,size_t *,ExceptionInfo *);
46
+
47
+ extern MagickExport MagickBooleanType
48
+ ListCoderInfo(FILE *,ExceptionInfo *);
49
+
50
+ #if defined(__cplusplus) || defined(c_plusplus)
51
+ }
52
+ #endif
53
+
54
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/color.h ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 image color methods.
17
+ */
18
+ #ifndef MAGICKCORE_COLOR_H
19
+ #define MAGICKCORE_COLOR_H
20
+
21
+ #include "MagickCore/pixel.h"
22
+ #include "MagickCore/exception.h"
23
+
24
+ #if defined(__cplusplus) || defined(c_plusplus)
25
+ extern "C" {
26
+ #endif
27
+
28
+ typedef enum
29
+ {
30
+ UndefinedCompliance,
31
+ NoCompliance = 0x0000,
32
+ CSSCompliance = 0x0001,
33
+ SVGCompliance = 0x0001,
34
+ X11Compliance = 0x0002,
35
+ XPMCompliance = 0x0004,
36
+ MVGCompliance = 0x0008,
37
+ AllCompliance = 0x7fffffff
38
+ } ComplianceType;
39
+
40
+ typedef enum
41
+ {
42
+ UndefinedIlluminant = 5,
43
+ AIlluminant = 0,
44
+ BIlluminant = 1,
45
+ CIlluminant = 2,
46
+ D50Illuminant = 3,
47
+ D55Illuminant = 4,
48
+ D65Illuminant = 5,
49
+ D75Illuminant = 6,
50
+ EIlluminant = 7,
51
+ F2Illuminant = 8,
52
+ F7Illuminant = 9,
53
+ F11Illuminant = 10
54
+ } IlluminantType;
55
+
56
+ typedef struct _ColorInfo
57
+ {
58
+ char
59
+ *path,
60
+ *name;
61
+
62
+ ComplianceType
63
+ compliance;
64
+
65
+ PixelInfo
66
+ color;
67
+
68
+ MagickBooleanType
69
+ exempt,
70
+ stealth;
71
+
72
+ size_t
73
+ signature;
74
+ } ColorInfo;
75
+
76
+ typedef struct _ErrorInfo
77
+ {
78
+ double
79
+ mean_error_per_pixel,
80
+ normalized_mean_error,
81
+ normalized_maximum_error;
82
+ } ErrorInfo;
83
+
84
+ extern MagickExport char
85
+ **GetColorList(const char *,size_t *,ExceptionInfo *);
86
+
87
+ extern MagickExport const ColorInfo
88
+ *GetColorInfo(const char *,ExceptionInfo *),
89
+ **GetColorInfoList(const char *,size_t *,ExceptionInfo *);
90
+
91
+ extern MagickExport MagickBooleanType
92
+ IsEquivalentImage(const Image *,const Image *,ssize_t *x,ssize_t *y,
93
+ ExceptionInfo *),
94
+ ListColorInfo(FILE *,ExceptionInfo *),
95
+ QueryColorCompliance(const char *,const ComplianceType,PixelInfo *,
96
+ ExceptionInfo *),
97
+ QueryColorname(const Image *,const PixelInfo *,const ComplianceType,
98
+ char *,ExceptionInfo *);
99
+
100
+ extern MagickExport void
101
+ ConcatenateColorComponent(const PixelInfo *,const PixelChannel,
102
+ const ComplianceType,char *),
103
+ GetColorTuple(const PixelInfo *,const MagickBooleanType,char *);
104
+
105
+ #if defined(__cplusplus) || defined(c_plusplus)
106
+ }
107
+ #endif
108
+
109
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/colorspace.h ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 image colorspace methods.
17
+ */
18
+ #ifndef MAGICKCORE_COLORSPACE_H
19
+ #define MAGICKCORE_COLORSPACE_H
20
+
21
+ #if defined(__cplusplus) || defined(c_plusplus)
22
+ extern "C" {
23
+ #endif
24
+
25
+ typedef enum
26
+ {
27
+ UndefinedColorspace,
28
+ CMYColorspace, /* negated linear RGB colorspace */
29
+ CMYKColorspace, /* CMY with Black separation */
30
+ GRAYColorspace, /* Single Channel greyscale (non-linear) image */
31
+ HCLColorspace,
32
+ HCLpColorspace,
33
+ HSBColorspace,
34
+ HSIColorspace,
35
+ HSLColorspace,
36
+ HSVColorspace, /* alias for HSB */
37
+ HWBColorspace,
38
+ LabColorspace,
39
+ LCHColorspace, /* alias for LCHuv */
40
+ LCHabColorspace, /* Cylindrical (Polar) Lab */
41
+ LCHuvColorspace, /* Cylindrical (Polar) Luv */
42
+ LogColorspace,
43
+ LMSColorspace,
44
+ LuvColorspace,
45
+ OHTAColorspace,
46
+ Rec601YCbCrColorspace,
47
+ Rec709YCbCrColorspace,
48
+ RGBColorspace, /* Linear RGB colorspace */
49
+ scRGBColorspace, /* ??? */
50
+ sRGBColorspace, /* Default: non-linear sRGB colorspace */
51
+ TransparentColorspace,
52
+ xyYColorspace,
53
+ XYZColorspace, /* IEEE Color Reference colorspace */
54
+ YCbCrColorspace,
55
+ YCCColorspace,
56
+ YDbDrColorspace,
57
+ YIQColorspace,
58
+ YPbPrColorspace,
59
+ YUVColorspace,
60
+ LinearGRAYColorspace, /* Single Channel greyscale (linear) image */
61
+ JzazbzColorspace,
62
+ DisplayP3Colorspace,
63
+ Adobe98Colorspace,
64
+ ProPhotoColorspace
65
+ } ColorspaceType;
66
+
67
+ extern MagickExport ColorspaceType
68
+ GetImageColorspaceType(const Image *,ExceptionInfo *);
69
+
70
+ extern MagickExport MagickBooleanType
71
+ SetImageColorspace(Image *,const ColorspaceType,ExceptionInfo *),
72
+ SetImageGray(Image *,ExceptionInfo *),
73
+ SetImageMonochrome(Image *,ExceptionInfo *),
74
+ TransformImageColorspace(Image *,const ColorspaceType,ExceptionInfo *);
75
+
76
+ #if defined(__cplusplus) || defined(c_plusplus)
77
+ }
78
+ #endif
79
+
80
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/compare.h ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Copyright @ 2003 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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 image compare methods.
17
+ */
18
+ #ifndef MAGICKCORE_COMPARE_H
19
+ #define MAGICKCORE_COMPARE_H
20
+
21
+ #include "MagickCore/image.h"
22
+
23
+ #if defined(__cplusplus) || defined(c_plusplus)
24
+ extern "C" {
25
+ #endif
26
+
27
+ typedef enum
28
+ {
29
+ UndefinedErrorMetric,
30
+ AbsoluteErrorMetric,
31
+ FuzzErrorMetric,
32
+ MeanAbsoluteErrorMetric,
33
+ MeanErrorPerPixelErrorMetric,
34
+ MeanSquaredErrorMetric,
35
+ NormalizedCrossCorrelationErrorMetric,
36
+ PeakAbsoluteErrorMetric,
37
+ PeakSignalToNoiseRatioErrorMetric,
38
+ PerceptualHashErrorMetric,
39
+ RootMeanSquaredErrorMetric,
40
+ StructuralSimilarityErrorMetric,
41
+ StructuralDissimilarityErrorMetric
42
+ } MetricType;
43
+
44
+ extern MagickExport double
45
+ *GetImageDistortions(Image *,const Image *,const MetricType,ExceptionInfo *);
46
+
47
+ extern MagickExport Image
48
+ *CompareImages(Image *,const Image *,const MetricType,double *,
49
+ ExceptionInfo *),
50
+ *SimilarityImage(const Image *,const Image *,const MetricType,const double,
51
+ RectangleInfo *,double *,ExceptionInfo *);
52
+
53
+ extern MagickExport MagickBooleanType
54
+ GetImageDistortion(Image *,const Image *,const MetricType,double *,
55
+ ExceptionInfo *),
56
+ IsImagesEqual(const Image *,const Image *,ExceptionInfo *),
57
+ SetImageColorMetric(Image *,const Image *,ExceptionInfo *);
58
+
59
+ #if defined(__cplusplus) || defined(c_plusplus)
60
+ }
61
+ #endif
62
+
63
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/configure.h ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Copyright @ 2003 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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 configure methods.
17
+ */
18
+ #ifndef MAGICKCORE_CONFIGURE_H
19
+ #define MAGICKCORE_CONFIGURE_H
20
+
21
+ #include "MagickCore/linked-list.h"
22
+
23
+ #if defined(__cplusplus) || defined(c_plusplus)
24
+ extern "C" {
25
+ #endif
26
+
27
+ typedef struct _ConfigureInfo
28
+ {
29
+ char
30
+ *path,
31
+ *name,
32
+ *value;
33
+
34
+ MagickBooleanType
35
+ exempt,
36
+ stealth;
37
+
38
+ size_t
39
+ signature;
40
+ } ConfigureInfo;
41
+
42
+ extern MagickExport char
43
+ **GetConfigureList(const char *,size_t *,ExceptionInfo *),
44
+ *GetConfigureOption(const char *);
45
+
46
+ extern MagickExport const char
47
+ *GetConfigureValue(const ConfigureInfo *);
48
+
49
+ extern MagickExport const ConfigureInfo
50
+ *GetConfigureInfo(const char *,ExceptionInfo *),
51
+ **GetConfigureInfoList(const char *,size_t *,ExceptionInfo *);
52
+
53
+ extern MagickExport LinkedListInfo
54
+ *DestroyConfigureOptions(LinkedListInfo *),
55
+ *GetConfigurePaths(const char *,ExceptionInfo *),
56
+ *GetConfigureOptions(const char *,ExceptionInfo *);
57
+
58
+ extern MagickExport MagickBooleanType
59
+ ListConfigureInfo(FILE *,ExceptionInfo *);
60
+
61
+
62
+ #if defined(__cplusplus) || defined(c_plusplus)
63
+ }
64
+ #endif
65
+
66
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/constitute.h ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 image constitute methods.
17
+ */
18
+ #ifndef MAGICKCORE_CONSTITUTE_H
19
+ #define MAGICKCORE_CONSTITUTE_H
20
+
21
+ #include "MagickCore/pixel.h"
22
+
23
+ #if defined(__cplusplus) || defined(c_plusplus)
24
+ extern "C" {
25
+ #endif
26
+
27
+ extern MagickExport Image
28
+ *ConstituteImage(const size_t,const size_t,const char *,const StorageType,
29
+ const void *,ExceptionInfo *),
30
+ *PingImage(const ImageInfo *,ExceptionInfo *),
31
+ *PingImages(ImageInfo *,const char *,ExceptionInfo *),
32
+ *ReadImage(const ImageInfo *,ExceptionInfo *),
33
+ *ReadImages(ImageInfo *,const char *,ExceptionInfo *),
34
+ *ReadInlineImage(const ImageInfo *,const char *,ExceptionInfo *);
35
+
36
+ extern MagickExport MagickBooleanType
37
+ WriteImage(const ImageInfo *,Image *,ExceptionInfo *),
38
+ WriteImages(const ImageInfo *,Image *,const char *,ExceptionInfo *);
39
+
40
+ #if defined(__cplusplus) || defined(c_plusplus)
41
+ }
42
+ #endif
43
+
44
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/delegate.h ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 delegates methods.
17
+ */
18
+ #ifndef MAGICKCORE_DELEGATE_H
19
+ #define MAGICKCORE_DELEGATE_H
20
+
21
+ #if defined(__cplusplus) || defined(c_plusplus)
22
+ extern "C" {
23
+ #endif
24
+
25
+ #include <stdarg.h>
26
+ #include "MagickCore/semaphore.h"
27
+
28
+ typedef struct _DelegateInfo
29
+ {
30
+ char
31
+ *path,
32
+ *decode,
33
+ *encode,
34
+ *commands;
35
+
36
+ ssize_t
37
+ mode;
38
+
39
+ MagickBooleanType
40
+ thread_support,
41
+ spawn,
42
+ stealth;
43
+
44
+ SemaphoreInfo
45
+ *semaphore;
46
+
47
+ size_t
48
+ signature;
49
+ } DelegateInfo;
50
+
51
+ extern MagickExport char
52
+ *GetDelegateCommand(const ImageInfo *,Image *,const char *,const char *,
53
+ ExceptionInfo *),
54
+ **GetDelegateList(const char *,size_t *,ExceptionInfo *);
55
+
56
+ extern MagickExport const char
57
+ *GetDelegateCommands(const DelegateInfo *);
58
+
59
+ extern MagickExport const DelegateInfo
60
+ *GetDelegateInfo(const char *,const char *,ExceptionInfo *exception),
61
+ **GetDelegateInfoList(const char *,size_t *,ExceptionInfo *);
62
+
63
+ extern MagickExport int
64
+ ExternalDelegateCommand(const MagickBooleanType,const MagickBooleanType,
65
+ const char *,char *,ExceptionInfo *);
66
+
67
+ extern MagickExport ssize_t
68
+ GetDelegateMode(const DelegateInfo *);
69
+
70
+ extern MagickExport MagickBooleanType
71
+ GetDelegateThreadSupport(const DelegateInfo *),
72
+ InvokeDelegate(ImageInfo *,Image *,const char *,const char *,ExceptionInfo *),
73
+ ListDelegateInfo(FILE *,ExceptionInfo *);
74
+
75
+ #if defined(__cplusplus) || defined(c_plusplus)
76
+ }
77
+ #endif
78
+
79
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/deprecate.h ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 deprecated methods.
17
+ */
18
+ #ifndef MAGICKCORE_DEPRECATE_H
19
+ #define MAGICKCORE_DEPRECATE_H
20
+
21
+ #if defined(__cplusplus) || defined(c_plusplus)
22
+ extern "C" {
23
+ #endif
24
+
25
+ #if !defined(MAGICKCORE_EXCLUDE_DEPRECATED)
26
+
27
+ #include "MagickCore/magick.h"
28
+
29
+ typedef int
30
+ *(*BlobFifo)(const Image *,const void *,const size_t);
31
+
32
+ extern MagickExport MagickBooleanType
33
+ GetMagickSeekableStream(const MagickInfo *);
34
+
35
+ #if defined(MAGICKCORE_WINGDI32_DELEGATE)
36
+ extern MagickExport void
37
+ *CropImageToHBITMAP(Image *,const RectangleInfo *,ExceptionInfo *),
38
+ *ImageToHBITMAP(Image *,ExceptionInfo *);
39
+ #endif
40
+
41
+ #endif
42
+
43
+ #if defined(__cplusplus) || defined(c_plusplus)
44
+ }
45
+ #endif
46
+
47
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/distribute-cache.h ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 distributed cache methods.
17
+ */
18
+ #ifndef MAGICKCORE_DISTRIBUTE_CACHE_H
19
+ #define MAGICKCORE_DISTRIBUTE_CACHE_H
20
+
21
+ #include "MagickCore/exception.h"
22
+
23
+ #if defined(__cplusplus) || defined(c_plusplus)
24
+ extern "C" {
25
+ #endif
26
+
27
+ extern MagickExport void
28
+ DistributePixelCacheServer(const int,ExceptionInfo *);
29
+
30
+ #if defined(__cplusplus) || defined(c_plusplus)
31
+ }
32
+ #endif
33
+
34
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/draw.h ADDED
@@ -0,0 +1,422 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 drawing methods.
17
+ */
18
+ #ifndef MAGICKCORE_DRAW_H
19
+ #define MAGICKCORE_DRAW_H
20
+
21
+ #include "MagickCore/geometry.h"
22
+ #include "MagickCore/image.h"
23
+ #include "MagickCore/pixel.h"
24
+ #include "MagickCore/type.h"
25
+ #include "MagickCore/color.h"
26
+
27
+ #if defined(__cplusplus) || defined(c_plusplus)
28
+ extern "C" {
29
+ #endif
30
+
31
+ typedef enum
32
+ {
33
+ UndefinedAlign,
34
+ LeftAlign,
35
+ CenterAlign,
36
+ RightAlign
37
+ } AlignType;
38
+
39
+ typedef enum
40
+ {
41
+ UndefinedPathUnits,
42
+ UserSpace,
43
+ UserSpaceOnUse,
44
+ ObjectBoundingBox
45
+ } ClipPathUnits;
46
+
47
+ typedef enum
48
+ {
49
+ UndefinedDecoration,
50
+ NoDecoration,
51
+ UnderlineDecoration,
52
+ OverlineDecoration,
53
+ LineThroughDecoration
54
+ } DecorationType;
55
+
56
+ typedef enum
57
+ {
58
+ UndefinedDirection,
59
+ RightToLeftDirection,
60
+ LeftToRightDirection
61
+ } DirectionType;
62
+
63
+ typedef enum
64
+ {
65
+ UndefinedRule,
66
+ #undef EvenOddRule
67
+ EvenOddRule,
68
+ NonZeroRule
69
+ } FillRule;
70
+
71
+ typedef enum
72
+ {
73
+ UndefinedGradient,
74
+ LinearGradient,
75
+ RadialGradient
76
+ } GradientType;
77
+
78
+ typedef enum
79
+ {
80
+ UndefinedCap,
81
+ ButtCap,
82
+ RoundCap,
83
+ SquareCap
84
+ } LineCap;
85
+
86
+ typedef enum
87
+ {
88
+ UndefinedJoin,
89
+ MiterJoin,
90
+ RoundJoin,
91
+ BevelJoin
92
+ } LineJoin;
93
+
94
+ typedef enum
95
+ {
96
+ UndefinedMethod,
97
+ PointMethod,
98
+ ReplaceMethod,
99
+ FloodfillMethod,
100
+ FillToBorderMethod,
101
+ ResetMethod
102
+ } PaintMethod;
103
+
104
+ typedef enum
105
+ {
106
+ UndefinedPrimitive,
107
+ AlphaPrimitive,
108
+ ArcPrimitive,
109
+ BezierPrimitive,
110
+ CirclePrimitive,
111
+ ColorPrimitive,
112
+ EllipsePrimitive,
113
+ ImagePrimitive,
114
+ LinePrimitive,
115
+ PathPrimitive,
116
+ PointPrimitive,
117
+ PolygonPrimitive,
118
+ PolylinePrimitive,
119
+ RectanglePrimitive,
120
+ RoundRectanglePrimitive,
121
+ TextPrimitive
122
+ } PrimitiveType;
123
+
124
+ typedef enum
125
+ {
126
+ UndefinedReference,
127
+ GradientReference
128
+ } ReferenceType;
129
+
130
+ typedef enum
131
+ {
132
+ UndefinedSpread,
133
+ PadSpread,
134
+ ReflectSpread,
135
+ RepeatSpread
136
+ } SpreadMethod;
137
+
138
+ typedef enum
139
+ {
140
+ UndefinedWordBreakType,
141
+ NormalWordBreakType,
142
+ BreakWordBreakType
143
+ } WordBreakType;
144
+
145
+ typedef struct _StopInfo
146
+ {
147
+ PixelInfo
148
+ color;
149
+
150
+ double
151
+ offset;
152
+ } StopInfo;
153
+
154
+ typedef struct _GradientInfo
155
+ {
156
+ GradientType
157
+ type;
158
+
159
+ RectangleInfo
160
+ bounding_box;
161
+
162
+ SegmentInfo
163
+ gradient_vector;
164
+
165
+ StopInfo
166
+ *stops;
167
+
168
+ size_t
169
+ number_stops;
170
+
171
+ SpreadMethod
172
+ spread;
173
+
174
+ MagickBooleanType
175
+ debug;
176
+
177
+ PointInfo
178
+ center,
179
+ radii;
180
+
181
+ double
182
+ radius,
183
+ angle;
184
+
185
+ size_t
186
+ signature;
187
+ } GradientInfo;
188
+
189
+ typedef struct _ElementReference
190
+ {
191
+ char
192
+ *id;
193
+
194
+ ReferenceType
195
+ type;
196
+
197
+ GradientInfo
198
+ gradient;
199
+
200
+ struct _ElementReference
201
+ *previous,
202
+ *next;
203
+
204
+ size_t
205
+ signature;
206
+ } ElementReference;
207
+
208
+ typedef struct _DrawInfo
209
+ {
210
+ char
211
+ *primitive,
212
+ *geometry;
213
+
214
+ RectangleInfo
215
+ viewbox;
216
+
217
+ AffineMatrix
218
+ affine;
219
+
220
+ PixelInfo
221
+ fill,
222
+ stroke,
223
+ undercolor,
224
+ border_color;
225
+
226
+ Image
227
+ *fill_pattern,
228
+ *stroke_pattern;
229
+
230
+ double
231
+ stroke_width;
232
+
233
+ GradientInfo
234
+ gradient;
235
+
236
+ MagickBooleanType
237
+ stroke_antialias,
238
+ text_antialias;
239
+
240
+ FillRule
241
+ fill_rule;
242
+
243
+ LineCap
244
+ linecap;
245
+
246
+ LineJoin
247
+ linejoin;
248
+
249
+ size_t
250
+ miterlimit;
251
+
252
+ double
253
+ dash_offset;
254
+
255
+ DecorationType
256
+ decorate;
257
+
258
+ CompositeOperator
259
+ compose;
260
+
261
+ char
262
+ *text,
263
+ *font,
264
+ *metrics,
265
+ *family;
266
+
267
+ size_t
268
+ face;
269
+
270
+ StyleType
271
+ style;
272
+
273
+ StretchType
274
+ stretch;
275
+
276
+ size_t
277
+ weight;
278
+
279
+ char
280
+ *encoding;
281
+
282
+ double
283
+ pointsize;
284
+
285
+ char
286
+ *density;
287
+
288
+ AlignType
289
+ align;
290
+
291
+ GravityType
292
+ gravity;
293
+
294
+ char
295
+ *server_name;
296
+
297
+ double
298
+ *dash_pattern;
299
+
300
+ char
301
+ *clip_mask;
302
+
303
+ SegmentInfo
304
+ bounds;
305
+
306
+ ClipPathUnits
307
+ clip_units;
308
+
309
+ Quantum
310
+ alpha;
311
+
312
+ MagickBooleanType
313
+ render;
314
+
315
+ ElementReference
316
+ element_reference;
317
+
318
+ double
319
+ kerning,
320
+ interword_spacing,
321
+ interline_spacing;
322
+
323
+ DirectionType
324
+ direction;
325
+
326
+ MagickBooleanType
327
+ debug;
328
+
329
+ size_t
330
+ signature;
331
+
332
+ double
333
+ fill_alpha,
334
+ stroke_alpha;
335
+
336
+ MagickBooleanType
337
+ clip_path;
338
+
339
+ Image
340
+ *clipping_mask;
341
+
342
+ ComplianceType
343
+ compliance;
344
+
345
+ Image
346
+ *composite_mask;
347
+
348
+ char
349
+ *id;
350
+
351
+ WordBreakType
352
+ word_break;
353
+
354
+ ImageInfo
355
+ *image_info;
356
+ } DrawInfo;
357
+
358
+ typedef struct _PrimitiveInfo
359
+ {
360
+ PointInfo
361
+ point;
362
+
363
+ size_t
364
+ coordinates;
365
+
366
+ PrimitiveType
367
+ primitive;
368
+
369
+ PaintMethod
370
+ method;
371
+
372
+ char
373
+ *text;
374
+
375
+ MagickBooleanType
376
+ closed_subpath;
377
+ } PrimitiveInfo;
378
+
379
+ typedef struct _TypeMetric
380
+ {
381
+ PointInfo
382
+ pixels_per_em;
383
+
384
+ double
385
+ ascent,
386
+ descent,
387
+ width,
388
+ height,
389
+ max_advance,
390
+ underline_position,
391
+ underline_thickness;
392
+
393
+ SegmentInfo
394
+ bounds;
395
+
396
+ PointInfo
397
+ origin;
398
+ } TypeMetric;
399
+
400
+ extern MagickExport DrawInfo
401
+ *AcquireDrawInfo(void),
402
+ *CloneDrawInfo(const ImageInfo *,const DrawInfo *),
403
+ *DestroyDrawInfo(DrawInfo *);
404
+
405
+ extern MagickExport MagickBooleanType
406
+ DrawAffineImage(Image *,const Image *,const AffineMatrix *,ExceptionInfo *),
407
+ DrawClipPath(Image *,const DrawInfo *,const char *,ExceptionInfo *),
408
+ DrawGradientImage(Image *,const DrawInfo *,ExceptionInfo *),
409
+ DrawImage(Image *,const DrawInfo *,ExceptionInfo *),
410
+ DrawPatternPath(Image *,const DrawInfo *,const char *,Image **,
411
+ ExceptionInfo *),
412
+ DrawPrimitive(Image *,const DrawInfo *,const PrimitiveInfo *,ExceptionInfo *);
413
+
414
+ extern MagickExport void
415
+ GetAffineMatrix(AffineMatrix *),
416
+ GetDrawInfo(const ImageInfo *,DrawInfo *);
417
+
418
+ #if defined(__cplusplus) || defined(c_plusplus)
419
+ }
420
+ #endif
421
+
422
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/enhance.h ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 image enhance methods.
17
+ */
18
+ #ifndef MAGICKCORE_ENHANCE_H
19
+ #define MAGICKCORE_ENHANCE_H
20
+
21
+ #include "MagickCore/pixel.h"
22
+
23
+ #if defined(__cplusplus) || defined(c_plusplus)
24
+ extern "C" {
25
+ #endif
26
+
27
+ extern MagickExport MagickBooleanType
28
+ AutoGammaImage(Image *,ExceptionInfo *),
29
+ AutoLevelImage(Image *,ExceptionInfo *),
30
+ BrightnessContrastImage(Image *,const double,const double,ExceptionInfo *),
31
+ CLAHEImage(Image *,const size_t,const size_t,const size_t,const double,
32
+ ExceptionInfo *),
33
+ ClutImage(Image *,const Image *,const PixelInterpolateMethod,ExceptionInfo *),
34
+ ColorDecisionListImage(Image *,const char *,ExceptionInfo *),
35
+ ContrastImage(Image *,const MagickBooleanType,ExceptionInfo *),
36
+ ContrastStretchImage(Image *,const double,const double,ExceptionInfo *),
37
+ EqualizeImage(Image *image,ExceptionInfo *),
38
+ GammaImage(Image *,const double,ExceptionInfo *),
39
+ GrayscaleImage(Image *,const PixelIntensityMethod,ExceptionInfo *),
40
+ HaldClutImage(Image *,const Image *,ExceptionInfo *),
41
+ LevelImage(Image *,const double,const double,const double,ExceptionInfo *),
42
+ LevelizeImage(Image *,const double,const double,const double,ExceptionInfo *),
43
+ LevelImageColors(Image *,const PixelInfo *,const PixelInfo *,
44
+ const MagickBooleanType,ExceptionInfo *),
45
+ LinearStretchImage(Image *,const double,const double,ExceptionInfo *),
46
+ ModulateImage(Image *,const char *,ExceptionInfo *),
47
+ NegateImage(Image *,const MagickBooleanType,ExceptionInfo *),
48
+ NormalizeImage(Image *,ExceptionInfo *),
49
+ SigmoidalContrastImage(Image *,const MagickBooleanType,const double,
50
+ const double,ExceptionInfo *),
51
+ WhiteBalanceImage(Image *,ExceptionInfo *);
52
+
53
+ extern MagickExport Image
54
+ *EnhanceImage(const Image *,ExceptionInfo *);
55
+
56
+ #if defined(__cplusplus) || defined(c_plusplus)
57
+ }
58
+ #endif
59
+
60
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/feature.h ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 feature methods.
17
+ */
18
+ #ifndef MAGICKCORE_FEATURE_H
19
+ #define MAGICKCORE_FEATURE_H
20
+
21
+ #if defined(__cplusplus) || defined(c_plusplus)
22
+ extern "C" {
23
+ #endif
24
+
25
+ /*
26
+ Haralick texture features.
27
+ */
28
+ typedef struct _ChannelFeatures
29
+ {
30
+ double
31
+ angular_second_moment[4],
32
+ contrast[4],
33
+ correlation[4],
34
+ variance_sum_of_squares[4],
35
+ inverse_difference_moment[4],
36
+ sum_average[4],
37
+ sum_variance[4],
38
+ sum_entropy[4],
39
+ entropy[4],
40
+ difference_variance[4],
41
+ difference_entropy[4],
42
+ measure_of_correlation_1[4],
43
+ measure_of_correlation_2[4],
44
+ maximum_correlation_coefficient[4];
45
+ } ChannelFeatures;
46
+
47
+ extern MagickExport ChannelFeatures
48
+ *GetImageFeatures(const Image *,const size_t,ExceptionInfo *);
49
+
50
+ extern MagickExport Image
51
+ *CannyEdgeImage(const Image *,const double,const double,const double,
52
+ const double,ExceptionInfo *),
53
+ *HoughLineImage(const Image *,const size_t,const size_t,const size_t,
54
+ ExceptionInfo *),
55
+ *MeanShiftImage(const Image *,const size_t,const size_t,const double,
56
+ ExceptionInfo *);
57
+
58
+ #if defined(__cplusplus) || defined(c_plusplus)
59
+ }
60
+ #endif
61
+
62
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/fourier.h ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Copyright @ 2009 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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 discrete Fourier transform (DFT) methods.
17
+ */
18
+ #ifndef MAGICKCORE_FFT_H
19
+ #define MAGICKCORE_FFT_H
20
+
21
+ #if defined(__cplusplus) || defined(c_plusplus)
22
+ extern "C" {
23
+ #endif
24
+
25
+ typedef enum
26
+ {
27
+ UndefinedComplexOperator,
28
+ AddComplexOperator,
29
+ ConjugateComplexOperator,
30
+ DivideComplexOperator,
31
+ MagnitudePhaseComplexOperator,
32
+ MultiplyComplexOperator,
33
+ RealImaginaryComplexOperator,
34
+ SubtractComplexOperator
35
+ } ComplexOperator;
36
+
37
+ extern MagickExport Image
38
+ *ComplexImages(const Image *,const ComplexOperator,ExceptionInfo *),
39
+ *ForwardFourierTransformImage(const Image *,const MagickBooleanType,
40
+ ExceptionInfo *),
41
+ *InverseFourierTransformImage(const Image *,const Image *,
42
+ const MagickBooleanType,ExceptionInfo *);
43
+
44
+ #if defined(__cplusplus) || defined(c_plusplus)
45
+ }
46
+ #endif
47
+
48
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/geometry.h ADDED
@@ -0,0 +1,169 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Copyright @ 2003 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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 image geometry methods.
17
+ */
18
+ #ifndef MAGICKCORE_GEOMETRY_H
19
+ #define MAGICKCORE_GEOMETRY_H
20
+
21
+ #if defined(__cplusplus) || defined(c_plusplus)
22
+ extern "C" {
23
+ #endif
24
+
25
+ typedef enum
26
+ {
27
+ #undef NoValue
28
+ NoValue = 0x0000,
29
+ #undef XValue
30
+ XValue = 0x0001,
31
+ XiValue = 0x0001,
32
+ #undef YValue
33
+ YValue = 0x0002,
34
+ PsiValue = 0x0002,
35
+ #undef WidthValue
36
+ WidthValue = 0x0004,
37
+ RhoValue = 0x0004,
38
+ #undef HeightValue
39
+ HeightValue = 0x0008,
40
+ SigmaValue = 0x0008,
41
+ ChiValue = 0x0010,
42
+ XiNegative = 0x0020,
43
+ #undef XNegative
44
+ XNegative = 0x0020,
45
+ PsiNegative = 0x0040,
46
+ #undef YNegative
47
+ YNegative = 0x0040,
48
+ ChiNegative = 0x0080,
49
+ PercentValue = 0x1000, /* '%' percentage of something */
50
+ AspectValue = 0x2000, /* '!' resize no-aspect - special use flag */
51
+ NormalizeValue = 0x2000, /* '!' ScaleKernelValue() in morphology.c */
52
+ LessValue = 0x4000, /* '<' resize smaller - special use flag */
53
+ GreaterValue = 0x8000, /* '>' resize larger - spacial use flag */
54
+ MinimumValue = 0x10000, /* '^' special handling needed */
55
+ CorrelateNormalizeValue = 0x10000, /* '^' see ScaleKernelValue() */
56
+ AreaValue = 0x20000, /* '@' resize to area - special use flag */
57
+ DecimalValue = 0x40000, /* '.' floating point numbers found */
58
+ SeparatorValue = 0x80000, /* 'x' separator found */
59
+ AspectRatioValue = 0x100000, /* '~' special handling needed */
60
+ AlphaValue = 0x200000, /* '/' alpha */
61
+ MaximumValue = 0x400000, /* '#' special handling needed */
62
+ #undef AllValues
63
+ AllValues = 0x7fffffff
64
+ } GeometryFlags;
65
+
66
+ #if defined(ForgetGravity)
67
+ #undef ForgetGravity
68
+ #undef NorthWestGravity
69
+ #undef NorthGravity
70
+ #undef NorthEastGravity
71
+ #undef WestGravity
72
+ #undef CenterGravity
73
+ #undef EastGravity
74
+ #undef SouthWestGravity
75
+ #undef SouthGravity
76
+ #undef SouthEastGravity
77
+ #endif
78
+
79
+ typedef enum
80
+ {
81
+ UndefinedGravity,
82
+ ForgetGravity = 0,
83
+ NorthWestGravity = 1,
84
+ NorthGravity = 2,
85
+ NorthEastGravity = 3,
86
+ WestGravity = 4,
87
+ CenterGravity = 5,
88
+ EastGravity = 6,
89
+ SouthWestGravity = 7,
90
+ SouthGravity = 8,
91
+ SouthEastGravity = 9
92
+ } GravityType;
93
+
94
+ typedef struct _AffineMatrix
95
+ {
96
+ double
97
+ sx,
98
+ rx,
99
+ ry,
100
+ sy,
101
+ tx,
102
+ ty;
103
+ } AffineMatrix;
104
+
105
+ typedef struct _GeometryInfo
106
+ {
107
+ double
108
+ rho,
109
+ sigma,
110
+ xi,
111
+ psi,
112
+ chi;
113
+ } GeometryInfo;
114
+
115
+ typedef struct _OffsetInfo
116
+ {
117
+ ssize_t
118
+ x,
119
+ y;
120
+ } OffsetInfo;
121
+
122
+ typedef struct _PointInfo
123
+ {
124
+ double
125
+ x,
126
+ y;
127
+ } PointInfo;
128
+
129
+ typedef struct _RectangleInfo
130
+ {
131
+ size_t
132
+ width,
133
+ height;
134
+
135
+ ssize_t
136
+ x,
137
+ y;
138
+ } RectangleInfo;
139
+
140
+ extern MagickExport char
141
+ *GetPageGeometry(const char *);
142
+
143
+ extern MagickExport MagickBooleanType
144
+ IsGeometry(const char *),
145
+ IsSceneGeometry(const char *,const MagickBooleanType);
146
+
147
+ extern MagickExport MagickStatusType
148
+ GetGeometry(const char *,ssize_t *,ssize_t *,size_t *,size_t *),
149
+ ParseAbsoluteGeometry(const char *,RectangleInfo *),
150
+ ParseAffineGeometry(const char *,AffineMatrix *,ExceptionInfo *),
151
+ ParseGeometry(const char *,GeometryInfo *),
152
+ ParseGravityGeometry(const Image *,const char *,RectangleInfo *,
153
+ ExceptionInfo *),
154
+ ParseMetaGeometry(const char *,ssize_t *,ssize_t *,size_t *,size_t *),
155
+ ParsePageGeometry(const Image *,const char *,RectangleInfo *,ExceptionInfo *),
156
+ ParseRegionGeometry(const Image *,const char *,RectangleInfo *,
157
+ ExceptionInfo *);
158
+
159
+ extern MagickExport void
160
+ GravityAdjustGeometry(const size_t,const size_t,const GravityType,
161
+ RectangleInfo *),
162
+ SetGeometry(const Image *,RectangleInfo *),
163
+ SetGeometryInfo(GeometryInfo *);
164
+
165
+ #if defined(__cplusplus) || defined(c_plusplus)
166
+ }
167
+ #endif
168
+
169
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/histogram.h ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Copyright @ 2009 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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 histogram methods.
17
+ */
18
+ #ifndef MAGICKCORE_HISTOGRAM_H
19
+ #define MAGICKCORE_HISTOGRAM_H
20
+
21
+ #if defined(__cplusplus) || defined(c_plusplus)
22
+ extern "C" {
23
+ #endif
24
+
25
+ extern MagickExport PixelInfo
26
+ *GetImageHistogram(const Image *,size_t *,ExceptionInfo *);
27
+
28
+ extern MagickExport Image
29
+ *UniqueImageColors(const Image *,ExceptionInfo *);
30
+
31
+ extern MagickExport MagickBooleanType
32
+ IdentifyPaletteImage(const Image *,ExceptionInfo *),
33
+ IsHistogramImage(const Image *,ExceptionInfo *),
34
+ IsPaletteImage(const Image *),
35
+ MinMaxStretchImage(Image *,const double,const double,const double,
36
+ ExceptionInfo *);
37
+
38
+ extern MagickExport size_t
39
+ GetNumberColors(const Image *,FILE *,ExceptionInfo *);
40
+
41
+ #if defined(__cplusplus) || defined(c_plusplus)
42
+ }
43
+ #endif
44
+
45
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/image-view.h ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Copyright @ 2003 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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 image view methods.
17
+ */
18
+ #ifndef MAGICKCORE_IMAGE_VIEW_H
19
+ #define MAGICKCORE_IMAGE_VIEW_H
20
+
21
+ #if defined(__cplusplus) || defined(c_plusplus)
22
+ extern "C" {
23
+ #endif
24
+
25
+ typedef struct _ImageView
26
+ ImageView;
27
+
28
+ typedef MagickBooleanType
29
+ (*DuplexTransferImageViewMethod)(const ImageView *,const ImageView *,
30
+ ImageView *,const ssize_t,const int,void *),
31
+ (*GetImageViewMethod)(const ImageView *,const ssize_t,const int,void *),
32
+ (*SetImageViewMethod)(ImageView *,const ssize_t,const int,void *),
33
+ (*TransferImageViewMethod)(const ImageView *,ImageView *,const ssize_t,
34
+ const int,void *),
35
+ (*UpdateImageViewMethod)(ImageView *,const ssize_t,const int,void *);
36
+
37
+ extern MagickExport char
38
+ *GetImageViewException(const ImageView *,ExceptionType *);
39
+
40
+ extern MagickExport const Quantum
41
+ *GetImageViewVirtualPixels(const ImageView *);
42
+
43
+ extern MagickExport const void
44
+ *GetImageViewVirtualMetacontent(const ImageView *);
45
+
46
+ extern MagickExport Image
47
+ *GetImageViewImage(const ImageView *);
48
+
49
+ extern MagickExport ImageView
50
+ *CloneImageView(const ImageView *),
51
+ *DestroyImageView(ImageView *),
52
+ *NewImageView(Image *,ExceptionInfo *),
53
+ *NewImageViewRegion(Image *,const ssize_t,const ssize_t,const size_t,
54
+ const size_t,ExceptionInfo *);
55
+
56
+ extern MagickExport MagickBooleanType
57
+ DuplexTransferImageViewIterator(ImageView *,ImageView *,ImageView *,
58
+ DuplexTransferImageViewMethod,void *),
59
+ GetImageViewIterator(ImageView *,GetImageViewMethod,void *),
60
+ IsImageView(const ImageView *),
61
+ SetImageViewIterator(ImageView *,SetImageViewMethod,void *),
62
+ TransferImageViewIterator(ImageView *,ImageView *,TransferImageViewMethod,
63
+ void *),
64
+ UpdateImageViewIterator(ImageView *,UpdateImageViewMethod,void *);
65
+
66
+ extern MagickExport Quantum
67
+ *GetImageViewAuthenticPixels(const ImageView *);
68
+
69
+ extern MagickExport RectangleInfo
70
+ GetImageViewExtent(const ImageView *);
71
+
72
+ extern MagickExport void
73
+ SetImageViewDescription(ImageView *,const char *),
74
+ SetImageViewThreads(ImageView *,const size_t);
75
+
76
+ extern MagickExport void
77
+ *GetImageViewAuthenticMetacontent(const ImageView *);
78
+
79
+ #if defined(__cplusplus) || defined(c_plusplus)
80
+ }
81
+ #endif
82
+
83
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/image.h ADDED
@@ -0,0 +1,574 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 image methods.
17
+ */
18
+ #ifndef MAGICKCORE_IMAGE_H
19
+ #define MAGICKCORE_IMAGE_H
20
+
21
+ #if defined(__cplusplus) || defined(c_plusplus)
22
+ extern "C" {
23
+ #endif
24
+
25
+ #define OpaqueAlpha ((Quantum) QuantumRange)
26
+ #define TransparentAlpha ((Quantum) 0)
27
+
28
+ typedef enum
29
+ {
30
+ UndefinedAlphaChannel,
31
+ ActivateAlphaChannel,
32
+ AssociateAlphaChannel,
33
+ BackgroundAlphaChannel,
34
+ CopyAlphaChannel,
35
+ DeactivateAlphaChannel,
36
+ DiscreteAlphaChannel,
37
+ DisassociateAlphaChannel,
38
+ ExtractAlphaChannel,
39
+ OffAlphaChannel,
40
+ OnAlphaChannel,
41
+ OpaqueAlphaChannel,
42
+ RemoveAlphaChannel,
43
+ SetAlphaChannel,
44
+ ShapeAlphaChannel,
45
+ TransparentAlphaChannel
46
+ } AlphaChannelOption;
47
+
48
+ typedef enum
49
+ {
50
+ UndefinedType,
51
+ BilevelType,
52
+ GrayscaleType,
53
+ GrayscaleAlphaType,
54
+ PaletteType,
55
+ PaletteAlphaType,
56
+ TrueColorType,
57
+ TrueColorAlphaType,
58
+ ColorSeparationType,
59
+ ColorSeparationAlphaType,
60
+ OptimizeType,
61
+ PaletteBilevelAlphaType
62
+ } ImageType;
63
+
64
+ typedef enum
65
+ {
66
+ UndefinedInterlace,
67
+ NoInterlace,
68
+ LineInterlace,
69
+ PlaneInterlace,
70
+ PartitionInterlace,
71
+ GIFInterlace,
72
+ JPEGInterlace,
73
+ PNGInterlace
74
+ } InterlaceType;
75
+
76
+ typedef enum
77
+ {
78
+ UndefinedOrientation,
79
+ TopLeftOrientation,
80
+ TopRightOrientation,
81
+ BottomRightOrientation,
82
+ BottomLeftOrientation,
83
+ LeftTopOrientation,
84
+ RightTopOrientation,
85
+ RightBottomOrientation,
86
+ LeftBottomOrientation
87
+ } OrientationType;
88
+
89
+ typedef enum
90
+ {
91
+ UndefinedResolution,
92
+ PixelsPerInchResolution,
93
+ PixelsPerCentimeterResolution
94
+ } ResolutionType;
95
+
96
+ typedef struct _PrimaryInfo
97
+ {
98
+ double
99
+ x,
100
+ y,
101
+ z;
102
+ } PrimaryInfo;
103
+
104
+ typedef struct _SegmentInfo
105
+ {
106
+ double
107
+ x1,
108
+ y1,
109
+ x2,
110
+ y2;
111
+ } SegmentInfo;
112
+
113
+ typedef enum
114
+ {
115
+ UndefinedTransmitType,
116
+ FileTransmitType,
117
+ BlobTransmitType,
118
+ StreamTransmitType,
119
+ ImageTransmitType
120
+ } TransmitType;
121
+
122
+ typedef struct _ChromaticityInfo
123
+ {
124
+ PrimaryInfo
125
+ red_primary,
126
+ green_primary,
127
+ blue_primary,
128
+ white_point;
129
+ } ChromaticityInfo;
130
+
131
+ #include "MagickCore/blob.h"
132
+ #include "MagickCore/colorspace.h"
133
+ #include "MagickCore/cache-view.h"
134
+ #include "MagickCore/color.h"
135
+ #include "MagickCore/composite.h"
136
+ #include "MagickCore/compress.h"
137
+ #include "MagickCore/effect.h"
138
+ #include "MagickCore/geometry.h"
139
+ #include "MagickCore/layer.h"
140
+ #include "MagickCore/locale_.h"
141
+ #include "MagickCore/monitor.h"
142
+ #include "MagickCore/pixel.h"
143
+ #include "MagickCore/profile.h"
144
+ #include "MagickCore/quantum.h"
145
+ #include "MagickCore/resample.h"
146
+ #include "MagickCore/resize.h"
147
+ #include "MagickCore/semaphore.h"
148
+ #include "MagickCore/stream.h"
149
+ #include "MagickCore/timer.h"
150
+
151
+ struct _Image
152
+ {
153
+ ClassType
154
+ storage_class;
155
+
156
+ ColorspaceType
157
+ colorspace; /* colorspace of image data */
158
+
159
+ CompressionType
160
+ compression; /* compression of image when read/write */
161
+
162
+ size_t
163
+ quality; /* compression quality setting, meaning varies */
164
+
165
+ OrientationType
166
+ orientation; /* photo orientation of image */
167
+
168
+ MagickBooleanType
169
+ taint; /* has image been modified since reading */
170
+
171
+ size_t
172
+ columns, /* physical size of image */
173
+ rows,
174
+ depth, /* depth of image on read/write */
175
+ colors; /* Size of color table, or actual color count */
176
+ /* Only valid if image is not DirectClass */
177
+
178
+ PixelInfo
179
+ *colormap,
180
+ alpha_color, /* deprecated */
181
+ background_color, /* current background color attribute */
182
+ border_color, /* current bordercolor attribute */
183
+ transparent_color; /* color for 'transparent' color index in GIF */
184
+
185
+ double
186
+ gamma;
187
+
188
+ ChromaticityInfo
189
+ chromaticity;
190
+
191
+ RenderingIntent
192
+ rendering_intent;
193
+
194
+ void
195
+ *profiles;
196
+
197
+ ResolutionType
198
+ units; /* resolution/density ppi or ppc */
199
+
200
+ char
201
+ *montage,
202
+ *directory,
203
+ *geometry;
204
+
205
+ ssize_t
206
+ offset; /* ??? */
207
+
208
+ PointInfo
209
+ resolution; /* image resolution/density */
210
+
211
+ RectangleInfo
212
+ page, /* virtual canvas size and offset of image */
213
+ extract_info;
214
+
215
+ double
216
+ fuzz; /* current color fuzz attribute - move to image_info */
217
+
218
+ FilterType
219
+ filter; /* resize/distort filter to apply */
220
+
221
+ PixelIntensityMethod
222
+ intensity; /* method to generate an intensity value from a pixel */
223
+
224
+ InterlaceType
225
+ interlace;
226
+
227
+ EndianType
228
+ endian; /* raw data integer ordering on read/write */
229
+
230
+ GravityType
231
+ gravity; /* Gravity attribute for positioning in image */
232
+
233
+ CompositeOperator
234
+ compose; /* alpha composition method for layered images */
235
+
236
+ DisposeType
237
+ dispose; /* GIF animation disposal method */
238
+
239
+ size_t
240
+ scene, /* index of image in multi-image file */
241
+ delay, /* Animation delay time */
242
+ duration; /* Total animation duration sum(delay*iterations) */
243
+
244
+ ssize_t
245
+ ticks_per_second; /* units for delay time, default 100 for GIF */
246
+
247
+ size_t
248
+ iterations, /* number of interactions for GIF animations */
249
+ total_colors;
250
+
251
+ ssize_t
252
+ start_loop; /* ??? */
253
+
254
+ PixelInterpolateMethod
255
+ interpolate; /* Interpolation of color for between pixel lookups */
256
+
257
+ MagickBooleanType
258
+ black_point_compensation;
259
+
260
+ RectangleInfo
261
+ tile_offset;
262
+
263
+ ImageType
264
+ type;
265
+
266
+ MagickBooleanType
267
+ dither; /* dithering on/off */
268
+
269
+ MagickSizeType
270
+ extent; /* Size of image read from disk */
271
+
272
+ MagickBooleanType
273
+ ping; /* no image data read, just attributes */
274
+
275
+ MagickBooleanType
276
+ read_mask,
277
+ write_mask;
278
+
279
+ PixelTrait
280
+ alpha_trait; /* is transparency channel defined and active */
281
+
282
+ size_t
283
+ number_channels,
284
+ number_meta_channels,
285
+ metacontent_extent;
286
+
287
+ ChannelType
288
+ channel_mask;
289
+
290
+ PixelChannelMap
291
+ *channel_map;
292
+
293
+ void
294
+ *cache;
295
+
296
+ ErrorInfo
297
+ error;
298
+
299
+ TimerInfo
300
+ timer;
301
+
302
+ MagickProgressMonitor
303
+ progress_monitor;
304
+
305
+ void
306
+ *client_data;
307
+
308
+ Ascii85Info
309
+ *ascii85;
310
+
311
+ ProfileInfo
312
+ *generic_profile;
313
+
314
+ void
315
+ *properties, /* general settings, to save with image */
316
+ *artifacts; /* general operational/coder settings, not saved */
317
+
318
+ char
319
+ filename[MagickPathExtent], /* images input filename */
320
+ magick_filename[MagickPathExtent], /* given image filename (with read mods) */
321
+ magick[MagickPathExtent]; /* images file format (file magic) */
322
+
323
+ size_t
324
+ magick_columns, /* size of image when read/created */
325
+ magick_rows;
326
+
327
+ BlobInfo
328
+ *blob; /* image file as in-memory string of 'extent' */
329
+
330
+ time_t
331
+ timestamp;
332
+
333
+ MagickBooleanType
334
+ debug; /* debug output attribute */
335
+
336
+ volatile ssize_t
337
+ reference_count; /* image data sharing memory management */
338
+
339
+ SemaphoreInfo
340
+ *semaphore;
341
+
342
+ struct _ImageInfo
343
+ *image_info; /* (Optional) Image belongs to this ImageInfo 'list'
344
+ * For access to 'global options' when no per-image
345
+ * attribute, prosperity, or artifact has been set.
346
+ */
347
+
348
+ struct _Image
349
+ *list, /* Undo/Redo image processing list (for display) */
350
+ *previous, /* Image list links */
351
+ *next;
352
+
353
+ size_t
354
+ signature;
355
+
356
+ PixelInfo
357
+ matte_color; /* current mattecolor attribute */
358
+
359
+ MagickBooleanType
360
+ composite_mask;
361
+
362
+ PixelTrait
363
+ mask_trait; /* apply the clip or composite mask */
364
+
365
+ ChannelType
366
+ channels;
367
+ };
368
+
369
+ /*
370
+ ImageInfo structure:
371
+ Stores an image list, as well as all global settings used by all images
372
+ held, -- unless overridden for that specific image. See SyncImagesettings()
373
+ which maps any global setting that always overrides specific image settings.
374
+ */
375
+ struct _ImageInfo
376
+ {
377
+ CompressionType
378
+ compression; /* compression method when reading/saving image */
379
+
380
+ OrientationType
381
+ orientation; /* orientation setting */
382
+
383
+ MagickBooleanType
384
+ temporary, /* image file to be deleted after read "ephemeral:" */
385
+ adjoin, /* save images to separate scene files */
386
+ affirm,
387
+ antialias;
388
+
389
+ char
390
+ *size, /* image generation size */
391
+ *extract, /* crop/resize string on image read */
392
+ *page,
393
+ *scenes; /* scene numbers that is to be read in */
394
+
395
+ size_t
396
+ scene, /* starting value for image save numbering */
397
+ number_scenes, /* total number of images in list - for escapes */
398
+ depth; /* current read/save depth of images */
399
+
400
+ InterlaceType
401
+ interlace; /* interlace for image write */
402
+
403
+ EndianType
404
+ endian; /* integer endian order for raw image data */
405
+
406
+ ResolutionType
407
+ units; /* density pixels/inch or pixel/cm */
408
+
409
+ size_t
410
+ quality; /* compression quality */
411
+
412
+ char
413
+ *sampling_factor, /* Chroma subsampling ratio string */
414
+ *server_name, /* X windows server name - display/animate */
415
+ *font, /* DUP for draw_info */
416
+ *texture, /* montage/display background tile */
417
+ *density; /* DUP for image and draw_info */
418
+
419
+ double
420
+ pointsize,
421
+ fuzz; /* current color fuzz attribute */
422
+
423
+ PixelInfo
424
+ alpha_color, /* deprecated */
425
+ background_color, /* user set background color */
426
+ border_color, /* user set border color */
427
+ transparent_color; /* color for transparent index in color tables */
428
+ /* NB: fill color is only needed in draw_info! */
429
+ /* the same for undercolor (for font drawing) */
430
+
431
+ MagickBooleanType
432
+ dither, /* dither enable-disable */
433
+ monochrome; /* read/write pcl,pdf,ps,xps as monochrome image */
434
+
435
+ ColorspaceType
436
+ colorspace;
437
+
438
+ CompositeOperator
439
+ compose;
440
+
441
+ ImageType
442
+ type;
443
+
444
+ MagickBooleanType
445
+ ping, /* fast read image attributes, not image data */
446
+ verbose; /* verbose output enable/disable */
447
+
448
+ ChannelType
449
+ channel;
450
+
451
+ void
452
+ *options; /* splay tree of global options */
453
+
454
+ void
455
+ *profile;
456
+
457
+ MagickBooleanType
458
+ synchronize;
459
+
460
+ MagickProgressMonitor
461
+ progress_monitor;
462
+
463
+ void
464
+ *client_data,
465
+ *cache;
466
+
467
+ StreamHandler
468
+ stream;
469
+
470
+ FILE
471
+ *file;
472
+
473
+ void
474
+ *blob;
475
+
476
+ size_t
477
+ length;
478
+
479
+ char
480
+ magick[MagickPathExtent], /* image file format (file magick) */
481
+ unique[MagickPathExtent], /* unique temporary filename - delegates */
482
+ filename[MagickPathExtent]; /* filename when reading/writing image */
483
+
484
+ MagickBooleanType
485
+ debug;
486
+
487
+ size_t
488
+ signature;
489
+
490
+ CustomStreamInfo
491
+ *custom_stream;
492
+
493
+ PixelInfo
494
+ matte_color; /* matte (frame) color */
495
+ };
496
+
497
+ extern MagickExport ChannelType
498
+ SetImageChannelMask(Image *,const ChannelType);
499
+
500
+ extern MagickExport ExceptionType
501
+ CatchImageException(Image *);
502
+
503
+ extern MagickExport FILE
504
+ *GetImageInfoFile(const ImageInfo *);
505
+
506
+ extern MagickExport Image
507
+ *AcquireImage(const ImageInfo *,ExceptionInfo *),
508
+ *AppendImages(const Image *,const MagickBooleanType,ExceptionInfo *),
509
+ *CloneImage(const Image *,const size_t,const size_t,const MagickBooleanType,
510
+ ExceptionInfo *),
511
+ *DestroyImage(Image *),
512
+ *GetImageMask(const Image *,const PixelMask,ExceptionInfo *),
513
+ *NewMagickImage(const ImageInfo *,const size_t,const size_t,const PixelInfo *,
514
+ ExceptionInfo *),
515
+ *ReferenceImage(Image *),
516
+ *SmushImages(const Image *,const MagickBooleanType,const ssize_t,
517
+ ExceptionInfo *);
518
+
519
+ extern MagickExport ImageInfo
520
+ *AcquireImageInfo(void),
521
+ *CloneImageInfo(const ImageInfo *),
522
+ *DestroyImageInfo(ImageInfo *);
523
+
524
+ extern MagickExport MagickBooleanType
525
+ ClipImage(Image *,ExceptionInfo *),
526
+ ClipImagePath(Image *,const char *,const MagickBooleanType,ExceptionInfo *),
527
+ CopyImagePixels(Image *,const Image *,const RectangleInfo *,
528
+ const OffsetInfo *,ExceptionInfo *),
529
+ IsTaintImage(const Image *),
530
+ IsHighDynamicRangeImage(const Image *,ExceptionInfo *),
531
+ IsImageObject(const Image *),
532
+ ListMagickInfo(FILE *,ExceptionInfo *),
533
+ ModifyImage(Image **,ExceptionInfo *),
534
+ ResetImagePage(Image *,const char *),
535
+ ResetImagePixels(Image *,ExceptionInfo *),
536
+ SetImageAlpha(Image *,const Quantum,ExceptionInfo *),
537
+ SetImageBackgroundColor(Image *,ExceptionInfo *),
538
+ SetImageColor(Image *,const PixelInfo *,ExceptionInfo *),
539
+ SetImageExtent(Image *,const size_t,const size_t,ExceptionInfo *),
540
+ SetImageInfo(ImageInfo *,const unsigned int,ExceptionInfo *),
541
+ SetImageMask(Image *,const PixelMask type,const Image *,ExceptionInfo *),
542
+ SetImageRegionMask(Image *,const PixelMask type,const RectangleInfo *,
543
+ ExceptionInfo *),
544
+ SetImageStorageClass(Image *,const ClassType,ExceptionInfo *),
545
+ StripImage(Image *,ExceptionInfo *),
546
+ SyncImage(Image *,ExceptionInfo *),
547
+ SyncImageSettings(const ImageInfo *,Image *,ExceptionInfo *),
548
+ SyncImagesSettings(ImageInfo *,Image *,ExceptionInfo *);
549
+
550
+ extern MagickExport size_t
551
+ InterpretImageFilename(const ImageInfo *,Image *,const char *,int,char *,
552
+ ExceptionInfo *);
553
+
554
+ extern MagickExport ssize_t
555
+ GetImageReferenceCount(Image *);
556
+
557
+ extern MagickExport VirtualPixelMethod
558
+ GetImageVirtualPixelMethod(const Image *),
559
+ SetImageVirtualPixelMethod(Image *,const VirtualPixelMethod,ExceptionInfo *);
560
+
561
+ extern MagickExport void
562
+ AcquireNextImage(const ImageInfo *,Image *,ExceptionInfo *),
563
+ DestroyImagePixels(Image *),
564
+ DisassociateImageStream(Image *),
565
+ GetImageInfo(ImageInfo *),
566
+ SetImageInfoBlob(ImageInfo *,const void *,const size_t),
567
+ SetImageInfoFile(ImageInfo *,FILE *),
568
+ SetImageInfoCustomStream(ImageInfo *,CustomStreamInfo *);
569
+
570
+ #if defined(__cplusplus) || defined(c_plusplus)
571
+ }
572
+ #endif
573
+
574
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/layer.h ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Copyright @ 2006 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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 image layer methods.
17
+ */
18
+ #ifndef MAGICKCORE_LAYER_H
19
+ #define MAGICKCORE_LAYER_H
20
+
21
+ #include "MagickCore/composite.h"
22
+
23
+ #if defined(__cplusplus) || defined(c_plusplus)
24
+ extern "C" {
25
+ #endif
26
+
27
+ typedef enum
28
+ {
29
+ UnrecognizedDispose,
30
+ UndefinedDispose = 0,
31
+ NoneDispose = 1,
32
+ BackgroundDispose = 2,
33
+ PreviousDispose = 3
34
+ } DisposeType;
35
+
36
+ typedef enum
37
+ {
38
+ UndefinedLayer,
39
+ CoalesceLayer,
40
+ CompareAnyLayer,
41
+ CompareClearLayer,
42
+ CompareOverlayLayer,
43
+ DisposeLayer,
44
+ OptimizeLayer,
45
+ OptimizeImageLayer,
46
+ OptimizePlusLayer,
47
+ OptimizeTransLayer,
48
+ RemoveDupsLayer,
49
+ RemoveZeroLayer,
50
+ CompositeLayer,
51
+ MergeLayer,
52
+ FlattenLayer,
53
+ MosaicLayer,
54
+ TrimBoundsLayer
55
+ } LayerMethod;
56
+
57
+ extern MagickExport Image
58
+ *CoalesceImages(const Image *,ExceptionInfo *),
59
+ *DisposeImages(const Image *,ExceptionInfo *),
60
+ *CompareImagesLayers(const Image *,const LayerMethod,ExceptionInfo *),
61
+ *MergeImageLayers(Image *,const LayerMethod,ExceptionInfo *),
62
+ *OptimizeImageLayers(const Image *,ExceptionInfo *),
63
+ *OptimizePlusImageLayers(const Image *,ExceptionInfo *);
64
+
65
+ extern MagickExport void
66
+ CompositeLayers(Image *,const CompositeOperator,Image *,const ssize_t,
67
+ const ssize_t,ExceptionInfo *),
68
+ OptimizeImageTransparency(const Image *,ExceptionInfo *),
69
+ RemoveDuplicateLayers(Image **,ExceptionInfo *),
70
+ RemoveZeroDelayLayers(Image **,ExceptionInfo *);
71
+
72
+ #if defined(__cplusplus) || defined(c_plusplus)
73
+ }
74
+ #endif
75
+
76
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/linked-list.h ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Copyright @ 2002 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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 linked list methods.
17
+ */
18
+ #ifndef MAGICKCORE_LINKED_LIST_H
19
+ #define MAGICKCORE_LINKED_LIST_H
20
+
21
+ #if defined(__cplusplus) || defined(c_plusplus)
22
+ extern "C" {
23
+ #endif
24
+
25
+ typedef struct _LinkedListInfo
26
+ LinkedListInfo;
27
+
28
+ extern MagickExport LinkedListInfo
29
+ *DestroyLinkedList(LinkedListInfo *,void *(*)(void *)),
30
+ *NewLinkedList(const size_t);
31
+
32
+ extern MagickExport MagickBooleanType
33
+ AppendValueToLinkedList(LinkedListInfo *,const void *),
34
+ InsertValueInLinkedList(LinkedListInfo *,const size_t,const void *),
35
+ InsertValueInSortedLinkedList(LinkedListInfo *,
36
+ int (*)(const void *,const void *),void **,const void *),
37
+ IsLinkedListEmpty(const LinkedListInfo *),
38
+ LinkedListToArray(LinkedListInfo *,void **);
39
+
40
+ extern MagickExport size_t
41
+ GetNumberOfElementsInLinkedList(const LinkedListInfo *);
42
+
43
+ extern MagickExport void
44
+ ClearLinkedList(LinkedListInfo *,void *(*)(void *)),
45
+ *GetLastValueInLinkedList(LinkedListInfo *),
46
+ *GetNextValueInLinkedList(LinkedListInfo *),
47
+ *GetValueFromLinkedList(LinkedListInfo *,const size_t),
48
+ *RemoveElementByValueFromLinkedList(LinkedListInfo *,const void *),
49
+ *RemoveElementFromLinkedList(LinkedListInfo *,const size_t),
50
+ *RemoveLastElementFromLinkedList(LinkedListInfo *),
51
+ ResetLinkedListIterator(LinkedListInfo *);
52
+
53
+ #if defined(__cplusplus) || defined(c_plusplus)
54
+ }
55
+ #endif
56
+
57
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/list.h ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Copyright @ 2002 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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 image list methods.
17
+ */
18
+ #ifndef MAGICKCORE_LIST_H
19
+ #define MAGICKCORE_LIST_H
20
+
21
+ #if defined(__cplusplus) || defined(c_plusplus)
22
+ extern "C" {
23
+ #endif
24
+
25
+ extern MagickExport Image
26
+ *CloneImageList(const Image *,ExceptionInfo *),
27
+ *CloneImages(const Image *,const char *,ExceptionInfo *),
28
+ *DestroyImageList(Image *),
29
+ *DuplicateImages(Image *,const size_t,const char *,ExceptionInfo *),
30
+ *GetFirstImageInList(const Image *) magick_attribute((__pure__)),
31
+ *GetImageFromList(const Image *,const ssize_t) magick_attribute((__pure__)),
32
+ *GetLastImageInList(const Image *) magick_attribute((__pure__)),
33
+ *GetNextImageInList(const Image *) magick_attribute((__pure__)),
34
+ *GetPreviousImageInList(const Image *) magick_attribute((__pure__)),
35
+ **ImageListToArray(const Image *,ExceptionInfo *),
36
+ *NewImageList(void) magick_attribute((__const__)),
37
+ *RemoveImageFromList(Image **),
38
+ *RemoveLastImageFromList(Image **),
39
+ *RemoveFirstImageFromList(Image **),
40
+ *SpliceImageIntoList(Image **,const size_t,const Image *),
41
+ *SplitImageList(Image *),
42
+ *SyncNextImageInList(const Image *);
43
+
44
+ extern MagickExport size_t
45
+ GetImageListLength(const Image *) magick_attribute((__pure__));
46
+
47
+ extern MagickExport ssize_t
48
+ GetImageIndexInList(const Image *) magick_attribute((__pure__));
49
+
50
+ extern MagickExport void
51
+ AppendImageToList(Image **,const Image *),
52
+ DeleteImageFromList(Image **),
53
+ DeleteImages(Image **,const char *,ExceptionInfo *),
54
+ InsertImageInList(Image **,Image *),
55
+ PrependImageToList(Image **,Image *),
56
+ ReplaceImageInList(Image **,Image *),
57
+ ReplaceImageInListReturnLast(Image **,Image *),
58
+ ReverseImageList(Image **),
59
+ SyncImageList(Image *);
60
+
61
+ #if defined(__cplusplus) || defined(c_plusplus)
62
+ }
63
+ #endif
64
+
65
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/magick-baseconfig.h ADDED
@@ -0,0 +1,1698 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #ifndef _MAGICKCORE_MAGICK_BASECONFIG_H
2
+ #define _MAGICKCORE_MAGICK_BASECONFIG_H 1
3
+
4
+ /* MagickCore/magick-baseconfig.h. Generated automatically at end of configure. */
5
+ /* config/config.h. Generated from config.h.in by configure. */
6
+ /* config/config.h.in. Generated from configure.ac by autoheader. */
7
+
8
+ /* Define if building universal (internal helper macro) */
9
+ /* #undef AC_APPLE_UNIVERSAL_BUILD */
10
+
11
+ /* Define if you have AUTOTRACE library */
12
+ /* #undef AUTOTRACE_DELEGATE */
13
+
14
+ /* Define if coders and filters are to be built as modules. */
15
+ /* #undef BUILD_MODULES */
16
+
17
+ /* Define if you have the bzip2 library */
18
+ #ifndef MAGICKCORE_BZLIB_DELEGATE
19
+ #define MAGICKCORE_BZLIB_DELEGATE 1
20
+ #endif
21
+
22
+ /* Define if you have CAIRO library */
23
+ #ifndef MAGICKCORE_CAIRO_DELEGATE
24
+ #define MAGICKCORE_CAIRO_DELEGATE 1
25
+ #endif
26
+
27
+ /* permit enciphering and deciphering image pixels */
28
+ #ifndef MAGICKCORE_CIPHER_SUPPORT
29
+ #define MAGICKCORE_CIPHER_SUPPORT 1
30
+ #endif
31
+
32
+ /* Define to 1 if the `closedir' function returns void instead of int. */
33
+ /* #undef CLOSEDIR_VOID */
34
+
35
+ /* coders subdirectory. */
36
+ #ifndef MAGICKCORE_CODER_DIRNAME
37
+ #define MAGICKCORE_CODER_DIRNAME "coders"
38
+ #endif
39
+
40
+ /* Directory where architecture-dependent configuration files live. */
41
+ #ifndef MAGICKCORE_CONFIGURE_PATH
42
+ #define MAGICKCORE_CONFIGURE_PATH "/home/zangyihe/miniconda3/etc/ImageMagick-7/"
43
+ #endif
44
+
45
+ /* Subdirectory of lib where architecture-dependent configuration files live.
46
+ */
47
+ #ifndef MAGICKCORE_CONFIGURE_RELATIVE_PATH
48
+ #define MAGICKCORE_CONFIGURE_RELATIVE_PATH "ImageMagick-7"
49
+ #endif
50
+
51
+ /* Define if you have DJVU library */
52
+ /* #undef DJVU_DELEGATE */
53
+
54
+ /* Directory where ImageMagick documents live. */
55
+ #ifndef MAGICKCORE_DOCUMENTATION_PATH
56
+ #define MAGICKCORE_DOCUMENTATION_PATH "/home/zangyihe/miniconda3/share/doc/ImageMagick-7/"
57
+ #endif
58
+
59
+ /* Define if you have Display Postscript */
60
+ /* #undef DPS_DELEGATE */
61
+
62
+ /* exclude deprecated methods in MagickCore API */
63
+ /* #undef EXCLUDE_DEPRECATED */
64
+
65
+ /* Directory where executables are installed. */
66
+ #ifndef MAGICKCORE_EXECUTABLE_PATH
67
+ #define MAGICKCORE_EXECUTABLE_PATH "/home/zangyihe/miniconda3/bin/"
68
+ #endif
69
+
70
+ /* Define if you have FFTW library */
71
+ #ifndef MAGICKCORE_FFTW_DELEGATE
72
+ #define MAGICKCORE_FFTW_DELEGATE 1
73
+ #endif
74
+
75
+ /* filter subdirectory. */
76
+ #ifndef MAGICKCORE_FILTER_DIRNAME
77
+ #define MAGICKCORE_FILTER_DIRNAME "filters"
78
+ #endif
79
+
80
+ /* Define if you have FLIF library */
81
+ /* #undef FLIF_DELEGATE */
82
+
83
+ /* Define if you have FONTCONFIG library */
84
+ #ifndef MAGICKCORE_FONTCONFIG_DELEGATE
85
+ #define MAGICKCORE_FONTCONFIG_DELEGATE 1
86
+ #endif
87
+
88
+ /* Define if you have FlashPIX library */
89
+ /* #undef FPX_DELEGATE */
90
+
91
+ /* Define if you have FREETYPE library */
92
+ #ifndef MAGICKCORE_FREETYPE_DELEGATE
93
+ #define MAGICKCORE_FREETYPE_DELEGATE 1
94
+ #endif
95
+
96
+ /* Define if you have Ghostscript library or framework */
97
+ /* #undef GS_DELEGATE */
98
+
99
+ /* Define if you have GVC library */
100
+ #ifndef MAGICKCORE_GVC_DELEGATE
101
+ #define MAGICKCORE_GVC_DELEGATE 1
102
+ #endif
103
+
104
+ /* Define to 1 if you have the `acosh' function. */
105
+ #ifndef MAGICKCORE_HAVE_ACOSH
106
+ #define MAGICKCORE_HAVE_ACOSH 1
107
+ #endif
108
+
109
+ /* Define to 1 if you have the `aligned_malloc' function. */
110
+ /* #undef HAVE_ALIGNED_MALLOC */
111
+
112
+ /* Define to 1 if you have the <arm/limits.h> header file. */
113
+ /* #undef HAVE_ARM_LIMITS_H */
114
+
115
+ /* Define to 1 if you have the <arpa/inet.h> header file. */
116
+ #ifndef MAGICKCORE_HAVE_ARPA_INET_H
117
+ #define MAGICKCORE_HAVE_ARPA_INET_H 1
118
+ #endif
119
+
120
+ /* Define to 1 if you have the `asinh' function. */
121
+ #ifndef MAGICKCORE_HAVE_ASINH
122
+ #define MAGICKCORE_HAVE_ASINH 1
123
+ #endif
124
+
125
+ /* Define to 1 if you have the `atanh' function. */
126
+ #ifndef MAGICKCORE_HAVE_ATANH
127
+ #define MAGICKCORE_HAVE_ATANH 1
128
+ #endif
129
+
130
+ /* Define to 1 if you have the `atexit' function. */
131
+ #ifndef MAGICKCORE_HAVE_ATEXIT
132
+ #define MAGICKCORE_HAVE_ATEXIT 1
133
+ #endif
134
+
135
+ /* Define to 1 if you have the `atoll' function. */
136
+ #ifndef MAGICKCORE_HAVE_ATOLL
137
+ #define MAGICKCORE_HAVE_ATOLL 1
138
+ #endif
139
+
140
+ /* define if bool is a built-in type */
141
+ #ifndef MAGICKCORE_HAVE_BOOL
142
+ #define MAGICKCORE_HAVE_BOOL /**/
143
+ #endif
144
+
145
+ /* Define to 1 if you have the `cabs' function. */
146
+ #ifndef MAGICKCORE_HAVE_CABS
147
+ #define MAGICKCORE_HAVE_CABS 1
148
+ #endif
149
+
150
+ /* Define to 1 if you have the `carg' function. */
151
+ #ifndef MAGICKCORE_HAVE_CARG
152
+ #define MAGICKCORE_HAVE_CARG 1
153
+ #endif
154
+
155
+ /* Define to 1 if you have the `cimag' function. */
156
+ #ifndef MAGICKCORE_HAVE_CIMAG
157
+ #define MAGICKCORE_HAVE_CIMAG 1
158
+ #endif
159
+
160
+ /* Define to 1 if you have the `clock' function. */
161
+ #ifndef MAGICKCORE_HAVE_CLOCK
162
+ #define MAGICKCORE_HAVE_CLOCK 1
163
+ #endif
164
+
165
+ /* Define to 1 if you have the `clock_getres' function. */
166
+ #ifndef MAGICKCORE_HAVE_CLOCK_GETRES
167
+ #define MAGICKCORE_HAVE_CLOCK_GETRES 1
168
+ #endif
169
+
170
+ /* Define to 1 if you have the `clock_gettime' function. */
171
+ #ifndef MAGICKCORE_HAVE_CLOCK_GETTIME
172
+ #define MAGICKCORE_HAVE_CLOCK_GETTIME 1
173
+ #endif
174
+
175
+ /* Define to 1 if clock_gettime supports CLOCK_REALTIME. */
176
+ #ifndef MAGICKCORE_HAVE_CLOCK_REALTIME
177
+ #define MAGICKCORE_HAVE_CLOCK_REALTIME 1
178
+ #endif
179
+
180
+ /* Define to 1 if you have the <CL/cl.h> header file. */
181
+ /* #undef HAVE_CL_CL_H */
182
+
183
+ /* Define to 1 if you have the <complex.h> header file. */
184
+ #ifndef MAGICKCORE_HAVE_COMPLEX_H
185
+ #define MAGICKCORE_HAVE_COMPLEX_H 1
186
+ #endif
187
+
188
+ /* Define to 1 if you have the `creal' function. */
189
+ #ifndef MAGICKCORE_HAVE_CREAL
190
+ #define MAGICKCORE_HAVE_CREAL 1
191
+ #endif
192
+
193
+ /* Define to 1 if you have the `ctime_r' function. */
194
+ #ifndef MAGICKCORE_HAVE_CTIME_R
195
+ #define MAGICKCORE_HAVE_CTIME_R 1
196
+ #endif
197
+
198
+ /* Define to 1 if you have the declaration of `pread', and to 0 if you don't.
199
+ */
200
+ #ifndef MAGICKCORE_HAVE_DECL_PREAD
201
+ #define MAGICKCORE_HAVE_DECL_PREAD 1
202
+ #endif
203
+
204
+ /* Define to 1 if you have the declaration of `pwrite', and to 0 if you don't.
205
+ */
206
+ #ifndef MAGICKCORE_HAVE_DECL_PWRITE
207
+ #define MAGICKCORE_HAVE_DECL_PWRITE 1
208
+ #endif
209
+
210
+ /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
211
+ don't. */
212
+ #ifndef MAGICKCORE_HAVE_DECL_STRERROR_R
213
+ #define MAGICKCORE_HAVE_DECL_STRERROR_R 1
214
+ #endif
215
+
216
+ /* Define to 1 if you have the declaration of `strlcpy', and to 0 if you
217
+ don't. */
218
+ #ifndef MAGICKCORE_HAVE_DECL_STRLCPY
219
+ #define MAGICKCORE_HAVE_DECL_STRLCPY 0
220
+ #endif
221
+
222
+ /* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.
223
+ */
224
+ /* #undef HAVE_DECL_TZNAME */
225
+
226
+ /* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you
227
+ don't. */
228
+ #ifndef MAGICKCORE_HAVE_DECL_VSNPRINTF
229
+ #define MAGICKCORE_HAVE_DECL_VSNPRINTF 1
230
+ #endif
231
+
232
+ /* Define to 1 if you have the `directio' function. */
233
+ /* #undef HAVE_DIRECTIO */
234
+
235
+ /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
236
+ */
237
+ #ifndef MAGICKCORE_HAVE_DIRENT_H
238
+ #define MAGICKCORE_HAVE_DIRENT_H 1
239
+ #endif
240
+
241
+ /* Define to 1 if you have the <dlfcn.h> header file. */
242
+ #ifndef MAGICKCORE_HAVE_DLFCN_H
243
+ #define MAGICKCORE_HAVE_DLFCN_H 1
244
+ #endif
245
+
246
+ /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
247
+ /* #undef HAVE_DOPRNT */
248
+
249
+ /* Define to 1 if you have the `erf' function. */
250
+ #ifndef MAGICKCORE_HAVE_ERF
251
+ #define MAGICKCORE_HAVE_ERF 1
252
+ #endif
253
+
254
+ /* Define to 1 if you have the <errno.h> header file. */
255
+ #ifndef MAGICKCORE_HAVE_ERRNO_H
256
+ #define MAGICKCORE_HAVE_ERRNO_H 1
257
+ #endif
258
+
259
+ /* Define to 1 if you have the `execvp' function. */
260
+ #ifndef MAGICKCORE_HAVE_EXECVP
261
+ #define MAGICKCORE_HAVE_EXECVP 1
262
+ #endif
263
+
264
+ /* Define to 1 if you have the `fchmod' function. */
265
+ #ifndef MAGICKCORE_HAVE_FCHMOD
266
+ #define MAGICKCORE_HAVE_FCHMOD 1
267
+ #endif
268
+
269
+ /* Define to 1 if you have the <fcntl.h> header file. */
270
+ #ifndef MAGICKCORE_HAVE_FCNTL_H
271
+ #define MAGICKCORE_HAVE_FCNTL_H 1
272
+ #endif
273
+
274
+ /* Define to 1 if you have the <float.h> header file. */
275
+ #ifndef MAGICKCORE_HAVE_FLOAT_H
276
+ #define MAGICKCORE_HAVE_FLOAT_H 1
277
+ #endif
278
+
279
+ /* Define to 1 if you have the `floor' function. */
280
+ #ifndef MAGICKCORE_HAVE_FLOOR
281
+ #define MAGICKCORE_HAVE_FLOOR 1
282
+ #endif
283
+
284
+ /* Define to 1 if you have the `fork' function. */
285
+ #ifndef MAGICKCORE_HAVE_FORK
286
+ #define MAGICKCORE_HAVE_FORK 1
287
+ #endif
288
+
289
+ /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
290
+ #ifndef MAGICKCORE_HAVE_FSEEKO
291
+ #define MAGICKCORE_HAVE_FSEEKO 1
292
+ #endif
293
+
294
+ /* Define to 1 if you have the `ftime' function. */
295
+ #ifndef MAGICKCORE_HAVE_FTIME
296
+ #define MAGICKCORE_HAVE_FTIME 1
297
+ #endif
298
+
299
+ /* Define to 1 if you have the `ftruncate' function. */
300
+ #ifndef MAGICKCORE_HAVE_FTRUNCATE
301
+ #define MAGICKCORE_HAVE_FTRUNCATE 1
302
+ #endif
303
+
304
+ /* Define to 1 if you have the `getcwd' function. */
305
+ #ifndef MAGICKCORE_HAVE_GETCWD
306
+ #define MAGICKCORE_HAVE_GETCWD 1
307
+ #endif
308
+
309
+ /* Define to 1 if you have the `getc_unlocked' function. */
310
+ #ifndef MAGICKCORE_HAVE_GETC_UNLOCKED
311
+ #define MAGICKCORE_HAVE_GETC_UNLOCKED 1
312
+ #endif
313
+
314
+ /* Define to 1 if you have the `getdtablesize' function. */
315
+ #ifndef MAGICKCORE_HAVE_GETDTABLESIZE
316
+ #define MAGICKCORE_HAVE_GETDTABLESIZE 1
317
+ #endif
318
+
319
+ /* Define to 1 if you have the `getentropy' function. */
320
+ /* #undef HAVE_GETENTROPY */
321
+
322
+ /* Define to 1 if you have the `getexecname' function. */
323
+ /* #undef HAVE_GETEXECNAME */
324
+
325
+ /* Define to 1 if you have the `getpagesize' function. */
326
+ #ifndef MAGICKCORE_HAVE_GETPAGESIZE
327
+ #define MAGICKCORE_HAVE_GETPAGESIZE 1
328
+ #endif
329
+
330
+ /* Define to 1 if you have the `getpid' function. */
331
+ #ifndef MAGICKCORE_HAVE_GETPID
332
+ #define MAGICKCORE_HAVE_GETPID 1
333
+ #endif
334
+
335
+ /* Define to 1 if you have the `getpwnam_r' function. */
336
+ #ifndef MAGICKCORE_HAVE_GETPWNAM_R
337
+ #define MAGICKCORE_HAVE_GETPWNAM_R 1
338
+ #endif
339
+
340
+ /* Define to 1 if you have the `getrlimit' function. */
341
+ #ifndef MAGICKCORE_HAVE_GETRLIMIT
342
+ #define MAGICKCORE_HAVE_GETRLIMIT 1
343
+ #endif
344
+
345
+ /* Define to 1 if you have the `getrusage' function. */
346
+ #ifndef MAGICKCORE_HAVE_GETRUSAGE
347
+ #define MAGICKCORE_HAVE_GETRUSAGE 1
348
+ #endif
349
+
350
+ /* Define to 1 if you have the `gettimeofday' function. */
351
+ #ifndef MAGICKCORE_HAVE_GETTIMEOFDAY
352
+ #define MAGICKCORE_HAVE_GETTIMEOFDAY 1
353
+ #endif
354
+
355
+ /* Define to 1 if you have the `gmtime_r' function. */
356
+ #ifndef MAGICKCORE_HAVE_GMTIME_R
357
+ #define MAGICKCORE_HAVE_GMTIME_R 1
358
+ #endif
359
+
360
+ /* [Compile with hugepage support] */
361
+ /* #undef HAVE_HUGEPAGES */
362
+
363
+ /* Define to 1 if the system has the type `intmax_t'. */
364
+ #ifndef MAGICKCORE_HAVE_INTMAX_T
365
+ #define MAGICKCORE_HAVE_INTMAX_T 1
366
+ #endif
367
+
368
+ /* Define to 1 if the system has the type `intptr_t'. */
369
+ #ifndef MAGICKCORE_HAVE_INTPTR_T
370
+ #define MAGICKCORE_HAVE_INTPTR_T 1
371
+ #endif
372
+
373
+ /* Define to 1 if you have the <inttypes.h> header file. */
374
+ #ifndef MAGICKCORE_HAVE_INTTYPES_H
375
+ #define MAGICKCORE_HAVE_INTTYPES_H 1
376
+ #endif
377
+
378
+ /* Define to 1 if you have the `isnan' function. */
379
+ #ifndef MAGICKCORE_HAVE_ISNAN
380
+ #define MAGICKCORE_HAVE_ISNAN 1
381
+ #endif
382
+
383
+ /* Define to 1 if you have the `j0' function. */
384
+ #ifndef MAGICKCORE_HAVE_J0
385
+ #define MAGICKCORE_HAVE_J0 1
386
+ #endif
387
+
388
+ /* Define to 1 if you have the `j1' function. */
389
+ #ifndef MAGICKCORE_HAVE_J1
390
+ #define MAGICKCORE_HAVE_J1 1
391
+ #endif
392
+
393
+ /* Define if you have jemalloc memory allocation library */
394
+ /* #undef HAVE_JEMALLOC */
395
+
396
+ /* Define if you have the <lcms2.h> header file. */
397
+ /* #undef HAVE_LCMS2_H */
398
+
399
+ /* Define if you have the <lcms2/lcms2.h> header file. */
400
+ /* #undef HAVE_LCMS2_LCMS2_H */
401
+
402
+ /* Define to 1 if you have the `gcov' library (-lgcov). */
403
+ /* #undef HAVE_LIBGCOV */
404
+
405
+ /* Define to 1 if you have the <limits.h> header file. */
406
+ #ifndef MAGICKCORE_HAVE_LIMITS_H
407
+ #define MAGICKCORE_HAVE_LIMITS_H 1
408
+ #endif
409
+
410
+ /* Define if you have Linux-compatible sendfile() */
411
+ #ifndef MAGICKCORE_HAVE_LINUX_SENDFILE
412
+ #define MAGICKCORE_HAVE_LINUX_SENDFILE 1
413
+ #endif
414
+
415
+ /* Define to 1 if you have the <linux/unistd.h> header file. */
416
+ #ifndef MAGICKCORE_HAVE_LINUX_UNISTD_H
417
+ #define MAGICKCORE_HAVE_LINUX_UNISTD_H 1
418
+ #endif
419
+
420
+ /* Define to 1 if you have the `lltostr' function. */
421
+ /* #undef HAVE_LLTOSTR */
422
+
423
+ /* Define to 1 if you have the <locale.h> header file. */
424
+ #ifndef MAGICKCORE_HAVE_LOCALE_H
425
+ #define MAGICKCORE_HAVE_LOCALE_H 1
426
+ #endif
427
+
428
+ /* Define to 1 if you have the `localtime_r' function. */
429
+ #ifndef MAGICKCORE_HAVE_LOCALTIME_R
430
+ #define MAGICKCORE_HAVE_LOCALTIME_R 1
431
+ #endif
432
+
433
+ /* Define to 1 if the system has the type `long long int'. */
434
+ #ifndef MAGICKCORE_HAVE_LONG_LONG_INT
435
+ #define MAGICKCORE_HAVE_LONG_LONG_INT 1
436
+ #endif
437
+
438
+ /* Define to 1 if you have the `lstat' function. */
439
+ #ifndef MAGICKCORE_HAVE_LSTAT
440
+ #define MAGICKCORE_HAVE_LSTAT 1
441
+ #endif
442
+
443
+ /* Define to 1 if you have the <machine/param.h> header file. */
444
+ /* #undef HAVE_MACHINE_PARAM_H */
445
+
446
+ /* Define to 1 if you have the <mach-o/dyld.h> header file. */
447
+ /* #undef HAVE_MACH_O_DYLD_H */
448
+
449
+ /* Define to 1 if your system has a GNU libc compatible `malloc' function, and
450
+ to 0 otherwise. */
451
+ #ifndef MAGICKCORE_HAVE_MALLOC
452
+ #define MAGICKCORE_HAVE_MALLOC 1
453
+ #endif
454
+
455
+ /* Define to 1 if you have the <malloc.h> header file. */
456
+ #ifndef MAGICKCORE_HAVE_MALLOC_H
457
+ #define MAGICKCORE_HAVE_MALLOC_H 1
458
+ #endif
459
+
460
+ /* Define to 1 if <wchar.h> declares mbstate_t. */
461
+ #ifndef MAGICKCORE_HAVE_MBSTATE_T
462
+ #define MAGICKCORE_HAVE_MBSTATE_T 1
463
+ #endif
464
+
465
+ /* Define to 1 if you have the `memmove' function. */
466
+ #ifndef MAGICKCORE_HAVE_MEMMOVE
467
+ #define MAGICKCORE_HAVE_MEMMOVE 1
468
+ #endif
469
+
470
+ /* Define to 1 if you have the `memset' function. */
471
+ #ifndef MAGICKCORE_HAVE_MEMSET
472
+ #define MAGICKCORE_HAVE_MEMSET 1
473
+ #endif
474
+
475
+ /* Define to 1 if you have the <minix/config.h> header file. */
476
+ /* #undef HAVE_MINIX_CONFIG_H */
477
+
478
+ /* Define to 1 if you have the `mkdir' function. */
479
+ #ifndef MAGICKCORE_HAVE_MKDIR
480
+ #define MAGICKCORE_HAVE_MKDIR 1
481
+ #endif
482
+
483
+ /* Define to 1 if you have the `mkstemp' function. */
484
+ #ifndef MAGICKCORE_HAVE_MKSTEMP
485
+ #define MAGICKCORE_HAVE_MKSTEMP 1
486
+ #endif
487
+
488
+ /* Define to 1 if you have a working `mmap' system call. */
489
+ #ifndef MAGICKCORE_HAVE_MMAP
490
+ #define MAGICKCORE_HAVE_MMAP 1
491
+ #endif
492
+
493
+ /* Define to 1 if you have the `munmap' function. */
494
+ #ifndef MAGICKCORE_HAVE_MUNMAP
495
+ #define MAGICKCORE_HAVE_MUNMAP 1
496
+ #endif
497
+
498
+ /* define if the compiler implements namespaces */
499
+ #ifndef MAGICKCORE_HAVE_NAMESPACES
500
+ #define MAGICKCORE_HAVE_NAMESPACES /**/
501
+ #endif
502
+
503
+ /* Define if g++ supports namespace std. */
504
+ #ifndef MAGICKCORE_HAVE_NAMESPACE_STD
505
+ #define MAGICKCORE_HAVE_NAMESPACE_STD /**/
506
+ #endif
507
+
508
+ /* Define to 1 if you have the `nanosleep' function. */
509
+ #ifndef MAGICKCORE_HAVE_NANOSLEEP
510
+ #define MAGICKCORE_HAVE_NANOSLEEP 1
511
+ #endif
512
+
513
+ /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
514
+ /* #undef HAVE_NDIR_H */
515
+
516
+ /* Define to 1 if you have the <netdb.h> header file. */
517
+ #ifndef MAGICKCORE_HAVE_NETDB_H
518
+ #define MAGICKCORE_HAVE_NETDB_H 1
519
+ #endif
520
+
521
+ /* Define to 1 if you have the <netinet/in.h> header file. */
522
+ #ifndef MAGICKCORE_HAVE_NETINET_IN_H
523
+ #define MAGICKCORE_HAVE_NETINET_IN_H 1
524
+ #endif
525
+
526
+ /* Define to 1 if you have the `newlocale' function. */
527
+ #ifndef MAGICKCORE_HAVE_NEWLOCALE
528
+ #define MAGICKCORE_HAVE_NEWLOCALE 1
529
+ #endif
530
+
531
+ /* Define to 1 if you have the <OpenCL/cl.h> header file. */
532
+ /* #undef HAVE_OPENCL_CL_H */
533
+
534
+ /* Define to 1 if you have the <OS.h> header file. */
535
+ /* #undef HAVE_OS_H */
536
+
537
+ /* Define to 1 if you have the `pclose' function. */
538
+ #ifndef MAGICKCORE_HAVE_PCLOSE
539
+ #define MAGICKCORE_HAVE_PCLOSE 1
540
+ #endif
541
+
542
+ /* Define to 1 if you have the `poll' function. */
543
+ #ifndef MAGICKCORE_HAVE_POLL
544
+ #define MAGICKCORE_HAVE_POLL 1
545
+ #endif
546
+
547
+ /* Define to 1 if you have the `popen' function. */
548
+ #ifndef MAGICKCORE_HAVE_POPEN
549
+ #define MAGICKCORE_HAVE_POPEN 1
550
+ #endif
551
+
552
+ /* Define to 1 if you have the `posix_fadvise' function. */
553
+ #ifndef MAGICKCORE_HAVE_POSIX_FADVISE
554
+ #define MAGICKCORE_HAVE_POSIX_FADVISE 1
555
+ #endif
556
+
557
+ /* Define to 1 if you have the `posix_fallocate' function. */
558
+ #ifndef MAGICKCORE_HAVE_POSIX_FALLOCATE
559
+ #define MAGICKCORE_HAVE_POSIX_FALLOCATE 1
560
+ #endif
561
+
562
+ /* Define to 1 if you have the `posix_madvise' function. */
563
+ #ifndef MAGICKCORE_HAVE_POSIX_MADVISE
564
+ #define MAGICKCORE_HAVE_POSIX_MADVISE 1
565
+ #endif
566
+
567
+ /* Define to 1 if you have the `posix_memalign' function. */
568
+ #ifndef MAGICKCORE_HAVE_POSIX_MEMALIGN
569
+ #define MAGICKCORE_HAVE_POSIX_MEMALIGN 1
570
+ #endif
571
+
572
+ /* Define to 1 if you have the `posix_spawnp' function. */
573
+ #ifndef MAGICKCORE_HAVE_POSIX_SPAWNP
574
+ #define MAGICKCORE_HAVE_POSIX_SPAWNP 1
575
+ #endif
576
+
577
+ /* Define to 1 if you have the `pow' function. */
578
+ #ifndef MAGICKCORE_HAVE_POW
579
+ #define MAGICKCORE_HAVE_POW 1
580
+ #endif
581
+
582
+ /* Define to 1 if you have the `pread' function. */
583
+ #ifndef MAGICKCORE_HAVE_PREAD
584
+ #define MAGICKCORE_HAVE_PREAD 1
585
+ #endif
586
+
587
+ /* Define to 1 if you have the <process.h> header file. */
588
+ /* #undef HAVE_PROCESS_H */
589
+
590
+ /* Define if you have POSIX threads libraries and header files. */
591
+ #ifndef MAGICKCORE_HAVE_PTHREAD
592
+ #define MAGICKCORE_HAVE_PTHREAD 1
593
+ #endif
594
+
595
+ /* Have PTHREAD_PRIO_INHERIT. */
596
+ #ifndef MAGICKCORE_HAVE_PTHREAD_PRIO_INHERIT
597
+ #define MAGICKCORE_HAVE_PTHREAD_PRIO_INHERIT 1
598
+ #endif
599
+
600
+ /* Define to 1 if you have the `putenv' function. */
601
+ #ifndef MAGICKCORE_HAVE_PUTENV
602
+ #define MAGICKCORE_HAVE_PUTENV 1
603
+ #endif
604
+
605
+ /* Define to 1 if you have the `pwrite' function. */
606
+ #ifndef MAGICKCORE_HAVE_PWRITE
607
+ #define MAGICKCORE_HAVE_PWRITE 1
608
+ #endif
609
+
610
+ /* Define to 1 if you have the `qsort_r' function. */
611
+ #ifndef MAGICKCORE_HAVE_QSORT_R
612
+ #define MAGICKCORE_HAVE_QSORT_R 1
613
+ #endif
614
+
615
+ /* Define to 1 if you have the `raise' function. */
616
+ #ifndef MAGICKCORE_HAVE_RAISE
617
+ #define MAGICKCORE_HAVE_RAISE 1
618
+ #endif
619
+
620
+ /* Define to 1 if you have the `rand_r' function. */
621
+ #ifndef MAGICKCORE_HAVE_RAND_R
622
+ #define MAGICKCORE_HAVE_RAND_R 1
623
+ #endif
624
+
625
+ /* Define to 1 if you have the `readlink' function. */
626
+ #ifndef MAGICKCORE_HAVE_READLINK
627
+ #define MAGICKCORE_HAVE_READLINK 1
628
+ #endif
629
+
630
+ /* Define to 1 if your system has a GNU libc compatible `realloc' function,
631
+ and to 0 otherwise. */
632
+ #ifndef MAGICKCORE_HAVE_REALLOC
633
+ #define MAGICKCORE_HAVE_REALLOC 1
634
+ #endif
635
+
636
+ /* Define to 1 if you have the `realpath' function. */
637
+ #ifndef MAGICKCORE_HAVE_REALPATH
638
+ #define MAGICKCORE_HAVE_REALPATH 1
639
+ #endif
640
+
641
+ /* Define to 1 if you have the `seekdir' function. */
642
+ #ifndef MAGICKCORE_HAVE_SEEKDIR
643
+ #define MAGICKCORE_HAVE_SEEKDIR 1
644
+ #endif
645
+
646
+ /* Define to 1 if you have the `select' function. */
647
+ #ifndef MAGICKCORE_HAVE_SELECT
648
+ #define MAGICKCORE_HAVE_SELECT 1
649
+ #endif
650
+
651
+ /* Define to 1 if you have the `sendfile' function. */
652
+ #ifndef MAGICKCORE_HAVE_SENDFILE
653
+ #define MAGICKCORE_HAVE_SENDFILE 1
654
+ #endif
655
+
656
+ /* Define to 1 if you have the `setlocale' function. */
657
+ #ifndef MAGICKCORE_HAVE_SETLOCALE
658
+ #define MAGICKCORE_HAVE_SETLOCALE 1
659
+ #endif
660
+
661
+ /* Define to 1 if you have the `setvbuf' function. */
662
+ #ifndef MAGICKCORE_HAVE_SETVBUF
663
+ #define MAGICKCORE_HAVE_SETVBUF 1
664
+ #endif
665
+
666
+ /* X11 server supports shape extension */
667
+ #ifndef MAGICKCORE_HAVE_SHAPE
668
+ #define MAGICKCORE_HAVE_SHAPE 1
669
+ #endif
670
+
671
+ /* X11 server supports shared memory extension */
672
+ #ifndef MAGICKCORE_HAVE_SHARED_MEMORY
673
+ #define MAGICKCORE_HAVE_SHARED_MEMORY 1
674
+ #endif
675
+
676
+ /* Define to 1 if you have the `sigaction' function. */
677
+ #ifndef MAGICKCORE_HAVE_SIGACTION
678
+ #define MAGICKCORE_HAVE_SIGACTION 1
679
+ #endif
680
+
681
+ /* Define to 1 if you have the `sigemptyset' function. */
682
+ #ifndef MAGICKCORE_HAVE_SIGEMPTYSET
683
+ #define MAGICKCORE_HAVE_SIGEMPTYSET 1
684
+ #endif
685
+
686
+ /* Define to 1 if you have the `socket' function. */
687
+ #ifndef MAGICKCORE_HAVE_SOCKET
688
+ #define MAGICKCORE_HAVE_SOCKET 1
689
+ #endif
690
+
691
+ /* Define to 1 if you have the `spawnvp' function. */
692
+ /* #undef HAVE_SPAWNVP */
693
+
694
+ /* Define to 1 if you have the `sqrt' function. */
695
+ #ifndef MAGICKCORE_HAVE_SQRT
696
+ #define MAGICKCORE_HAVE_SQRT 1
697
+ #endif
698
+
699
+ /* Define to 1 if you have the `stat' function. */
700
+ #ifndef MAGICKCORE_HAVE_STAT
701
+ #define MAGICKCORE_HAVE_STAT 1
702
+ #endif
703
+
704
+ /* Define to 1 if you have the <stdarg.h> header file. */
705
+ #ifndef MAGICKCORE_HAVE_STDARG_H
706
+ #define MAGICKCORE_HAVE_STDARG_H 1
707
+ #endif
708
+
709
+ /* Define to 1 if stdbool.h conforms to C99. */
710
+ #ifndef MAGICKCORE_HAVE_STDBOOL_H
711
+ #define MAGICKCORE_HAVE_STDBOOL_H 1
712
+ #endif
713
+
714
+ /* Define to 1 if you have the <stddef.h> header file. */
715
+ #ifndef MAGICKCORE_HAVE_STDDEF_H
716
+ #define MAGICKCORE_HAVE_STDDEF_H 1
717
+ #endif
718
+
719
+ /* Define to 1 if you have the <stdint.h> header file. */
720
+ #ifndef MAGICKCORE_HAVE_STDINT_H
721
+ #define MAGICKCORE_HAVE_STDINT_H 1
722
+ #endif
723
+
724
+ /* Define to 1 if you have the <stdio.h> header file. */
725
+ #ifndef MAGICKCORE_HAVE_STDIO_H
726
+ #define MAGICKCORE_HAVE_STDIO_H 1
727
+ #endif
728
+
729
+ /* Define to 1 if you have the <stdlib.h> header file. */
730
+ #ifndef MAGICKCORE_HAVE_STDLIB_H
731
+ #define MAGICKCORE_HAVE_STDLIB_H 1
732
+ #endif
733
+
734
+ /* Define to 1 if you have the `strcasecmp' function. */
735
+ #ifndef MAGICKCORE_HAVE_STRCASECMP
736
+ #define MAGICKCORE_HAVE_STRCASECMP 1
737
+ #endif
738
+
739
+ /* Define to 1 if you have the `strcasestr' function. */
740
+ #ifndef MAGICKCORE_HAVE_STRCASESTR
741
+ #define MAGICKCORE_HAVE_STRCASESTR 1
742
+ #endif
743
+
744
+ /* Define to 1 if you have the `strchr' function. */
745
+ #ifndef MAGICKCORE_HAVE_STRCHR
746
+ #define MAGICKCORE_HAVE_STRCHR 1
747
+ #endif
748
+
749
+ /* Define to 1 if you have the `strcspn' function. */
750
+ #ifndef MAGICKCORE_HAVE_STRCSPN
751
+ #define MAGICKCORE_HAVE_STRCSPN 1
752
+ #endif
753
+
754
+ /* Define to 1 if you have the `strdup' function. */
755
+ #ifndef MAGICKCORE_HAVE_STRDUP
756
+ #define MAGICKCORE_HAVE_STRDUP 1
757
+ #endif
758
+
759
+ /* Define to 1 if you have the `strerror' function. */
760
+ #ifndef MAGICKCORE_HAVE_STRERROR
761
+ #define MAGICKCORE_HAVE_STRERROR 1
762
+ #endif
763
+
764
+ /* Define if you have `strerror_r'. */
765
+ #ifndef MAGICKCORE_HAVE_STRERROR_R
766
+ #define MAGICKCORE_HAVE_STRERROR_R 1
767
+ #endif
768
+
769
+ /* Define to 1 if cpp supports the ANSI # stringizing operator. */
770
+ #ifndef MAGICKCORE_HAVE_STRINGIZE
771
+ #define MAGICKCORE_HAVE_STRINGIZE 1
772
+ #endif
773
+
774
+ /* Define to 1 if you have the <strings.h> header file. */
775
+ #ifndef MAGICKCORE_HAVE_STRINGS_H
776
+ #define MAGICKCORE_HAVE_STRINGS_H 1
777
+ #endif
778
+
779
+ /* Define to 1 if you have the <string.h> header file. */
780
+ #ifndef MAGICKCORE_HAVE_STRING_H
781
+ #define MAGICKCORE_HAVE_STRING_H 1
782
+ #endif
783
+
784
+ /* Define to 1 if you have the `strlcat' function. */
785
+ /* #undef HAVE_STRLCAT */
786
+
787
+ /* Define to 1 if you have the `strlcpy' function. */
788
+ /* #undef HAVE_STRLCPY */
789
+
790
+ /* Define to 1 if you have the `strncasecmp' function. */
791
+ #ifndef MAGICKCORE_HAVE_STRNCASECMP
792
+ #define MAGICKCORE_HAVE_STRNCASECMP 1
793
+ #endif
794
+
795
+ /* Define to 1 if you have the `strpbrk' function. */
796
+ #ifndef MAGICKCORE_HAVE_STRPBRK
797
+ #define MAGICKCORE_HAVE_STRPBRK 1
798
+ #endif
799
+
800
+ /* Define to 1 if you have the `strrchr' function. */
801
+ #ifndef MAGICKCORE_HAVE_STRRCHR
802
+ #define MAGICKCORE_HAVE_STRRCHR 1
803
+ #endif
804
+
805
+ /* Define to 1 if you have the `strspn' function. */
806
+ #ifndef MAGICKCORE_HAVE_STRSPN
807
+ #define MAGICKCORE_HAVE_STRSPN 1
808
+ #endif
809
+
810
+ /* Define to 1 if you have the `strstr' function. */
811
+ #ifndef MAGICKCORE_HAVE_STRSTR
812
+ #define MAGICKCORE_HAVE_STRSTR 1
813
+ #endif
814
+
815
+ /* Define to 1 if you have the `strtod' function. */
816
+ #ifndef MAGICKCORE_HAVE_STRTOD
817
+ #define MAGICKCORE_HAVE_STRTOD 1
818
+ #endif
819
+
820
+ /* Define to 1 if you have the `strtod_l' function. */
821
+ #ifndef MAGICKCORE_HAVE_STRTOD_L
822
+ #define MAGICKCORE_HAVE_STRTOD_L 1
823
+ #endif
824
+
825
+ /* Define to 1 if you have the `strtol' function. */
826
+ #ifndef MAGICKCORE_HAVE_STRTOL
827
+ #define MAGICKCORE_HAVE_STRTOL 1
828
+ #endif
829
+
830
+ /* Define to 1 if you have the `strtoul' function. */
831
+ #ifndef MAGICKCORE_HAVE_STRTOUL
832
+ #define MAGICKCORE_HAVE_STRTOUL 1
833
+ #endif
834
+
835
+ /* Define to 1 if `tm_zone' is a member of `struct tm'. */
836
+ #ifndef MAGICKCORE_HAVE_STRUCT_TM_TM_ZONE
837
+ #define MAGICKCORE_HAVE_STRUCT_TM_TM_ZONE 1
838
+ #endif
839
+
840
+ /* Define to 1 if you have the <sun_prefetch.h> header file. */
841
+ /* #undef HAVE_SUN_PREFETCH_H */
842
+
843
+ /* Define to 1 if you have the `symlink' function. */
844
+ #ifndef MAGICKCORE_HAVE_SYMLINK
845
+ #define MAGICKCORE_HAVE_SYMLINK 1
846
+ #endif
847
+
848
+ /* Define to 1 if you have the `sysconf' function. */
849
+ #ifndef MAGICKCORE_HAVE_SYSCONF
850
+ #define MAGICKCORE_HAVE_SYSCONF 1
851
+ #endif
852
+
853
+ /* Define to 1 if you have the `system' function. */
854
+ #ifndef MAGICKCORE_HAVE_SYSTEM
855
+ #define MAGICKCORE_HAVE_SYSTEM 1
856
+ #endif
857
+
858
+ /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
859
+ */
860
+ /* #undef HAVE_SYS_DIR_H */
861
+
862
+ /* Define to 1 if you have the <sys/ipc.h> header file. */
863
+ #ifndef MAGICKCORE_HAVE_SYS_IPC_H
864
+ #define MAGICKCORE_HAVE_SYS_IPC_H 1
865
+ #endif
866
+
867
+ /* Define to 1 if you have the <sys/mman.h> header file. */
868
+ #ifndef MAGICKCORE_HAVE_SYS_MMAN_H
869
+ #define MAGICKCORE_HAVE_SYS_MMAN_H 1
870
+ #endif
871
+
872
+ /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
873
+ */
874
+ /* #undef HAVE_SYS_NDIR_H */
875
+
876
+ /* Define to 1 if you have the <sys/param.h> header file. */
877
+ #ifndef MAGICKCORE_HAVE_SYS_PARAM_H
878
+ #define MAGICKCORE_HAVE_SYS_PARAM_H 1
879
+ #endif
880
+
881
+ /* Define to 1 if you have the <sys/resource.h> header file. */
882
+ #ifndef MAGICKCORE_HAVE_SYS_RESOURCE_H
883
+ #define MAGICKCORE_HAVE_SYS_RESOURCE_H 1
884
+ #endif
885
+
886
+ /* Define to 1 if you have the <sys/select.h> header file. */
887
+ #ifndef MAGICKCORE_HAVE_SYS_SELECT_H
888
+ #define MAGICKCORE_HAVE_SYS_SELECT_H 1
889
+ #endif
890
+
891
+ /* Define to 1 if you have the <sys/sendfile.h> header file. */
892
+ #ifndef MAGICKCORE_HAVE_SYS_SENDFILE_H
893
+ #define MAGICKCORE_HAVE_SYS_SENDFILE_H 1
894
+ #endif
895
+
896
+ /* Define to 1 if you have the <sys/socket.h> header file. */
897
+ #ifndef MAGICKCORE_HAVE_SYS_SOCKET_H
898
+ #define MAGICKCORE_HAVE_SYS_SOCKET_H 1
899
+ #endif
900
+
901
+ /* Define to 1 if you have the <sys/stat.h> header file. */
902
+ #ifndef MAGICKCORE_HAVE_SYS_STAT_H
903
+ #define MAGICKCORE_HAVE_SYS_STAT_H 1
904
+ #endif
905
+
906
+ /* Define to 1 if you have the <sys/syslimits.h> header file. */
907
+ /* #undef HAVE_SYS_SYSLIMITS_H */
908
+
909
+ /* Define to 1 if you have the <sys/times.h> header file. */
910
+ #ifndef MAGICKCORE_HAVE_SYS_TIMES_H
911
+ #define MAGICKCORE_HAVE_SYS_TIMES_H 1
912
+ #endif
913
+
914
+ /* Define to 1 if you have the <sys/time.h> header file. */
915
+ #ifndef MAGICKCORE_HAVE_SYS_TIME_H
916
+ #define MAGICKCORE_HAVE_SYS_TIME_H 1
917
+ #endif
918
+
919
+ /* Define to 1 if you have the <sys/types.h> header file. */
920
+ #ifndef MAGICKCORE_HAVE_SYS_TYPES_H
921
+ #define MAGICKCORE_HAVE_SYS_TYPES_H 1
922
+ #endif
923
+
924
+ /* Define to 1 if you have the <sys/uio.h> header file. */
925
+ #ifndef MAGICKCORE_HAVE_SYS_UIO_H
926
+ #define MAGICKCORE_HAVE_SYS_UIO_H 1
927
+ #endif
928
+
929
+ /* Define to 1 if you have the <sys/wait.h> header file. */
930
+ #ifndef MAGICKCORE_HAVE_SYS_WAIT_H
931
+ #define MAGICKCORE_HAVE_SYS_WAIT_H 1
932
+ #endif
933
+
934
+ /* Define if you have the tcmalloc memory allocation library */
935
+ /* #undef HAVE_TCMALLOC */
936
+
937
+ /* Define to 1 if you have the `telldir' function. */
938
+ #ifndef MAGICKCORE_HAVE_TELLDIR
939
+ #define MAGICKCORE_HAVE_TELLDIR 1
940
+ #endif
941
+
942
+ /* Define to 1 if you have the `tempnam' function. */
943
+ #ifndef MAGICKCORE_HAVE_TEMPNAM
944
+ #define MAGICKCORE_HAVE_TEMPNAM 1
945
+ #endif
946
+
947
+ /* Define to 1 if you have the `times' function. */
948
+ #ifndef MAGICKCORE_HAVE_TIMES
949
+ #define MAGICKCORE_HAVE_TIMES 1
950
+ #endif
951
+
952
+ /* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
953
+ `HAVE_STRUCT_TM_TM_ZONE' instead. */
954
+ #ifndef MAGICKCORE_HAVE_TM_ZONE
955
+ #define MAGICKCORE_HAVE_TM_ZONE 1
956
+ #endif
957
+
958
+ /* Define to 1 if you don't have `tm_zone' but do have the external array
959
+ `tzname'. */
960
+ /* #undef HAVE_TZNAME */
961
+
962
+ /* Define to 1 if the system has the type `uintmax_t'. */
963
+ #ifndef MAGICKCORE_HAVE_UINTMAX_T
964
+ #define MAGICKCORE_HAVE_UINTMAX_T 1
965
+ #endif
966
+
967
+ /* Define to 1 if the system has the type `uintptr_t'. */
968
+ #ifndef MAGICKCORE_HAVE_UINTPTR_T
969
+ #define MAGICKCORE_HAVE_UINTPTR_T 1
970
+ #endif
971
+
972
+ /* Define to 1 if you have the `ulltostr' function. */
973
+ /* #undef HAVE_ULLTOSTR */
974
+
975
+ /* Define if you have umem memory allocation library */
976
+ /* #undef HAVE_UMEM */
977
+
978
+ /* Define to 1 if you have the <unistd.h> header file. */
979
+ #ifndef MAGICKCORE_HAVE_UNISTD_H
980
+ #define MAGICKCORE_HAVE_UNISTD_H 1
981
+ #endif
982
+
983
+ /* Define to 1 if the system has the type `unsigned long long int'. */
984
+ #ifndef MAGICKCORE_HAVE_UNSIGNED_LONG_LONG_INT
985
+ #define MAGICKCORE_HAVE_UNSIGNED_LONG_LONG_INT 1
986
+ #endif
987
+
988
+ /* Define to 1 if you have the `uselocale' function. */
989
+ #ifndef MAGICKCORE_HAVE_USELOCALE
990
+ #define MAGICKCORE_HAVE_USELOCALE 1
991
+ #endif
992
+
993
+ /* Define to 1 if you have the `usleep' function. */
994
+ #ifndef MAGICKCORE_HAVE_USLEEP
995
+ #define MAGICKCORE_HAVE_USLEEP 1
996
+ #endif
997
+
998
+ /* Define to 1 if you have the `utime' function. */
999
+ #ifndef MAGICKCORE_HAVE_UTIME
1000
+ #define MAGICKCORE_HAVE_UTIME 1
1001
+ #endif
1002
+
1003
+ /* Define to 1 if you have the `utimensat' function. */
1004
+ #ifndef MAGICKCORE_HAVE_UTIMENSAT
1005
+ #define MAGICKCORE_HAVE_UTIMENSAT 1
1006
+ #endif
1007
+
1008
+ /* Define to 1 if you have the <utime.h> header file. */
1009
+ #ifndef MAGICKCORE_HAVE_UTIME_H
1010
+ #define MAGICKCORE_HAVE_UTIME_H 1
1011
+ #endif
1012
+
1013
+ /* Define to 1 if you have the `vfork' function. */
1014
+ #ifndef MAGICKCORE_HAVE_VFORK
1015
+ #define MAGICKCORE_HAVE_VFORK 1
1016
+ #endif
1017
+
1018
+ /* Define to 1 if you have the <vfork.h> header file. */
1019
+ /* #undef HAVE_VFORK_H */
1020
+
1021
+ /* Define to 1 if you have the `vfprintf' function. */
1022
+ #ifndef MAGICKCORE_HAVE_VFPRINTF
1023
+ #define MAGICKCORE_HAVE_VFPRINTF 1
1024
+ #endif
1025
+
1026
+ /* Define to 1 if you have the `vfprintf_l' function. */
1027
+ /* #undef HAVE_VFPRINTF_L */
1028
+
1029
+ /* Define to 1 if you have the `vprintf' function. */
1030
+ #ifndef MAGICKCORE_HAVE_VPRINTF
1031
+ #define MAGICKCORE_HAVE_VPRINTF 1
1032
+ #endif
1033
+
1034
+ /* Define to 1 if you have the `vsnprintf' function. */
1035
+ #ifndef MAGICKCORE_HAVE_VSNPRINTF
1036
+ #define MAGICKCORE_HAVE_VSNPRINTF 1
1037
+ #endif
1038
+
1039
+ /* Define to 1 if you have the `vsnprintf_l' function. */
1040
+ /* #undef HAVE_VSNPRINTF_L */
1041
+
1042
+ /* Define to 1 if you have the `vsprintf' function. */
1043
+ #ifndef MAGICKCORE_HAVE_VSPRINTF
1044
+ #define MAGICKCORE_HAVE_VSPRINTF 1
1045
+ #endif
1046
+
1047
+ /* Define to 1 if you have the `waitpid' function. */
1048
+ #ifndef MAGICKCORE_HAVE_WAITPID
1049
+ #define MAGICKCORE_HAVE_WAITPID 1
1050
+ #endif
1051
+
1052
+ /* Define to 1 if you have the <wchar.h> header file. */
1053
+ #ifndef MAGICKCORE_HAVE_WCHAR_H
1054
+ #define MAGICKCORE_HAVE_WCHAR_H 1
1055
+ #endif
1056
+
1057
+ /* Define to 1 if `fork' works. */
1058
+ #ifndef MAGICKCORE_HAVE_WORKING_FORK
1059
+ #define MAGICKCORE_HAVE_WORKING_FORK 1
1060
+ #endif
1061
+
1062
+ /* Define to 1 if `vfork' works. */
1063
+ #ifndef MAGICKCORE_HAVE_WORKING_VFORK
1064
+ #define MAGICKCORE_HAVE_WORKING_VFORK 1
1065
+ #endif
1066
+
1067
+ /* Define to 1 if you have the <xlocale.h> header file. */
1068
+ #ifndef MAGICKCORE_HAVE_XLOCALE_H
1069
+ #define MAGICKCORE_HAVE_XLOCALE_H 1
1070
+ #endif
1071
+
1072
+ /* Define to 1 if you have the `_aligned_malloc' function. */
1073
+ /* #undef HAVE__ALIGNED_MALLOC */
1074
+
1075
+ /* Define to 1 if the system has the type `_Bool'. */
1076
+ #ifndef MAGICKCORE_HAVE__BOOL
1077
+ #define MAGICKCORE_HAVE__BOOL 1
1078
+ #endif
1079
+
1080
+ /* Define to 1 if you have the `_exit' function. */
1081
+ #ifndef MAGICKCORE_HAVE__EXIT
1082
+ #define MAGICKCORE_HAVE__EXIT 1
1083
+ #endif
1084
+
1085
+ /* Define to 1 if you have the `_NSGetExecutablePath' function. */
1086
+ /* #undef HAVE__NSGETEXECUTABLEPATH */
1087
+
1088
+ /* Define to 1 if you have the `_pclose' function. */
1089
+ /* #undef HAVE__PCLOSE */
1090
+
1091
+ /* Define to 1 if you have the `_popen' function. */
1092
+ /* #undef HAVE__POPEN */
1093
+
1094
+ /* Define to 1 if you have the `_wfopen' function. */
1095
+ /* #undef HAVE__WFOPEN */
1096
+
1097
+ /* Define to 1 if you have the `_wstat' function. */
1098
+ /* #undef HAVE__WSTAT */
1099
+
1100
+ /* define if your compiler has __attribute__ */
1101
+ #ifndef MAGICKCORE_HAVE___ATTRIBUTE__
1102
+ #define MAGICKCORE_HAVE___ATTRIBUTE__ 1
1103
+ #endif
1104
+
1105
+ /* Whether hdri is enabled or not */
1106
+ #ifndef MAGICKCORE_HDRI_ENABLE_OBSOLETE_IN_H
1107
+ #define MAGICKCORE_HDRI_ENABLE_OBSOLETE_IN_H 1
1108
+ #endif
1109
+
1110
+ /* Define if you have libheif library */
1111
+ /* #undef HEIC_DELEGATE */
1112
+
1113
+ /* Directory where ImageMagick architecture headers live. */
1114
+ #ifndef MAGICKCORE_INCLUDEARCH_PATH
1115
+ #define MAGICKCORE_INCLUDEARCH_PATH "/home/zangyihe/miniconda3/include/ImageMagick-7/"
1116
+ #endif
1117
+
1118
+ /* Directory where ImageMagick headers live. */
1119
+ #ifndef MAGICKCORE_INCLUDE_PATH
1120
+ #define MAGICKCORE_INCLUDE_PATH "/home/zangyihe/miniconda3/include/ImageMagick-7/"
1121
+ #endif
1122
+
1123
+ /* ImageMagick is formally installed under prefix */
1124
+ #ifndef MAGICKCORE_INSTALLED_SUPPORT
1125
+ #define MAGICKCORE_INSTALLED_SUPPORT 1
1126
+ #endif
1127
+
1128
+ /* Define if you have JBIG library */
1129
+ #ifndef MAGICKCORE_JBIG_DELEGATE
1130
+ #define MAGICKCORE_JBIG_DELEGATE 1
1131
+ #endif
1132
+
1133
+ /* Define if you have JPEG library */
1134
+ #ifndef MAGICKCORE_JPEG_DELEGATE
1135
+ #define MAGICKCORE_JPEG_DELEGATE 1
1136
+ #endif
1137
+
1138
+ /* Define if you have jpeg-xl library */
1139
+ /* #undef JXL_DELEGATE */
1140
+
1141
+ /* Define if you have LCMS library */
1142
+ /* #undef LCMS_DELEGATE */
1143
+
1144
+ /* Define if you have OPENJP2 library */
1145
+ #ifndef MAGICKCORE_LIBOPENJP2_DELEGATE
1146
+ #define MAGICKCORE_LIBOPENJP2_DELEGATE 1
1147
+ #endif
1148
+
1149
+ /* Directory where architecture-dependent files live. */
1150
+ #ifndef MAGICKCORE_LIBRARY_PATH
1151
+ #define MAGICKCORE_LIBRARY_PATH "/home/zangyihe/miniconda3/lib/ImageMagick-7.1.1/"
1152
+ #endif
1153
+
1154
+ /* Subdirectory of lib where ImageMagick architecture dependent files are
1155
+ installed. */
1156
+ #ifndef MAGICKCORE_LIBRARY_RELATIVE_PATH
1157
+ #define MAGICKCORE_LIBRARY_RELATIVE_PATH "ImageMagick-7.1.1"
1158
+ #endif
1159
+
1160
+ /* Binaries in libraries path base name (will be during install linked to bin)
1161
+ */
1162
+ #ifndef MAGICKCORE_LIB_BIN_BASEDIRNAME
1163
+ #define MAGICKCORE_LIB_BIN_BASEDIRNAME "bin"
1164
+ #endif
1165
+
1166
+ /* Define if you have LQR library */
1167
+ /* #undef LQR_DELEGATE */
1168
+
1169
+ /* Define if using libltdl to support dynamically loadable modules and OpenCL
1170
+ */
1171
+ /* #undef LTDL_DELEGATE */
1172
+
1173
+ /* Native module suffix */
1174
+ /* #undef LTDL_MODULE_EXT */
1175
+
1176
+ /* Define to the sub-directory where libtool stores uninstalled libraries. */
1177
+ #ifndef MAGICKCORE_LT_OBJDIR
1178
+ #define MAGICKCORE_LT_OBJDIR ".libs/"
1179
+ #endif
1180
+
1181
+ /* Define if you have LZMA library */
1182
+ #ifndef MAGICKCORE_LZMA_DELEGATE
1183
+ #define MAGICKCORE_LZMA_DELEGATE 1
1184
+ #endif
1185
+
1186
+ /* Define to prepend to default font search path. */
1187
+ /* #undef MAGICK_FONT_PATH */
1188
+
1189
+ /* Target Host CPU */
1190
+ #ifndef MAGICKCORE_MAGICK_TARGET_CPU
1191
+ #define MAGICKCORE_MAGICK_TARGET_CPU x86_64
1192
+ #endif
1193
+
1194
+ /* Target Host OS */
1195
+ #ifndef MAGICKCORE_MAGICK_TARGET_OS
1196
+ #define MAGICKCORE_MAGICK_TARGET_OS linux-gnu
1197
+ #endif
1198
+
1199
+ /* Target Host Vendor */
1200
+ #ifndef MAGICKCORE_MAGICK_TARGET_VENDOR
1201
+ #define MAGICKCORE_MAGICK_TARGET_VENDOR conda
1202
+ #endif
1203
+
1204
+ /* Module directory name without ABI part. */
1205
+ #ifndef MAGICKCORE_MODULES_BASEDIRNAME
1206
+ #define MAGICKCORE_MODULES_BASEDIRNAME "modules"
1207
+ #endif
1208
+
1209
+ /* Module directory dirname */
1210
+ /* #undef MODULES_DIRNAME */
1211
+
1212
+ /* Magick API method prefix */
1213
+ /* #undef NAMESPACE_PREFIX */
1214
+
1215
+ /* Magick API method prefix tag */
1216
+ /* #undef NAMESPACE_PREFIX_TAG */
1217
+
1218
+ /* Define to 1 if assertions should be disabled. */
1219
+ /* #undef NDEBUG */
1220
+
1221
+ /* Define if you have OPENEXR library */
1222
+ /* #undef OPENEXR_DELEGATE */
1223
+
1224
+ /* Define to the address where bug reports for this package should be sent. */
1225
+ #ifndef MAGICKCORE_PACKAGE_BUGREPORT
1226
+ #define MAGICKCORE_PACKAGE_BUGREPORT "magick_bugreport"
1227
+ #endif
1228
+
1229
+ /* Define to the full name of this package. */
1230
+ #ifndef MAGICKCORE_PACKAGE_NAME
1231
+ #define MAGICKCORE_PACKAGE_NAME "ImageMagick"
1232
+ #endif
1233
+
1234
+ /* Define to the full name and version of this package. */
1235
+ #ifndef MAGICKCORE_PACKAGE_STRING
1236
+ #define MAGICKCORE_PACKAGE_STRING "ImageMagick 7.1.1-5"
1237
+ #endif
1238
+
1239
+ /* Define to the one symbol short name of this package. */
1240
+ #ifndef MAGICKCORE_PACKAGE_TARNAME
1241
+ #define MAGICKCORE_PACKAGE_TARNAME "ImageMagick"
1242
+ #endif
1243
+
1244
+ /* Define to the home page for this package. */
1245
+ #ifndef MAGICKCORE_PACKAGE_URL
1246
+ #define MAGICKCORE_PACKAGE_URL "https://imagemagick.org"
1247
+ #endif
1248
+
1249
+ /* Define to the version of this package. */
1250
+ #ifndef MAGICKCORE_PACKAGE_VERSION
1251
+ #define MAGICKCORE_PACKAGE_VERSION "7.1.1-5"
1252
+ #endif
1253
+
1254
+ /* Define if you have PANGOCAIRO library */
1255
+ #ifndef MAGICKCORE_PANGOCAIRO_DELEGATE
1256
+ #define MAGICKCORE_PANGOCAIRO_DELEGATE 1
1257
+ #endif
1258
+
1259
+ /* enable pipes (|) in filenames */
1260
+ /* #undef PIPES_SUPPORT */
1261
+
1262
+ /* Define if you have PNG library */
1263
+ #ifndef MAGICKCORE_PNG_DELEGATE
1264
+ #define MAGICKCORE_PNG_DELEGATE 1
1265
+ #endif
1266
+
1267
+ /* Define to necessary symbol if this constant uses a non-standard name on
1268
+ your system. */
1269
+ /* #undef PTHREAD_CREATE_JOINABLE */
1270
+
1271
+ /* Pixel cache memory threshold (defaults to available memory) */
1272
+ /* #undef PixelCacheThreshold */
1273
+
1274
+ /* Number of bits in a pixel Quantum (8/16/32/64) */
1275
+ #ifndef MAGICKCORE_QUANTUM_DEPTH_OBSOLETE_IN_H
1276
+ #define MAGICKCORE_QUANTUM_DEPTH_OBSOLETE_IN_H 16
1277
+ #endif
1278
+
1279
+ /* Define if you have RAQM library */
1280
+ /* #undef RAQM_DELEGATE */
1281
+
1282
+ /* Define if you have LIBRAW library */
1283
+ /* #undef RAW_R_DELEGATE */
1284
+
1285
+ /* Define if you have RSVG library */
1286
+ #ifndef MAGICKCORE_RSVG_DELEGATE
1287
+ #define MAGICKCORE_RSVG_DELEGATE 1
1288
+ #endif
1289
+
1290
+ /* Define to the type of arg 1 for `select'. */
1291
+ #ifndef MAGICKCORE_SELECT_TYPE_ARG1
1292
+ #define MAGICKCORE_SELECT_TYPE_ARG1 int
1293
+ #endif
1294
+
1295
+ /* Define to the type of args 2, 3 and 4 for `select'. */
1296
+ #ifndef MAGICKCORE_SELECT_TYPE_ARG234
1297
+ #define MAGICKCORE_SELECT_TYPE_ARG234 (fd_set *)
1298
+ #endif
1299
+
1300
+ /* Define to the type of arg 5 for `select'. */
1301
+ #ifndef MAGICKCORE_SELECT_TYPE_ARG5
1302
+ #define MAGICKCORE_SELECT_TYPE_ARG5 (struct timeval *)
1303
+ #endif
1304
+
1305
+ /* Setjmp/longjmp are thread safe */
1306
+ #ifndef MAGICKCORE_SETJMP_IS_THREAD_SAFE
1307
+ #define MAGICKCORE_SETJMP_IS_THREAD_SAFE 1
1308
+ #endif
1309
+
1310
+ /* Sharearch directory name without ABI part. */
1311
+ #ifndef MAGICKCORE_SHAREARCH_BASEDIRNAME
1312
+ #define MAGICKCORE_SHAREARCH_BASEDIRNAME "config"
1313
+ #endif
1314
+
1315
+ /* Sharearch directory dirname */
1316
+ /* #undef SHAREARCH_DIRNAME */
1317
+
1318
+ /* Directory where architecture-independent configuration files live. */
1319
+ #ifndef MAGICKCORE_SHARE_PATH
1320
+ #define MAGICKCORE_SHARE_PATH "/home/zangyihe/miniconda3/share/ImageMagick-7/"
1321
+ #endif
1322
+
1323
+ /* Subdirectory of lib where architecture-independent configuration files
1324
+ live. */
1325
+ #ifndef MAGICKCORE_SHARE_RELATIVE_PATH
1326
+ #define MAGICKCORE_SHARE_RELATIVE_PATH "ImageMagick-7"
1327
+ #endif
1328
+
1329
+ /* The size of `double', as computed by sizeof. */
1330
+ #ifndef MAGICKCORE_SIZEOF_DOUBLE
1331
+ #define MAGICKCORE_SIZEOF_DOUBLE 8
1332
+ #endif
1333
+
1334
+ /* The size of `double_t', as computed by sizeof. */
1335
+ #ifndef MAGICKCORE_SIZEOF_DOUBLE_T
1336
+ #define MAGICKCORE_SIZEOF_DOUBLE_T 8
1337
+ #endif
1338
+
1339
+ /* The size of `float', as computed by sizeof. */
1340
+ #ifndef MAGICKCORE_SIZEOF_FLOAT
1341
+ #define MAGICKCORE_SIZEOF_FLOAT 4
1342
+ #endif
1343
+
1344
+ /* The size of `float_t', as computed by sizeof. */
1345
+ #ifndef MAGICKCORE_SIZEOF_FLOAT_T
1346
+ #define MAGICKCORE_SIZEOF_FLOAT_T 4
1347
+ #endif
1348
+
1349
+ /* The size of `long double', as computed by sizeof. */
1350
+ #ifndef MAGICKCORE_SIZEOF_LONG_DOUBLE
1351
+ #define MAGICKCORE_SIZEOF_LONG_DOUBLE 16
1352
+ #endif
1353
+
1354
+ /* The size of `ssize_t', as computed by sizeof. */
1355
+ #ifndef MAGICKCORE_SIZEOF_SSIZE_T
1356
+ #define MAGICKCORE_SIZEOF_SSIZE_T 8
1357
+ #endif
1358
+
1359
+ /* The size of `unsigned long long', as computed by sizeof. */
1360
+ #ifndef MAGICKCORE_SIZEOF_UNSIGNED_LONG_LONG
1361
+ #define MAGICKCORE_SIZEOF_UNSIGNED_LONG_LONG 8
1362
+ #endif
1363
+
1364
+ /* The size of `void *', as computed by sizeof. */
1365
+ #ifndef MAGICKCORE_SIZEOF_VOID_P
1366
+ #define MAGICKCORE_SIZEOF_VOID_P 8
1367
+ #endif
1368
+
1369
+ /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
1370
+ /* #undef STAT_MACROS_BROKEN */
1371
+
1372
+ /* Define to 1 if all of the C90 standard headers exist (not just the ones
1373
+ required in a freestanding environment). This macro is provided for
1374
+ backward compatibility; new code need not use it. */
1375
+ #ifndef MAGICKCORE_STDC_HEADERS
1376
+ #define MAGICKCORE_STDC_HEADERS 1
1377
+ #endif
1378
+
1379
+ /* Define to 1 if strerror_r returns char *. */
1380
+ #ifndef MAGICKCORE_STRERROR_R_CHAR_P
1381
+ #define MAGICKCORE_STRERROR_R_CHAR_P 1
1382
+ #endif
1383
+
1384
+ /* Define if you have POSIX threads libraries and header files. */
1385
+ #ifndef MAGICKCORE_THREAD_SUPPORT
1386
+ #define MAGICKCORE_THREAD_SUPPORT 1
1387
+ #endif
1388
+
1389
+ /* Define if you have TIFF library */
1390
+ #ifndef MAGICKCORE_TIFF_DELEGATE
1391
+ #define MAGICKCORE_TIFF_DELEGATE 1
1392
+ #endif
1393
+
1394
+ /* Define to 1 if your <sys/time.h> declares `struct tm'. */
1395
+ /* #undef TM_IN_SYS_TIME */
1396
+
1397
+ /* Enable extensions on AIX 3, Interix. */
1398
+ #ifndef _ALL_SOURCE
1399
+ # define _ALL_SOURCE 1
1400
+ #endif
1401
+ /* Enable general extensions on macOS. */
1402
+ #ifndef _DARWIN_C_SOURCE
1403
+ # define _DARWIN_C_SOURCE 1
1404
+ #endif
1405
+ /* Enable general extensions on Solaris. */
1406
+ #ifndef __EXTENSIONS__
1407
+ # define __EXTENSIONS__ 1
1408
+ #endif
1409
+ /* Enable GNU extensions on systems that have them. */
1410
+ #ifndef _GNU_SOURCE
1411
+ # define _GNU_SOURCE 1
1412
+ #endif
1413
+ /* Enable X/Open compliant socket functions that do not require linking
1414
+ with -lxnet on HP-UX 11.11. */
1415
+ #ifndef _HPUX_ALT_XOPEN_SOCKET_API
1416
+ # define _HPUX_ALT_XOPEN_SOCKET_API 1
1417
+ #endif
1418
+ /* Identify the host operating system as Minix.
1419
+ This macro does not affect the system headers' behavior.
1420
+ A future release of Autoconf may stop defining this macro. */
1421
+ #ifndef _MINIX
1422
+ /* # undef _MINIX */
1423
+ #endif
1424
+ /* Enable general extensions on NetBSD.
1425
+ Enable NetBSD compatibility extensions on Minix. */
1426
+ #ifndef _NETBSD_SOURCE
1427
+ # define _NETBSD_SOURCE 1
1428
+ #endif
1429
+ /* Enable OpenBSD compatibility extensions on NetBSD.
1430
+ Oddly enough, this does nothing on OpenBSD. */
1431
+ #ifndef _OPENBSD_SOURCE
1432
+ # define _OPENBSD_SOURCE 1
1433
+ #endif
1434
+ /* Define to 1 if needed for POSIX-compatible behavior. */
1435
+ #ifndef _POSIX_SOURCE
1436
+ /* # undef _POSIX_SOURCE */
1437
+ #endif
1438
+ /* Define to 2 if needed for POSIX-compatible behavior. */
1439
+ #ifndef _POSIX_1_SOURCE
1440
+ /* # undef _POSIX_1_SOURCE */
1441
+ #endif
1442
+ /* Enable POSIX-compatible threading on Solaris. */
1443
+ #ifndef _POSIX_PTHREAD_SEMANTICS
1444
+ # define _POSIX_PTHREAD_SEMANTICS 1
1445
+ #endif
1446
+ /* Enable extensions specified by ISO/IEC TS 18661-5:2014. */
1447
+ #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
1448
+ # define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
1449
+ #endif
1450
+ /* Enable extensions specified by ISO/IEC TS 18661-1:2014. */
1451
+ #ifndef __STDC_WANT_IEC_60559_BFP_EXT__
1452
+ # define __STDC_WANT_IEC_60559_BFP_EXT__ 1
1453
+ #endif
1454
+ /* Enable extensions specified by ISO/IEC TS 18661-2:2015. */
1455
+ #ifndef __STDC_WANT_IEC_60559_DFP_EXT__
1456
+ # define __STDC_WANT_IEC_60559_DFP_EXT__ 1
1457
+ #endif
1458
+ /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */
1459
+ #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
1460
+ # define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
1461
+ #endif
1462
+ /* Enable extensions specified by ISO/IEC TS 18661-3:2015. */
1463
+ #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
1464
+ # define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
1465
+ #endif
1466
+ /* Enable extensions specified by ISO/IEC TR 24731-2:2010. */
1467
+ #ifndef __STDC_WANT_LIB_EXT2__
1468
+ # define __STDC_WANT_LIB_EXT2__ 1
1469
+ #endif
1470
+ /* Enable extensions specified by ISO/IEC 24747:2009. */
1471
+ #ifndef __STDC_WANT_MATH_SPEC_FUNCS__
1472
+ # define __STDC_WANT_MATH_SPEC_FUNCS__ 1
1473
+ #endif
1474
+ /* Enable extensions on HP NonStop. */
1475
+ #ifndef _TANDEM_SOURCE
1476
+ # define _TANDEM_SOURCE 1
1477
+ #endif
1478
+ /* Enable X/Open extensions. Define to 500 only if necessary
1479
+ to make mbstate_t available. */
1480
+ #ifndef _XOPEN_SOURCE
1481
+ /* # undef _XOPEN_SOURCE */
1482
+ #endif
1483
+
1484
+
1485
+ /* Define if you have WEBPMUX library */
1486
+ #ifndef MAGICKCORE_WEBPMUX_DELEGATE
1487
+ #define MAGICKCORE_WEBPMUX_DELEGATE 1
1488
+ #endif
1489
+
1490
+ /* Define if you have WEBP library */
1491
+ #ifndef MAGICKCORE_WEBP_DELEGATE
1492
+ #define MAGICKCORE_WEBP_DELEGATE 1
1493
+ #endif
1494
+
1495
+ /* Define to use the Windows GDI32 library */
1496
+ /* #undef WINGDI32_DELEGATE */
1497
+
1498
+ /* Define if using the dmalloc debugging malloc package */
1499
+ /* #undef WITH_DMALLOC */
1500
+
1501
+ /* Define if you have WMF library */
1502
+ /* #undef WMF_DELEGATE */
1503
+
1504
+ /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
1505
+ significant byte first (like Motorola and SPARC, unlike Intel). */
1506
+ #if defined AC_APPLE_UNIVERSAL_BUILD
1507
+ # if defined __BIG_ENDIAN__
1508
+ # define WORDS_BIGENDIAN 1
1509
+ # endif
1510
+ #else
1511
+ # ifndef WORDS_BIGENDIAN
1512
+ /* # undef WORDS_BIGENDIAN */
1513
+ # endif
1514
+ #endif
1515
+
1516
+ /* Location of X11 configure files */
1517
+ #ifndef MAGICKCORE_X11_CONFIGURE_PATH
1518
+ #define MAGICKCORE_X11_CONFIGURE_PATH ""
1519
+ #endif
1520
+
1521
+ /* Define if you have X11 library */
1522
+ #ifndef MAGICKCORE_X11_DELEGATE
1523
+ #define MAGICKCORE_X11_DELEGATE 1
1524
+ #endif
1525
+
1526
+ /* Define if you have XML library */
1527
+ #ifndef MAGICKCORE_XML_DELEGATE
1528
+ #define MAGICKCORE_XML_DELEGATE 1
1529
+ #endif
1530
+
1531
+ /* Define to 1 if the X Window System is missing or not being used. */
1532
+ /* #undef X_DISPLAY_MISSING */
1533
+
1534
+ /* Build self-contained, embeddable, zero-configuration ImageMagick */
1535
+ /* #undef ZERO_CONFIGURATION_SUPPORT */
1536
+
1537
+ /* Define if you have ZIP library */
1538
+ /* #undef ZIP_DELEGATE */
1539
+
1540
+ /* Define if you have ZLIB library */
1541
+ #ifndef MAGICKCORE_ZLIB_DELEGATE
1542
+ #define MAGICKCORE_ZLIB_DELEGATE 1
1543
+ #endif
1544
+
1545
+ /* Define if you have ZSTD library */
1546
+ #ifndef MAGICKCORE_ZSTD_DELEGATE
1547
+ #define MAGICKCORE_ZSTD_DELEGATE 1
1548
+ #endif
1549
+
1550
+ /* Number of bits in a file offset, on hosts where this is settable. */
1551
+ /* #undef _FILE_OFFSET_BITS */
1552
+
1553
+ /* enable run-time bounds-checking */
1554
+ /* #undef _FORTIFY_SOURCE */
1555
+
1556
+ /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
1557
+ /* #undef _LARGEFILE_SOURCE */
1558
+
1559
+ /* Define for large files, on AIX-style hosts. */
1560
+ /* #undef _LARGE_FILES */
1561
+
1562
+ /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
1563
+ <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
1564
+ #define below would cause a syntax error. */
1565
+ /* #undef _UINT32_T */
1566
+
1567
+ /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
1568
+ <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
1569
+ #define below would cause a syntax error. */
1570
+ /* #undef _UINT64_T */
1571
+
1572
+ /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
1573
+ <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
1574
+ #define below would cause a syntax error. */
1575
+ /* #undef _UINT8_T */
1576
+
1577
+ /* Define to 1 if type `char' is unsigned and your compiler does not
1578
+ predefine this macro. */
1579
+ #ifndef __CHAR_UNSIGNED__
1580
+ /* # undef __CHAR_UNSIGNED__ */
1581
+ #endif
1582
+
1583
+ /* Define to appropriate substitute if compiler does not have __func__ */
1584
+ /* #undef __func__ */
1585
+
1586
+ /* Define to empty if `const' does not conform to ANSI C. */
1587
+ /* #undef const */
1588
+
1589
+ /* Define to `int' if <sys/types.h> doesn't define. */
1590
+ /* #undef gid_t */
1591
+
1592
+ /* Define to `__inline__' or `__inline' if that's what the C compiler
1593
+ calls it, or to nothing if 'inline' is not supported under any name. */
1594
+ #ifndef __cplusplus
1595
+ /* #undef inline */
1596
+ #endif
1597
+
1598
+ /* Define to the type of a signed integer type of width exactly 16 bits if
1599
+ such a type exists and the standard includes do not define it. */
1600
+ /* #undef int16_t */
1601
+
1602
+ /* Define to the type of a signed integer type of width exactly 32 bits if
1603
+ such a type exists and the standard includes do not define it. */
1604
+ /* #undef int32_t */
1605
+
1606
+ /* Define to the type of a signed integer type of width exactly 64 bits if
1607
+ such a type exists and the standard includes do not define it. */
1608
+ /* #undef int64_t */
1609
+
1610
+ /* Define to the type of a signed integer type of width exactly 8 bits if such
1611
+ a type exists and the standard includes do not define it. */
1612
+ /* #undef int8_t */
1613
+
1614
+ /* Define to the widest signed integer type if <stdint.h> and <inttypes.h> do
1615
+ not define. */
1616
+ /* #undef intmax_t */
1617
+
1618
+ /* Define to the type of a signed integer type wide enough to hold a pointer,
1619
+ if such a type exists, and if the system does not define it. */
1620
+ /* #undef intptr_t */
1621
+
1622
+ /* Define to rpl_malloc if the replacement function should be used. */
1623
+ /* #undef malloc */
1624
+
1625
+ /* Define to a type if <wchar.h> does not define. */
1626
+ /* #undef mbstate_t */
1627
+
1628
+ /* Define to `int' if <sys/types.h> does not define. */
1629
+ /* #undef mode_t */
1630
+
1631
+ /* Define to `long int' if <sys/types.h> does not define. */
1632
+ /* #undef off_t */
1633
+
1634
+ /* Define as a signed integer type capable of holding a process identifier. */
1635
+ /* #undef pid_t */
1636
+
1637
+ /* Define to rpl_realloc if the replacement function should be used. */
1638
+ /* #undef realloc */
1639
+
1640
+ /* Define to the equivalent of the C99 'restrict' keyword, or to
1641
+ nothing if this is not supported. Do not define if restrict is
1642
+ supported only directly. */
1643
+ #ifndef _magickcore_restrict
1644
+ #define _magickcore_restrict __restrict__
1645
+ #endif
1646
+ /* Work around a bug in older versions of Sun C++, which did not
1647
+ #define __restrict__ or support _Restrict or __restrict__
1648
+ even though the corresponding Sun C compiler ended up with
1649
+ "#define restrict _Restrict" or "#define restrict __restrict__"
1650
+ in the previous line. This workaround can be removed once
1651
+ we assume Oracle Developer Studio 12.5 (2016) or later. */
1652
+ #if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__
1653
+ # define _Restrict
1654
+ # define __restrict__
1655
+ #endif
1656
+
1657
+ /* Define to `unsigned int' if <sys/types.h> does not define. */
1658
+ /* #undef size_t */
1659
+
1660
+ /* Define to `int' if <sys/types.h> does not define. */
1661
+ /* #undef ssize_t */
1662
+
1663
+ /* Define to `int' if <sys/types.h> doesn't define. */
1664
+ /* #undef uid_t */
1665
+
1666
+ /* Define to the type of an unsigned integer type of width exactly 16 bits if
1667
+ such a type exists and the standard includes do not define it. */
1668
+ /* #undef uint16_t */
1669
+
1670
+ /* Define to the type of an unsigned integer type of width exactly 32 bits if
1671
+ such a type exists and the standard includes do not define it. */
1672
+ /* #undef uint32_t */
1673
+
1674
+ /* Define to the type of an unsigned integer type of width exactly 64 bits if
1675
+ such a type exists and the standard includes do not define it. */
1676
+ /* #undef uint64_t */
1677
+
1678
+ /* Define to the type of an unsigned integer type of width exactly 8 bits if
1679
+ such a type exists and the standard includes do not define it. */
1680
+ /* #undef uint8_t */
1681
+
1682
+ /* Define to the widest unsigned integer type if <stdint.h> and <inttypes.h>
1683
+ do not define. */
1684
+ /* #undef uintmax_t */
1685
+
1686
+ /* Define to the type of an unsigned integer type wide enough to hold a
1687
+ pointer, if such a type exists, and if the system does not define it. */
1688
+ /* #undef uintptr_t */
1689
+
1690
+ /* Define as `fork' if `vfork' does not work. */
1691
+ /* #undef vfork */
1692
+
1693
+ /* Define to empty if the keyword `volatile' does not work. Warning: valid
1694
+ code using `volatile' can become incorrect without. Disable with care. */
1695
+ /* #undef volatile */
1696
+
1697
+ /* once: _MAGICKCORE_MAGICK_BASECONFIG_H */
1698
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/magick-config.h ADDED
@@ -0,0 +1,271 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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
+ MagickConfig not autogenerated (fixed stuff)
17
+ */
18
+ #ifndef MAGICKCORE_MAGICK_CONFIG_H
19
+ #define MAGICKCORE_MAGICK_CONFIG_H
20
+
21
+ #if defined(__cplusplus) || defined(c_plusplus)
22
+ extern "C" {
23
+ #endif
24
+
25
+ #include "MagickCore/magick-baseconfig.h"
26
+
27
+ #define MAGICKCORE_STRING_QUOTE(str) #str
28
+ #define MAGICKCORE_STRING_XQUOTE(str) MAGICKCORE_STRING_QUOTE(str)
29
+
30
+ #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
31
+ # if defined(__GNUC__) || defined(__clang__)
32
+ # define MAGICK_COMPILER_WARNING(w) _Pragma(MAGICKCORE_STRING_QUOTE(GCC warning w))
33
+ # elif defined(_MSC_VER)
34
+ # define MAGICK_COMPILER_WARNING(w) _Pragma(MAGICKCORE_STRING_QUOTE(message(w)))
35
+ # endif
36
+ #endif
37
+
38
+ #ifndef MAGICK_COMPILER_WARNING
39
+ # define MAGICK_COMPILER_WARNING(w)
40
+ #endif
41
+
42
+ #ifdef MAGICKCORE__FILE_OFFSET_BITS
43
+ # ifdef _FILE_OFFSET_BITS
44
+ # if _FILE_OFFSET_BITS != MAGICKCORE__FILE_OFFSET_BITS
45
+ MAGICK_COMPILER_WARNING("_FILE_OFFSET_BITS is already defined, but does not match MAGICKCORE__FILE_OFFSET_BITS")
46
+ # else
47
+ # undef _FILE_OFFSET_BITS
48
+ # endif
49
+ # endif
50
+ # ifndef _FILE_OFFSET_BITS
51
+ # if MAGICKCORE__FILE_OFFSET_BITS == 64
52
+ # define _FILE_OFFSET_BITS 64
53
+ # elif MAGICKCORE__FILE_OFFSET_BITS == 32
54
+ # define _FILE_OFFSET_BITS 32
55
+ # else
56
+ # define _FILE_OFFSET_BITS MAGICKCORE__FILE_OFFSET_BITS
57
+ # endif
58
+ # endif
59
+ #endif
60
+
61
+ /* Compatibility block */
62
+ #if !defined(MAGICKCORE_QUANTUM_DEPTH) && defined(MAGICKCORE_QUANTUM_DEPTH_OBSOLETE_IN_H)
63
+ # warning "you should set MAGICKCORE_QUANTUM_DEPTH to sensible default set it to configure time default"
64
+ # warning "this is an obsolete behavior please fix your makefile"
65
+ # define MAGICKCORE_QUANTUM_DEPTH MAGICKCORE_QUANTUM_DEPTH_OBSOLETE_IN_H
66
+ #endif
67
+
68
+ /* Number of bits in a pixel Quantum (8/16/32/64) */
69
+ #ifndef MAGICKCORE_QUANTUM_DEPTH
70
+ # error "you should set MAGICKCORE_QUANTUM_DEPTH"
71
+ #endif
72
+
73
+ /* check values */
74
+ #if MAGICKCORE_QUANTUM_DEPTH != 8
75
+ # if MAGICKCORE_QUANTUM_DEPTH != 16
76
+ # if MAGICKCORE_QUANTUM_DEPTH != 32
77
+ # if MAGICKCORE_QUANTUM_DEPTH != 64
78
+ # error "MAGICKCORE_QUANTUM_DEPTH is not 8/16/32/64 bits"
79
+ # endif
80
+ # endif
81
+ # endif
82
+ #endif
83
+
84
+
85
+ #if !defined(MAGICKCORE_HDRI_ENABLE) && defined(MAGICKCORE_HDRI_ENABLE_OBSOLETE_IN_H)
86
+ # warning "you should set MAGICKCORE_HDRI_ENABLE to sensible default set it to configure time default"
87
+ # warning "this is an obsolete behavior please fix yours makefile"
88
+ # define MAGICKCORE_HDRI_ENABLE MAGICKCORE_HDRI_ENABLE_OBSOLETE_IN_H
89
+ #endif
90
+
91
+ /* whether HDRI is enable */
92
+ #if !defined(MAGICKCORE_HDRI_ENABLE)
93
+ # error "you should set MAGICKCORE_HDRI_ENABLE"
94
+ #endif
95
+
96
+ #if MAGICKCORE_HDRI_ENABLE
97
+ # define MAGICKCORE_HDRI_SUPPORT 1
98
+ #endif
99
+
100
+ /* Compatibility block */
101
+ #if !defined(MAGICKCORE_QUANTUM_DEPTH) && defined(MAGICKCORE_QUANTUM_DEPTH_OBSOLETE_IN_H)
102
+ # warning "you should set MAGICKCORE_QUANTUM_DEPTH to sensible default set it to configure time default"
103
+ # warning "this is an obsolete behavior please fix yours makefile"
104
+ # define MAGICKCORE_QUANTUM_DEPTH MAGICKCORE_QUANTUM_DEPTH_OBSOLETE_IN_H
105
+ #endif
106
+
107
+ /* Number of bits in a pixel Quantum (8/16/32/64) */
108
+ #ifndef MAGICKCORE_QUANTUM_DEPTH
109
+ # error "you should set MAGICKCORE_QUANTUM_DEPTH"
110
+ #endif
111
+
112
+ /* check values */
113
+ #if MAGICKCORE_QUANTUM_DEPTH != 8
114
+ # if MAGICKCORE_QUANTUM_DEPTH != 16
115
+ # if MAGICKCORE_QUANTUM_DEPTH != 32
116
+ # if MAGICKCORE_QUANTUM_DEPTH != 64
117
+ # error "MAGICKCORE_QUANTUM_DEPTH is not 8/16/32/64 bits"
118
+ # endif
119
+ # endif
120
+ # endif
121
+ #endif
122
+
123
+
124
+ #if !defined(MAGICKCORE_HDRI_ENABLE) && defined(MAGICKCORE_HDRI_ENABLE_OBSOLETE_IN_H)
125
+ # warning "you should set MAGICKCORE_HDRI_ENABLE to sensible default set it to configure time default"
126
+ # warning "this is an obsolete behavior please fix yours makefile"
127
+ # define MAGICKCORE_HDRI_ENABLE MAGICKCORE_HDRI_ENABLE_OBSOLETE_IN_H
128
+ #endif
129
+
130
+ /* whether HDRI is enable */
131
+ #if !defined(MAGICKCORE_HDRI_ENABLE)
132
+ # error "you should set MAGICKCORE_HDRI_ENABLE"
133
+ #endif
134
+
135
+ #if MAGICKCORE_HDRI_ENABLE
136
+ # define MAGICKCORE_HDRI_SUPPORT 1
137
+ #endif
138
+
139
+ #if defined __CYGWIN32__ && !defined __CYGWIN__
140
+ /* For backwards compatibility with Cygwin b19 and
141
+ earlier, we define __CYGWIN__ here, so that
142
+ we can rely on checking just for that macro. */
143
+ # define __CYGWIN__ __CYGWIN32__
144
+ #endif
145
+
146
+ /* ABI SUFFIX */
147
+ #ifndef MAGICKCORE_HDRI_SUPPORT
148
+ #define MAGICKCORE_ABI_SUFFIX "Q" MAGICKCORE_STRING_XQUOTE(MAGICKCORE_QUANTUM_DEPTH)
149
+ #else
150
+ #define MAGICKCORE_ABI_SUFFIX "Q" MAGICKCORE_STRING_XQUOTE(MAGICKCORE_QUANTUM_DEPTH) "HDRI"
151
+ #endif
152
+
153
+ /* some path game */
154
+ #if !defined __CYGWIN__
155
+ # if defined (_WIN32) || defined (_WIN64) || defined (__MSDOS__) || defined (__DJGPP__) || defined (__OS2__)
156
+ /* Use Windows separators on all _WIN32 defining
157
+ environments, except Cygwin. */
158
+ # define MAGICKCORE_DIR_SEPARATOR_CHAR '\\'
159
+ # define MAGICKCORE_DIR_SEPARATOR "\\"
160
+ # define MAGICKCORE_PATH_SEPARATOR_CHAR ';'
161
+ # define MAGICKCORE_PATH_SEPARATOR ";"
162
+ # endif
163
+ #endif
164
+
165
+ /* posix */
166
+ #ifndef MAGICKCORE_DIR_SEPARATOR_CHAR
167
+ /* Assume that not having this is an indicator that all
168
+ are missing. */
169
+ # define MAGICKCORE_DIR_SEPARATOR_CHAR '/'
170
+ # define MAGICKCORE_DIR_SEPARATOR "/"
171
+ # define MAGICKCORE_PATH_SEPARATOR_CHAR ':'
172
+ # define MAGICKCORE_PATH_SEPARATOR ":"
173
+ #endif /* !DIR_SEPARATOR_CHAR */
174
+
175
+ # if defined(MAGICKCORE_POSIX_SUPPORT) || defined(__MINGW32__)
176
+
177
+ /* module dir */
178
+ #ifndef MAGICKCORE_MODULES_DIRNAME
179
+ # define MAGICKCORE_MODULES_DIRNAME MAGICKCORE_MODULES_BASEDIRNAME "-" MAGICKCORE_ABI_SUFFIX
180
+ #endif
181
+
182
+ #ifndef MAGICKCORE_MODULES_PATH
183
+ # define MAGICKCORE_MODULES_PATH MAGICKCORE_LIBRARY_PATH MAGICKCORE_DIR_SEPARATOR MAGICKCORE_MODULES_DIRNAME
184
+ #endif
185
+
186
+ #ifndef MAGICKCORE_MODULES_RELATIVE_PATH
187
+ #define MAGICKCORE_MODULES_RELATIVE_PATH MAGICKCORE_LIBRARY_RELATIVE_PATH MAGICKCORE_DIR_SEPARATOR MAGICKCORE_MODULES_DIRNAME
188
+ #endif
189
+
190
+ /* Subdirectory under lib to place ImageMagick coder module files */
191
+ #ifndef MAGICKCORE_CODER_PATH
192
+ # if defined(vms)
193
+ # define MAGICKCORE_CODER_PATH "sys$login:"
194
+ # else
195
+ # define MAGICKCORE_CODER_PATH MAGICKCORE_MODULES_PATH MAGICKCORE_DIR_SEPARATOR MAGICKCORE_CODER_DIRNAME
196
+ # endif
197
+ #endif
198
+
199
+ #ifndef MAGICKCORE_CODER_RELATIVE_PATH
200
+ # define MAGICKCORE_CODER_RELATIVE_PATH MAGICKCORE_MODULES_RELATIVE_PATH MAGICKCORE_DIR_SEPARATOR MAGICKCORE_CODER_DIRNAME
201
+ #endif
202
+
203
+ /* subdirectory under lib to place ImageMagick filter module files */
204
+ #ifndef MAGICKCORE_FILTER_PATH
205
+ # if defined(vms)
206
+ # define MAGICKCORE_FILTER_PATH "sys$login:"
207
+ # else
208
+ # define MAGICKCORE_FILTER_PATH MAGICKCORE_MODULES_PATH MAGICKCORE_DIR_SEPARATOR MAGICKCORE_FILTER_DIRNAME
209
+ # endif
210
+ #endif
211
+
212
+ #ifndef MAGICKCORE_FILTER_RELATIVE_PATH
213
+ # define MAGICKCORE_FILTER_RELATIVE_PATH MAGICKCORE_MODULES_RELATIVE_PATH MAGICKCORE_DIR_SEPARATOR MAGICKCORE_FILTER_DIRNAME
214
+ #endif
215
+
216
+ /* sharearch dir */
217
+ #ifndef MAGICKCORE_SHAREARCH_DIRNAME
218
+ # define MAGICKCORE_SHAREARCH_DIRNAME MAGICKCORE_SHAREARCH_BASEDIRNAME "-" MAGICKCORE_ABI_SUFFIX
219
+ #endif
220
+
221
+ #ifndef MAGICKCORE_SHAREARCH_PATH
222
+ # define MAGICKCORE_SHAREARCH_PATH MAGICKCORE_LIBRARY_PATH MAGICKCORE_DIR_SEPARATOR MAGICKCORE_SHAREARCH_DIRNAME MAGICKCORE_DIR_SEPARATOR
223
+ #endif
224
+
225
+ #ifndef MAGICKCORE_SHAREARCH_RELATIVE_PATH
226
+ #define MAGICKCORE_SHAREARCH_RELATIVE_PATH MAGICKCORE_LIBRARY_RELATIVE_PATH MAGICKCORE_DIR_SEPARATOR MAGICKCORE_SHAREARCH_DIRNAME
227
+ #endif
228
+
229
+ #endif
230
+
231
+ /* for Clang compatibility */
232
+ #ifndef __has_builtin
233
+ # define __has_builtin(x) 0
234
+ #endif
235
+
236
+ #if defined(__GNUC__) && !defined(__clang__)
237
+ # define MAGICKCORE_DIAGNOSTIC_PUSH() \
238
+ _Pragma("GCC diagnostic push")
239
+ # define MAGICKCORE_DIAGNOSTIC_IGNORE_MAYBE_UNINITIALIZED() \
240
+ _Pragma("GCC diagnostic ignored \"-Wmaybe-uninitialized\"")
241
+ # define MAGICKCORE_DIAGNOSTIC_POP() \
242
+ _Pragma("GCC diagnostic pop")
243
+ #else
244
+ # define MAGICKCORE_DIAGNOSTIC_PUSH()
245
+ # define MAGICKCORE_DIAGNOSTIC_IGNORE_MAYBE_UNINITIALIZED()
246
+ # define MAGICKCORE_DIAGNOSTIC_POP()
247
+ #endif
248
+
249
+ #define MAGICKCORE_BITS_BELOW(power_of_2) \
250
+ ((power_of_2)-1)
251
+
252
+ #define MAGICKCORE_MAX_ALIGNMENT_PADDING(power_of_2) \
253
+ MAGICKCORE_BITS_BELOW(power_of_2)
254
+
255
+ #define MAGICKCORE_IS_NOT_ALIGNED(n, power_of_2) \
256
+ ((n) & MAGICKCORE_BITS_BELOW(power_of_2))
257
+
258
+ #define MAGICKCORE_IS_NOT_POWER_OF_2(n) \
259
+ MAGICKCORE_IS_NOT_ALIGNED((n), (n))
260
+
261
+ #define MAGICKCORE_ALIGN_DOWN(n, power_of_2) \
262
+ ((n) & ~MAGICKCORE_BITS_BELOW(power_of_2))
263
+
264
+ #define MAGICKCORE_ALIGN_UP(n, power_of_2) \
265
+ MAGICKCORE_ALIGN_DOWN((n) + MAGICKCORE_MAX_ALIGNMENT_PADDING(power_of_2),power_of_2)
266
+
267
+ #if defined(__cplusplus) || defined(c_plusplus)
268
+ }
269
+ #endif
270
+
271
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/magick-type.h ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 types.
17
+ */
18
+ #ifndef MAGICKCORE_MAGICK_TYPE_H
19
+ #define MAGICKCORE_MAGICK_TYPE_H
20
+
21
+ #include "MagickCore/magick-config.h"
22
+
23
+ #if MAGICKCORE_HAVE_UINTPTR_T
24
+ # include <stdint.h>
25
+ #endif
26
+
27
+ #if defined(__cplusplus) || defined(c_plusplus)
28
+ extern "C" {
29
+ #endif
30
+
31
+ #if !defined(MAGICKCORE_QUANTUM_DEPTH)
32
+ #define MAGICKCORE_QUANTUM_DEPTH 16
33
+ #endif
34
+
35
+ #if defined(MAGICKCORE_WINDOWS_SUPPORT) && !defined(__MINGW32__)
36
+ # define MagickLLConstant(c) ((MagickOffsetType) (c ## i64))
37
+ # define MagickULLConstant(c) ((MagickSizeType) (c ## ui64))
38
+ #else
39
+ # define MagickLLConstant(c) ((MagickOffsetType) (c ## LL))
40
+ # define MagickULLConstant(c) ((MagickSizeType) (c ## ULL))
41
+ #endif
42
+
43
+ #if MAGICKCORE_SIZEOF_FLOAT_T == 0
44
+ typedef float MagickFloatType;
45
+ #elif (MAGICKCORE_SIZEOF_FLOAT_T == MAGICKCORE_SIZEOF_FLOAT)
46
+ typedef float MagickFloatType;
47
+ #elif (MAGICKCORE_SIZEOF_FLOAT_T == MAGICKCORE_SIZEOF_DOUBLE)
48
+ typedef double MagickFloatType;
49
+ #elif (MAGICKCORE_SIZEOF_FLOAT_T == MAGICKCORE_SIZEOF_LONG_DOUBLE)
50
+ typedef double MagickFloatType;
51
+ #else
52
+ #error Your MagickFloatType type is neither a float, nor a double, nor a long double
53
+ #endif
54
+ #if MAGICKCORE_SIZEOF_DOUBLE_T == 0
55
+ typedef double MagickDoubleType;
56
+ #elif (MAGICKCORE_SIZEOF_DOUBLE_T == MAGICKCORE_SIZEOF_DOUBLE)
57
+ typedef double MagickDoubleType;
58
+ #elif (MAGICKCORE_SIZEOF_DOUBLE_T == MAGICKCORE_SIZEOF_LONG_DOUBLE)
59
+ typedef double MagickDoubleType;
60
+ #else
61
+ #error Your MagickDoubleType type is neither a float, nor a double, nor a long double
62
+ #endif
63
+
64
+ #if (MAGICKCORE_QUANTUM_DEPTH == 8)
65
+ #define MaxColormapSize 256UL
66
+ #define MaxMap 255UL
67
+
68
+ #if defined(MAGICKCORE_HDRI_SUPPORT)
69
+ typedef MagickFloatType Quantum;
70
+ #define QuantumRange 255.0
71
+ #define QuantumFormat "%g"
72
+ #else
73
+ typedef unsigned char Quantum;
74
+ #define QuantumRange ((Quantum) 255)
75
+ #define QuantumFormat "%u"
76
+ #endif
77
+ #elif (MAGICKCORE_QUANTUM_DEPTH == 16)
78
+ #define MaxColormapSize 65536UL
79
+ #define MaxMap 65535UL
80
+
81
+ #if defined(MAGICKCORE_HDRI_SUPPORT)
82
+ typedef MagickFloatType Quantum;
83
+ #define QuantumRange 65535.0f
84
+ #define QuantumFormat "%g"
85
+ #else
86
+ typedef unsigned short Quantum;
87
+ #define QuantumRange ((Quantum) 65535)
88
+ #define QuantumFormat "%u"
89
+ #endif
90
+ #elif (MAGICKCORE_QUANTUM_DEPTH == 32)
91
+ #define MaxColormapSize 65536UL
92
+ #define MaxMap 65535UL
93
+
94
+ #if defined(MAGICKCORE_HDRI_SUPPORT)
95
+ typedef MagickDoubleType Quantum;
96
+ #define QuantumRange 4294967295.0
97
+ #define QuantumFormat "%g"
98
+ #else
99
+ typedef unsigned int Quantum;
100
+ #define QuantumRange ((Quantum) 4294967295)
101
+ #define QuantumFormat "%u"
102
+ #endif
103
+ #elif (MAGICKCORE_QUANTUM_DEPTH == 64)
104
+ #define MAGICKCORE_HDRI_SUPPORT 1
105
+ #define MaxColormapSize 65536UL
106
+ #define MaxMap 65535UL
107
+
108
+ typedef MagickDoubleType Quantum;
109
+ #define QuantumRange 18446744073709551615.0
110
+ #define QuantumFormat "%g"
111
+ #else
112
+ #error "MAGICKCORE_QUANTUM_DEPTH must be one of 8, 16, 32, or 64"
113
+ #endif
114
+ #define MagickEpsilon 1.0e-12
115
+ #define MagickMaximumValue 1.79769313486231570E+308
116
+ #define MagickMinimumValue 2.22507385850720140E-308
117
+ #define MagickStringify(macro_or_string) MagickStringifyArg(macro_or_string)
118
+ #define MagickStringifyArg(contents) #contents
119
+ #define QuantumScale ((double) 1.0/(double) QuantumRange)
120
+
121
+ /*
122
+ Typedef declarations.
123
+ */
124
+ typedef MagickDoubleType MagickRealType;
125
+ typedef unsigned int MagickStatusType;
126
+ #if !defined(MAGICKCORE_WINDOWS_SUPPORT)
127
+ #if (MAGICKCORE_SIZEOF_UNSIGNED_LONG_LONG == 8)
128
+ typedef long long MagickOffsetType;
129
+ typedef unsigned long long MagickSizeType;
130
+ #define MagickOffsetFormat "lld"
131
+ #define MagickSizeFormat "llu"
132
+ #else
133
+ typedef ssize_t MagickOffsetType;
134
+ typedef size_t MagickSizeType;
135
+ #define MagickOffsetFormat "ld"
136
+ #define MagickSizeFormat "lu"
137
+ #endif
138
+ #else
139
+ typedef __int64 MagickOffsetType;
140
+ typedef unsigned __int64 MagickSizeType;
141
+ #define MagickOffsetFormat "I64i"
142
+ #define MagickSizeFormat "I64u"
143
+ #endif
144
+
145
+ #if MAGICKCORE_HAVE_UINTPTR_T || defined(uintptr_t)
146
+ typedef uintptr_t MagickAddressType;
147
+ #else
148
+ /* Hope for the best, I guess. */
149
+ typedef size_t MagickAddressType;
150
+ #endif
151
+
152
+ typedef MagickSizeType QuantumAny;
153
+
154
+ typedef enum
155
+ {
156
+ UndefinedClass,
157
+ DirectClass,
158
+ PseudoClass
159
+ } ClassType;
160
+
161
+ typedef enum
162
+ {
163
+ MagickFalse = 0,
164
+ MagickTrue = 1
165
+ } MagickBooleanType;
166
+
167
+ /*
168
+ The IsNaN test is for special floating point numbers of value Nan (not a
169
+ number). NaN's are defined as part of the IEEE standard for floating point
170
+ number representation, and need to be watched out for. Morphology Kernels
171
+ often use these special numbers as neighbourhood masks.
172
+
173
+ The special property that two NaN's are never equal, even if they are from
174
+ the same variable allows you to test if a value is special NaN value.
175
+
176
+ The macros are thus is only true if the value given is NaN.
177
+ */
178
+ #if defined(MAGICKCORE_HAVE_ISNAN) && !defined(__cplusplus) && !defined(c_plusplus)
179
+ # define IsNaN(a) isnan(a)
180
+ #elif defined(_MSC_VER)
181
+ # include <float.h>
182
+ # define IsNaN(a) _isnan(a)
183
+ #else
184
+ # define IsNaN(a) ((a) != (a))
185
+ #endif
186
+ #if !defined(INFINITY)
187
+ # define INFINITY ((double) -logf(0f))
188
+ #endif
189
+
190
+ typedef struct _BlobInfo BlobInfo;
191
+
192
+ typedef struct _ExceptionInfo ExceptionInfo;
193
+
194
+ typedef struct _Image Image;
195
+
196
+ typedef struct _ImageInfo ImageInfo;
197
+
198
+ #if defined(__cplusplus) || defined(c_plusplus)
199
+ }
200
+ #endif
201
+
202
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/magick.h ADDED
@@ -0,0 +1,158 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 magick methods.
17
+ */
18
+ #ifndef MAGICKCORE_MAGICK_H
19
+ #define MAGICKCORE_MAGICK_H
20
+
21
+ #if defined(__cplusplus) || defined(c_plusplus)
22
+ extern "C" {
23
+ #endif
24
+
25
+ #include <stdarg.h>
26
+ #include "MagickCore/semaphore.h"
27
+
28
+ #if defined(__cplusplus) || defined(c_plusplus)
29
+ # define magick_module _module /* reserved word in C++(20) */
30
+ #else
31
+ # define magick_module module
32
+ #endif
33
+
34
+ typedef enum
35
+ {
36
+ UndefinedFormatType,
37
+ ImplicitFormatType,
38
+ ExplicitFormatType
39
+ } MagickFormatType;
40
+
41
+ typedef enum
42
+ {
43
+ CoderNoFlag = 0x0000,
44
+ CoderAdjoinFlag = 0x0001,
45
+ CoderBlobSupportFlag = 0x0002,
46
+ CoderDecoderThreadSupportFlag = 0x0004,
47
+ CoderEncoderThreadSupportFlag = 0x0008,
48
+ CoderEndianSupportFlag = 0x0010,
49
+ CoderRawSupportFlag = 0x0020,
50
+ CoderSeekableStreamFlag = 0x0040, /* deprecated */
51
+ CoderStealthFlag = 0x0080,
52
+ CoderUseExtensionFlag = 0x0100,
53
+ CoderDecoderSeekableStreamFlag = 0x0200,
54
+ CoderEncoderSeekableStreamFlag = 0x0400
55
+ } MagickInfoFlag;
56
+
57
+ typedef Image
58
+ *DecodeImageHandler(const ImageInfo *,ExceptionInfo *);
59
+
60
+ typedef MagickBooleanType
61
+ EncodeImageHandler(const ImageInfo *,Image *,ExceptionInfo *);
62
+
63
+ typedef MagickBooleanType
64
+ IsImageFormatHandler(const unsigned char *,const size_t);
65
+
66
+ typedef struct _MagickInfo
67
+ {
68
+ char
69
+ *name,
70
+ *description,
71
+ *version,
72
+ *mime_type,
73
+ *note,
74
+ *magick_module;
75
+
76
+ DecodeImageHandler
77
+ *decoder;
78
+
79
+ EncodeImageHandler
80
+ *encoder;
81
+
82
+ ImageInfo
83
+ *image_info;
84
+
85
+ IsImageFormatHandler
86
+ *magick;
87
+
88
+ MagickFormatType
89
+ format_type;
90
+
91
+ MagickStatusType
92
+ flags;
93
+
94
+ SemaphoreInfo
95
+ *semaphore;
96
+
97
+ size_t
98
+ signature;
99
+
100
+ void
101
+ *client_data;
102
+ } MagickInfo;
103
+
104
+ extern MagickExport char
105
+ **GetMagickList(const char *,size_t *,ExceptionInfo *);
106
+
107
+ extern MagickExport const char
108
+ *GetMagickDescription(const MagickInfo *),
109
+ *GetMagickMimeType(const MagickInfo *),
110
+ *GetMagickModuleName(const MagickInfo *),
111
+ *GetMagickName(const MagickInfo *);
112
+
113
+ extern MagickExport DecodeImageHandler
114
+ *GetImageDecoder(const MagickInfo *) magick_attribute((__pure__));
115
+
116
+ extern MagickExport EncodeImageHandler
117
+ *GetImageEncoder(const MagickInfo *) magick_attribute((__pure__));
118
+
119
+ extern MagickExport int
120
+ GetMagickPrecision(void),
121
+ SetMagickPrecision(const int);
122
+
123
+ extern MagickExport MagickBooleanType
124
+ GetImageMagick(const unsigned char *,const size_t,char *),
125
+ GetMagickAdjoin(const MagickInfo *) magick_attribute((__pure__)),
126
+ GetMagickBlobSupport(const MagickInfo *) magick_attribute((__pure__)),
127
+ GetMagickDecoderSeekableStream(const MagickInfo *)
128
+ magick_attribute((__pure__)),
129
+ GetMagickDecoderThreadSupport(const MagickInfo *)
130
+ magick_attribute((__pure__)),
131
+ GetMagickEncoderSeekableStream(const MagickInfo *)
132
+ magick_attribute((__pure__)),
133
+ GetMagickEncoderThreadSupport(const MagickInfo *)
134
+ magick_attribute((__pure__)),
135
+ GetMagickEndianSupport(const MagickInfo *) magick_attribute((__pure__)),
136
+ GetMagickRawSupport(const MagickInfo *) magick_attribute((__pure__)),
137
+ GetMagickStealth(const MagickInfo *) magick_attribute((__pure__)),
138
+ GetMagickUseExtension(const MagickInfo *) magick_attribute((__pure__)),
139
+ IsMagickCoreInstantiated(void) magick_attribute((__pure__)),
140
+ RegisterMagickInfo(MagickInfo *),
141
+ UnregisterMagickInfo(const char *);
142
+
143
+ extern const MagickExport MagickInfo
144
+ *GetMagickInfo(const char *,ExceptionInfo *),
145
+ **GetMagickInfoList(const char *,size_t *,ExceptionInfo *);
146
+
147
+ extern MagickExport MagickInfo
148
+ *AcquireMagickInfo(const char *, const char *, const char *);
149
+
150
+ extern MagickExport void
151
+ MagickCoreGenesis(const char *,const MagickBooleanType),
152
+ MagickCoreTerminus(void);
153
+
154
+ #if defined(__cplusplus) || defined(c_plusplus)
155
+ }
156
+ #endif
157
+
158
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/methods.h ADDED
The diff for this file is too large to render. See raw diff
 
data/miniconda3/include/ImageMagick-7/MagickCore/mime.h ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Copyright @ 2000 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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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
+ The ImageMagick mime methods.
17
+ */
18
+ #ifndef MAGICKCORE_MIME_H
19
+ #define MAGICKCORE_MIME_H
20
+
21
+ #if defined(__cplusplus) || defined(c_plusplus)
22
+ extern "C" {
23
+ #endif
24
+
25
+ typedef struct _MimeInfo
26
+ MimeInfo;
27
+
28
+ extern MagickExport char
29
+ **GetMimeList(const char *,size_t *,ExceptionInfo *),
30
+ *MagickToMime(const char *);
31
+
32
+ extern MagickExport const char
33
+ *GetMimeDescription(const MimeInfo *),
34
+ *GetMimeType(const MimeInfo *);
35
+
36
+ extern MagickExport MagickBooleanType
37
+ ListMimeInfo(FILE *,ExceptionInfo *),
38
+ LoadMimeLists(const char *,ExceptionInfo *);
39
+
40
+ extern MagickExport const MimeInfo
41
+ *GetMimeInfo(const char *,const unsigned char *,const size_t,ExceptionInfo *),
42
+ **GetMimeInfoList(const char *,size_t *,ExceptionInfo *);
43
+
44
+ #if defined(__cplusplus) || defined(c_plusplus)
45
+ }
46
+ #endif
47
+
48
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/monitor.h ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 progress monitor methods.
17
+ */
18
+ #ifndef MAGICKCORE_MONITOR_H
19
+ #define MAGICKCORE_MONITOR_H
20
+
21
+ #if defined(__cplusplus) || defined(c_plusplus)
22
+ extern "C" {
23
+ #endif
24
+
25
+ typedef MagickBooleanType
26
+ (*MagickProgressMonitor)(const char *,const MagickOffsetType,
27
+ const MagickSizeType,void *);
28
+
29
+ MagickExport MagickBooleanType
30
+ SetImageProgress(const Image *,const char *,const MagickOffsetType,
31
+ const MagickSizeType);
32
+
33
+ MagickExport MagickProgressMonitor
34
+ SetImageProgressMonitor(Image *,const MagickProgressMonitor,void *),
35
+ SetImageInfoProgressMonitor(ImageInfo *,const MagickProgressMonitor,void *);
36
+
37
+ static inline MagickBooleanType QuantumTick(const MagickOffsetType offset,
38
+ const MagickSizeType span)
39
+ {
40
+ if (span <= 100)
41
+ return(MagickTrue);
42
+ if (offset == (MagickOffsetType) (span-1))
43
+ return(MagickTrue);
44
+ if ((offset % (MagickOffsetType) (span/100)) == 0)
45
+ return(MagickTrue);
46
+ return(MagickFalse);
47
+ }
48
+
49
+ #if defined(__cplusplus) || defined(c_plusplus)
50
+ }
51
+ #endif
52
+
53
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/montage.h ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 montage methods.
17
+ */
18
+ #ifndef MAGICKCORE_MONTAGE_H
19
+ #define MAGICKCORE_MONTAGE_H
20
+
21
+ #if defined(__cplusplus) || defined(c_plusplus)
22
+ extern "C" {
23
+ #endif
24
+
25
+ typedef enum
26
+ {
27
+ UndefinedMode,
28
+ FrameMode,
29
+ UnframeMode,
30
+ ConcatenateMode
31
+ } MontageMode;
32
+
33
+ typedef struct _MontageInfo
34
+ {
35
+ char
36
+ *geometry,
37
+ *tile,
38
+ *title,
39
+ *frame,
40
+ *texture,
41
+ *font;
42
+
43
+ double
44
+ pointsize;
45
+
46
+ size_t
47
+ border_width;
48
+
49
+ MagickBooleanType
50
+ shadow;
51
+
52
+ PixelInfo
53
+ alpha_color, /* deprecated */
54
+ background_color,
55
+ border_color,
56
+ fill,
57
+ stroke;
58
+
59
+ GravityType
60
+ gravity;
61
+
62
+ char
63
+ filename[MagickPathExtent];
64
+
65
+ MagickBooleanType
66
+ debug;
67
+
68
+ size_t
69
+ signature;
70
+
71
+ PixelInfo
72
+ matte_color;
73
+ } MontageInfo;
74
+
75
+ extern MagickExport Image
76
+ *MontageImages(const Image *,const MontageInfo *,ExceptionInfo *),
77
+ *MontageImageList(const ImageInfo *,const MontageInfo *,const Image *,
78
+ ExceptionInfo *);
79
+
80
+ extern MagickExport MontageInfo
81
+ *CloneMontageInfo(const ImageInfo *,const MontageInfo *),
82
+ *DestroyMontageInfo(MontageInfo *);
83
+
84
+ extern MagickExport void
85
+ GetMontageInfo(const ImageInfo *,MontageInfo *);
86
+
87
+ #if defined(__cplusplus) || defined(c_plusplus)
88
+ }
89
+ #endif
90
+
91
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/morphology.h ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Copyright @ 2010 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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 morphology methods.
17
+ */
18
+ #ifndef MAGICKCORE_MORPHOLOGY_H
19
+ #define MAGICKCORE_MORPHOLOGY_H
20
+
21
+ #include "MagickCore/geometry.h"
22
+
23
+ #if defined(__cplusplus) || defined(c_plusplus)
24
+ extern "C" {
25
+ #endif
26
+
27
+ typedef enum
28
+ {
29
+ UndefinedKernel, /* equivalent to UnityKernel */
30
+ UnityKernel, /* The no-op or 'original image' kernel */
31
+ GaussianKernel, /* Convolution Kernels, Gaussian Based */
32
+ DoGKernel,
33
+ LoGKernel,
34
+ BlurKernel,
35
+ CometKernel,
36
+ BinomialKernel,
37
+ LaplacianKernel, /* Convolution Kernels, by Name */
38
+ SobelKernel,
39
+ FreiChenKernel,
40
+ RobertsKernel,
41
+ PrewittKernel,
42
+ CompassKernel,
43
+ KirschKernel,
44
+ DiamondKernel, /* Shape Kernels */
45
+ SquareKernel,
46
+ RectangleKernel,
47
+ OctagonKernel,
48
+ DiskKernel,
49
+ PlusKernel,
50
+ CrossKernel,
51
+ RingKernel,
52
+ PeaksKernel, /* Hit And Miss Kernels */
53
+ EdgesKernel,
54
+ CornersKernel,
55
+ DiagonalsKernel,
56
+ LineEndsKernel,
57
+ LineJunctionsKernel,
58
+ RidgesKernel,
59
+ ConvexHullKernel,
60
+ ThinSEKernel,
61
+ SkeletonKernel,
62
+ ChebyshevKernel, /* Distance Measuring Kernels */
63
+ ManhattanKernel,
64
+ OctagonalKernel,
65
+ EuclideanKernel,
66
+ UserDefinedKernel /* User Specified Kernel Array */
67
+ } KernelInfoType;
68
+
69
+ typedef enum
70
+ {
71
+ UndefinedMorphology,
72
+ /* Convolve / Correlate weighted sums */
73
+ ConvolveMorphology, /* Weighted Sum with reflected kernel */
74
+ CorrelateMorphology, /* Weighted Sum using a sliding window */
75
+ /* Low-level Morphology methods */
76
+ ErodeMorphology, /* Minimum Value in Neighbourhood */
77
+ DilateMorphology, /* Maximum Value in Neighbourhood */
78
+ ErodeIntensityMorphology, /* Pixel Pick using GreyScale Erode */
79
+ DilateIntensityMorphology, /* Pixel Pick using GreyScale Dilate */
80
+ IterativeDistanceMorphology, /* Add Kernel Value, take Minimum */
81
+ /* Second-level Morphology methods */
82
+ OpenMorphology, /* Dilate then Erode */
83
+ CloseMorphology, /* Erode then Dilate */
84
+ OpenIntensityMorphology, /* Pixel Pick using GreyScale Open */
85
+ CloseIntensityMorphology, /* Pixel Pick using GreyScale Close */
86
+ SmoothMorphology, /* Open then Close */
87
+ /* Difference Morphology methods */
88
+ EdgeInMorphology, /* Dilate difference from Original */
89
+ EdgeOutMorphology, /* Erode difference from Original */
90
+ EdgeMorphology, /* Dilate difference with Erode */
91
+ TopHatMorphology, /* Close difference from Original */
92
+ BottomHatMorphology, /* Open difference from Original */
93
+ /* Recursive Morphology methods */
94
+ HitAndMissMorphology, /* Foreground/Background pattern matching */
95
+ ThinningMorphology, /* Remove matching pixels from image */
96
+ ThickenMorphology, /* Add matching pixels from image */
97
+ /* Directly Applied Morphology methods */
98
+ DistanceMorphology, /* Add Kernel Value, take Minimum */
99
+ VoronoiMorphology /* Distance matte channel copy nearest color */
100
+ } MorphologyMethod;
101
+
102
+ typedef struct _KernelInfo
103
+ {
104
+ KernelInfoType
105
+ type;
106
+
107
+ size_t
108
+ width,
109
+ height;
110
+
111
+ ssize_t
112
+ x,
113
+ y;
114
+
115
+ MagickRealType
116
+ *values;
117
+
118
+ double
119
+ minimum,
120
+ maximum,
121
+ negative_range,
122
+ positive_range,
123
+ angle;
124
+
125
+ struct _KernelInfo
126
+ *next;
127
+
128
+ size_t
129
+ signature;
130
+ } KernelInfo;
131
+
132
+ extern MagickExport KernelInfo
133
+ *AcquireKernelInfo(const char *,ExceptionInfo *),
134
+ *AcquireKernelBuiltIn(const KernelInfoType,const GeometryInfo *,
135
+ ExceptionInfo *),
136
+ *CloneKernelInfo(const KernelInfo *),
137
+ *DestroyKernelInfo(KernelInfo *);
138
+
139
+ extern MagickExport Image
140
+ *MorphologyImage(const Image *,const MorphologyMethod,const ssize_t,
141
+ const KernelInfo *,ExceptionInfo *);
142
+
143
+ extern MagickExport void
144
+ ScaleGeometryKernelInfo(KernelInfo *,const char *),
145
+ ScaleKernelInfo(KernelInfo *,const double,const GeometryFlags),
146
+ UnityAddKernelInfo(KernelInfo *,const double);
147
+
148
+ #if defined(__cplusplus) || defined(c_plusplus)
149
+ }
150
+ #endif
151
+
152
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/option.h ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Copyright @ 2000 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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 option methods.
17
+ */
18
+ #ifndef MAGICKCORE_OPTION_H
19
+ #define MAGICKCORE_OPTION_H
20
+
21
+ #if defined(__cplusplus) || defined(c_plusplus)
22
+ extern "C" {
23
+ #endif
24
+
25
+ typedef enum
26
+ {
27
+ MagickUndefinedOptions = -1,
28
+ MagickAlignOptions = 0,
29
+ MagickAlphaChannelOptions,
30
+ MagickBooleanOptions,
31
+ MagickCacheOptions,
32
+ MagickChannelOptions,
33
+ MagickClassOptions,
34
+ MagickClipPathOptions,
35
+ MagickCoderOptions,
36
+ MagickColorOptions,
37
+ MagickColorspaceOptions,
38
+ MagickCommandOptions,
39
+ MagickComplexOptions,
40
+ MagickComplianceOptions,
41
+ MagickComposeOptions,
42
+ MagickCompressOptions,
43
+ MagickConfigureOptions,
44
+ MagickDataTypeOptions,
45
+ MagickDebugOptions,
46
+ MagickDecorateOptions,
47
+ MagickDelegateOptions,
48
+ MagickDirectionOptions,
49
+ MagickDisposeOptions,
50
+ MagickDistortOptions,
51
+ MagickDitherOptions,
52
+ MagickEndianOptions,
53
+ MagickEvaluateOptions,
54
+ MagickFillRuleOptions,
55
+ MagickFilterOptions,
56
+ MagickFontOptions,
57
+ MagickFontsOptions,
58
+ MagickFormatOptions,
59
+ MagickFunctionOptions,
60
+ MagickGradientOptions,
61
+ MagickGravityOptions,
62
+ MagickIntensityOptions,
63
+ MagickIntentOptions,
64
+ MagickInterlaceOptions,
65
+ MagickInterpolateOptions,
66
+ MagickKernelOptions,
67
+ MagickLayerOptions,
68
+ MagickLineCapOptions,
69
+ MagickLineJoinOptions,
70
+ MagickListOptions,
71
+ MagickLocaleOptions,
72
+ MagickLogEventOptions,
73
+ MagickLogOptions,
74
+ MagickMagicOptions,
75
+ MagickMethodOptions,
76
+ MagickMetricOptions,
77
+ MagickMimeOptions,
78
+ MagickModeOptions,
79
+ MagickModuleOptions,
80
+ MagickMorphologyOptions,
81
+ MagickNoiseOptions,
82
+ MagickOrientationOptions,
83
+ MagickPixelChannelOptions,
84
+ MagickPixelIntensityOptions,
85
+ MagickPixelMaskOptions,
86
+ MagickPixelTraitOptions,
87
+ MagickPolicyOptions,
88
+ MagickPolicyDomainOptions,
89
+ MagickPolicyRightsOptions,
90
+ MagickPreviewOptions,
91
+ MagickPrimitiveOptions,
92
+ MagickQuantumFormatOptions,
93
+ MagickResolutionOptions,
94
+ MagickResourceOptions,
95
+ MagickSparseColorOptions,
96
+ MagickStatisticOptions,
97
+ MagickStorageOptions,
98
+ MagickStretchOptions,
99
+ MagickStyleOptions,
100
+ MagickThresholdOptions,
101
+ MagickTypeOptions,
102
+ MagickValidateOptions,
103
+ MagickVirtualPixelOptions,
104
+ MagickWeightOptions,
105
+ MagickAutoThresholdOptions,
106
+ MagickToolOptions,
107
+ MagickCLIOptions,
108
+ MagickIlluminantOptions,
109
+ MagickWordBreakOptions,
110
+ MagickPagesizeOptions
111
+ } CommandOption;
112
+
113
+ typedef enum
114
+ {
115
+ UndefinedValidate,
116
+ NoValidate = 0x00000,
117
+ ColorspaceValidate = 0x00001,
118
+ CompareValidate = 0x00002,
119
+ CompositeValidate = 0x00004,
120
+ ConvertValidate = 0x00008,
121
+ FormatsDiskValidate = 0x00010,
122
+ FormatsMapValidate = 0x00020,
123
+ FormatsMemoryValidate = 0x00040,
124
+ IdentifyValidate = 0x00080,
125
+ ImportExportValidate = 0x00100,
126
+ MontageValidate = 0x00200,
127
+ StreamValidate = 0x00400,
128
+ MagickValidate = 0x00800,
129
+ AllValidate = 0x7fffffff
130
+ } ValidateType;
131
+
132
+ /*
133
+ Flags to describe classes of image processing options.
134
+ These are used to determine how a option should be processed, and
135
+ avoid attempting to process all options in every way possible.
136
+ */
137
+ typedef enum
138
+ {
139
+ UndefinedOptionFlag = 0x0000, /* option flag is not in use */
140
+
141
+ ImageInfoOptionFlag = 0x0001, /* Setting stored in ImageInfo */
142
+ DrawInfoOptionFlag = 0x0002, /* Setting stored in DrawInfo */
143
+ QuantizeInfoOptionFlag = 0x0004, /* Setting stored in QuantizeInfo */
144
+ GlobalOptionFlag = 0x0008, /* Global Setting or Control */
145
+ SettingOptionFlags = 0x000F, /* mask any setting option */
146
+
147
+ NoImageOperatorFlag = 0x0010, /* Images not required operator */
148
+ SimpleOperatorFlag = 0x0020, /* Simple Image processing operator */
149
+ ListOperatorFlag = 0x0040, /* Multi-Image processing operator */
150
+ GenesisOptionFlag = 0x0080, /* MagickCommandGenesis() Only Option */
151
+
152
+ SpecialOptionFlag = 0x0100, /* Operator with Special Requirements */
153
+ /* EG: for specific CLI commands */
154
+
155
+ AlwaysInterpretArgsFlag = 0x0400, /* Always Interpret escapes in Args */
156
+ /* CF: "convert" compatibility mode */
157
+ NeverInterpretArgsFlag = 0x0800, /* Never Interpret escapes in Args */
158
+ /* EG: filename, or delayed escapes */
159
+
160
+ NonMagickOptionFlag = 0x1000, /* Option not used by Magick Command */
161
+ FireOptionFlag = 0x2000, /* Convert operation seq firing point */
162
+ DeprecateOptionFlag = 0x4000, /* Deprecate option (no code) */
163
+ ReplacedOptionFlag = 0x8800 /* Replaced Option (but still works) */
164
+
165
+ } CommandOptionFlags;
166
+
167
+ typedef struct _OptionInfo
168
+ {
169
+ const char
170
+ *mnemonic;
171
+
172
+ ssize_t
173
+ type,
174
+ flags;
175
+
176
+ MagickBooleanType
177
+ stealth;
178
+ } OptionInfo;
179
+
180
+
181
+ extern MagickExport char
182
+ **GetCommandOptions(const CommandOption),
183
+ *GetNextImageOption(const ImageInfo *),
184
+ *RemoveImageOption(ImageInfo *,const char *);
185
+
186
+ extern MagickExport const char
187
+ *CommandOptionToMnemonic(const CommandOption,const ssize_t),
188
+ *GetImageOption(const ImageInfo *,const char *);
189
+
190
+ extern MagickExport MagickBooleanType
191
+ CloneImageOptions(ImageInfo *,const ImageInfo *),
192
+ DefineImageOption(ImageInfo *,const char *),
193
+ DeleteImageOption(ImageInfo *,const char *),
194
+ IsCommandOption(const char *),
195
+ IsOptionMember(const char *,const char *),
196
+ ListCommandOptions(FILE *,const CommandOption,ExceptionInfo *),
197
+ SetImageOption(ImageInfo *,const char *,const char *);
198
+
199
+ extern MagickExport ssize_t
200
+ GetCommandOptionFlags(const CommandOption,const MagickBooleanType,
201
+ const char *),
202
+ ParseChannelOption(const char *),
203
+ ParsePixelChannelOption(const char *),
204
+ ParseCommandOption(const CommandOption,const MagickBooleanType,const char *);
205
+
206
+ extern MagickExport void
207
+ DestroyImageOptions(ImageInfo *),
208
+ ResetImageOptions(const ImageInfo *),
209
+ ResetImageOptionIterator(const ImageInfo *);
210
+
211
+ extern MagickExport const OptionInfo
212
+ *GetCommandOptionInfo(const char *value);
213
+
214
+ #if defined(__cplusplus) || defined(c_plusplus)
215
+ }
216
+ #endif
217
+
218
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/paint.h ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 image paint methods.
17
+ */
18
+ #ifndef MAGICKCORE_PAINT_H
19
+ #define MAGICKCORE_PAINT_H
20
+
21
+ #include "MagickCore/color.h"
22
+ #include "MagickCore/draw.h"
23
+
24
+ #if defined(__cplusplus) || defined(c_plusplus)
25
+ extern "C" {
26
+ #endif
27
+
28
+ extern MagickExport Image
29
+ *OilPaintImage(const Image *,const double,const double,ExceptionInfo *);
30
+
31
+ extern MagickExport MagickBooleanType
32
+ FloodfillPaintImage(Image *,const DrawInfo *,const PixelInfo *,const ssize_t,
33
+ const ssize_t,const MagickBooleanType,ExceptionInfo *),
34
+ GradientImage(Image *,const GradientType,const SpreadMethod,const StopInfo *,
35
+ const size_t,ExceptionInfo *),
36
+ OpaquePaintImage(Image *,const PixelInfo *,const PixelInfo *,
37
+ const MagickBooleanType,ExceptionInfo *),
38
+ TransparentPaintImage(Image *,const PixelInfo *,
39
+ const Quantum,const MagickBooleanType,ExceptionInfo *),
40
+ TransparentPaintImageChroma(Image *,const PixelInfo *,
41
+ const PixelInfo *,const Quantum,const MagickBooleanType,ExceptionInfo *);
42
+
43
+ #if defined(__cplusplus) || defined(c_plusplus)
44
+ }
45
+ #endif
46
+
47
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/pixel-accessor.h ADDED
@@ -0,0 +1,965 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 pixel accessor methods.
17
+ */
18
+ #ifndef MAGICKCORE_PIXEL_ACCESSOR_H
19
+ #define MAGICKCORE_PIXEL_ACCESSOR_H
20
+
21
+ #include "MagickCore/cache.h"
22
+ #include "MagickCore/cache-view.h"
23
+ #include "MagickCore/color.h"
24
+ #include "MagickCore/colorspace.h"
25
+ #include "MagickCore/gem.h"
26
+ #include "MagickCore/image.h"
27
+ #include "MagickCore/memory_.h"
28
+
29
+ #if defined(__cplusplus) || defined(c_plusplus)
30
+ extern "C" {
31
+ #endif
32
+
33
+ #undef index
34
+
35
+ static inline Quantum ClampPixel(const MagickRealType pixel)
36
+ {
37
+ if (pixel < 0.0f)
38
+ return((Quantum) 0);
39
+ if (pixel >= (MagickRealType) QuantumRange)
40
+ return((Quantum) QuantumRange);
41
+ #if !defined(MAGICKCORE_HDRI_SUPPORT)
42
+ return((Quantum) (pixel+0.5f));
43
+ #else
44
+ return((Quantum) pixel);
45
+ #endif
46
+ }
47
+
48
+ static inline Quantum GetPixela(const Image *magick_restrict image,
49
+ const Quantum *magick_restrict pixel)
50
+ {
51
+ return(pixel[image->channel_map[aPixelChannel].offset]);
52
+ }
53
+
54
+ static inline Quantum GetPixelAlpha(const Image *magick_restrict image,
55
+ const Quantum *magick_restrict pixel)
56
+ {
57
+ if (image->channel_map[AlphaPixelChannel].traits == UndefinedPixelTrait)
58
+ return(OpaqueAlpha);
59
+ return(pixel[image->channel_map[AlphaPixelChannel].offset]);
60
+ }
61
+
62
+ static inline PixelTrait GetPixelAlphaTraits(const Image *magick_restrict image)
63
+ {
64
+ return(image->channel_map[AlphaPixelChannel].traits);
65
+ }
66
+
67
+ static inline Quantum GetPixelb(const Image *magick_restrict image,
68
+ const Quantum *magick_restrict pixel)
69
+ {
70
+ return(pixel[image->channel_map[bPixelChannel].offset]);
71
+ }
72
+
73
+ static inline Quantum GetPixelBlack(const Image *magick_restrict image,
74
+ const Quantum *magick_restrict pixel)
75
+ {
76
+ if (image->channel_map[BlackPixelChannel].traits == UndefinedPixelTrait)
77
+ return((Quantum) 0);
78
+ return(pixel[image->channel_map[BlackPixelChannel].offset]);
79
+ }
80
+
81
+ static inline PixelTrait GetPixelBlackTraits(const Image *magick_restrict image)
82
+ {
83
+ return(image->channel_map[BlackPixelChannel].traits);
84
+ }
85
+
86
+ static inline Quantum GetPixelBlue(const Image *magick_restrict image,
87
+ const Quantum *magick_restrict pixel)
88
+ {
89
+ return(pixel[image->channel_map[BluePixelChannel].offset]);
90
+ }
91
+
92
+ static inline PixelTrait GetPixelBlueTraits(const Image *magick_restrict image)
93
+ {
94
+ return(image->channel_map[BluePixelChannel].traits);
95
+ }
96
+
97
+ static inline Quantum GetPixelCb(const Image *magick_restrict image,
98
+ const Quantum *magick_restrict pixel)
99
+ {
100
+ return(pixel[image->channel_map[CbPixelChannel].offset]);
101
+ }
102
+
103
+ static inline PixelTrait GetPixelCbTraits(const Image *magick_restrict image)
104
+ {
105
+ return(image->channel_map[CbPixelChannel].traits);
106
+ }
107
+
108
+ static inline Quantum GetPixelChannel(const Image *magick_restrict image,
109
+ const PixelChannel channel,const Quantum *magick_restrict pixel)
110
+ {
111
+ if (((ssize_t) channel < 0) || ((ssize_t) channel >= MaxPixelChannels))
112
+ return((Quantum) 0);
113
+ if (image->channel_map[channel].traits == UndefinedPixelTrait)
114
+ return((Quantum) 0);
115
+ return(pixel[image->channel_map[channel].offset]);
116
+ }
117
+
118
+ static inline PixelChannel GetPixelChannelChannel(
119
+ const Image *magick_restrict image,const ssize_t offset)
120
+ {
121
+ if ((offset < 0) || (offset >= MaxPixelChannels))
122
+ return(UndefinedPixelChannel);
123
+ return(image->channel_map[offset].channel);
124
+ }
125
+
126
+ static inline ssize_t GetPixelChannelOffset(const Image *magick_restrict image,
127
+ const PixelChannel channel)
128
+ {
129
+ return(image->channel_map[channel].offset);
130
+ }
131
+
132
+ static inline PixelTrait GetPixelChannelTraits(
133
+ const Image *magick_restrict image,const PixelChannel channel)
134
+ {
135
+ if (((ssize_t) channel < 0) || ((ssize_t) channel >= MaxPixelChannels))
136
+ return(UndefinedPixelTrait);
137
+ return(image->channel_map[channel].traits);
138
+ }
139
+
140
+ static inline size_t GetPixelChannels(const Image *magick_restrict image)
141
+ {
142
+ return(image->number_channels);
143
+ }
144
+
145
+ static inline Quantum GetPixelCompositeMask(
146
+ const Image *magick_restrict image,const Quantum *magick_restrict pixel)
147
+ {
148
+ if (image->channel_map[CompositeMaskPixelChannel].traits == UndefinedPixelTrait)
149
+ return((Quantum) QuantumRange);
150
+ return(pixel[image->channel_map[CompositeMaskPixelChannel].offset]);
151
+ }
152
+
153
+ static inline PixelTrait GetPixelCompositeMaskTraits(
154
+ const Image *magick_restrict image)
155
+ {
156
+ return(image->channel_map[CompositeMaskPixelChannel].traits);
157
+ }
158
+
159
+ static inline Quantum GetPixelCr(const Image *magick_restrict image,
160
+ const Quantum *magick_restrict pixel)
161
+ {
162
+ return(pixel[image->channel_map[CrPixelChannel].offset]);
163
+ }
164
+
165
+ static inline PixelTrait GetPixelCrTraits(const Image *magick_restrict image)
166
+ {
167
+ return(image->channel_map[CrPixelChannel].traits);
168
+ }
169
+
170
+ static inline Quantum GetPixelCyan(const Image *magick_restrict image,
171
+ const Quantum *magick_restrict pixel)
172
+ {
173
+ return(pixel[image->channel_map[CyanPixelChannel].offset]);
174
+ }
175
+
176
+ static inline PixelTrait GetPixelCyanTraits(const Image *magick_restrict image)
177
+ {
178
+ return(image->channel_map[CyanPixelChannel].traits);
179
+ }
180
+
181
+ static inline Quantum GetPixelGray(const Image *magick_restrict image,
182
+ const Quantum *magick_restrict pixel)
183
+ {
184
+ return(pixel[image->channel_map[GrayPixelChannel].offset]);
185
+ }
186
+
187
+ static inline PixelTrait GetPixelGrayTraits(const Image *magick_restrict image)
188
+ {
189
+ return(image->channel_map[GrayPixelChannel].traits);
190
+ }
191
+
192
+ static inline Quantum GetPixelGreen(const Image *magick_restrict image,
193
+ const Quantum *magick_restrict pixel)
194
+ {
195
+ return(pixel[image->channel_map[GreenPixelChannel].offset]);
196
+ }
197
+
198
+ static inline PixelTrait GetPixelGreenTraits(const Image *magick_restrict image)
199
+ {
200
+ return(image->channel_map[GreenPixelChannel].traits);
201
+ }
202
+
203
+ static inline Quantum GetPixelIndex(const Image *magick_restrict image,
204
+ const Quantum *magick_restrict pixel)
205
+ {
206
+ if (image->channel_map[IndexPixelChannel].traits == UndefinedPixelTrait)
207
+ return((Quantum) 0);
208
+ return(pixel[image->channel_map[IndexPixelChannel].offset]);
209
+ }
210
+
211
+ static inline PixelTrait GetPixelIndexTraits(const Image *magick_restrict image)
212
+ {
213
+ return(image->channel_map[IndexPixelChannel].traits);
214
+ }
215
+
216
+ static inline MagickRealType GetPixelInfoChannel(
217
+ const PixelInfo *magick_restrict pixel_info,const PixelChannel channel)
218
+ {
219
+ switch (channel)
220
+ {
221
+ case RedPixelChannel: return(pixel_info->red);
222
+ case GreenPixelChannel: return(pixel_info->green);
223
+ case BluePixelChannel: return(pixel_info->blue);
224
+ case BlackPixelChannel:
225
+ {
226
+ if (pixel_info->colorspace != CMYKColorspace)
227
+ return(0.0);
228
+ return(pixel_info->black);
229
+ }
230
+ case AlphaPixelChannel:
231
+ {
232
+ if (pixel_info->alpha_trait == UndefinedPixelTrait)
233
+ return(OpaqueAlpha);
234
+ return(pixel_info->alpha);
235
+ }
236
+ case IndexPixelChannel: return(pixel_info->index);
237
+ default: return((MagickRealType) 0.0);
238
+ }
239
+ }
240
+
241
+ static inline double PerceptibleReciprocal(const double x)
242
+ {
243
+ double
244
+ sign;
245
+
246
+ /*
247
+ Return 1/x where x is perceptible (not unlimited or infinitesimal).
248
+ */
249
+ sign=x < 0.0 ? -1.0 : 1.0;
250
+ if ((sign*x) >= MagickEpsilon)
251
+ return(1.0/x);
252
+ return(sign/MagickEpsilon);
253
+ }
254
+
255
+ static inline MagickRealType GetPixelInfoLuma(
256
+ const PixelInfo *magick_restrict pixel)
257
+ {
258
+ MagickRealType
259
+ intensity;
260
+
261
+ if (pixel->colorspace == sRGBColorspace)
262
+ {
263
+ intensity=(MagickRealType) (0.212656f*pixel->red+0.715158f*pixel->green+
264
+ 0.072186f*pixel->blue);
265
+ return(intensity);
266
+ }
267
+ intensity=(MagickRealType) (0.212656f*EncodePixelGamma(pixel->red)+
268
+ 0.715158f*EncodePixelGamma(pixel->green)+
269
+ 0.072186f*EncodePixelGamma(pixel->blue));
270
+ return(intensity);
271
+ }
272
+
273
+ static inline MagickRealType GetPixelInfoLuminance(
274
+ const PixelInfo *magick_restrict pixel)
275
+ {
276
+ MagickRealType
277
+ intensity;
278
+
279
+ if (pixel->colorspace != sRGBColorspace)
280
+ {
281
+ intensity=(MagickRealType) (0.212656f*pixel->red+0.715158f*pixel->green+
282
+ 0.072186f*pixel->blue);
283
+ return(intensity);
284
+ }
285
+ intensity=(MagickRealType) (0.212656f*DecodePixelGamma(pixel->red)+
286
+ 0.715158f*DecodePixelGamma(pixel->green)+
287
+ 0.072186f*DecodePixelGamma(pixel->blue));
288
+ return(intensity);
289
+ }
290
+
291
+ static inline Quantum GetPixelL(const Image *magick_restrict image,
292
+ const Quantum *magick_restrict pixel)
293
+ {
294
+ return(pixel[image->channel_map[LPixelChannel].offset]);
295
+ }
296
+
297
+ static inline ssize_t GetPixelLabel(const Image *magick_restrict image,
298
+ const Quantum *magick_restrict pixel)
299
+ {
300
+ return((ssize_t) pixel[image->channel_map[LabelPixelChannel].offset]);
301
+ }
302
+
303
+ static inline MagickRealType GetPixelLuma(
304
+ const Image *magick_restrict image,const Quantum *magick_restrict pixel)
305
+ {
306
+ MagickRealType
307
+ intensity;
308
+
309
+ intensity=
310
+ 0.212656f*(MagickRealType) pixel[image->channel_map[RedPixelChannel].offset]+
311
+ 0.715158f*(MagickRealType) pixel[image->channel_map[GreenPixelChannel].offset]+
312
+ 0.072186f*(MagickRealType) pixel[image->channel_map[BluePixelChannel].offset];
313
+ return(intensity);
314
+ }
315
+
316
+ static inline MagickRealType GetPixelLuminance(
317
+ const Image *magick_restrict image,const Quantum *magick_restrict pixel)
318
+ {
319
+ MagickRealType
320
+ intensity;
321
+
322
+ if (image->colorspace != sRGBColorspace)
323
+ {
324
+ intensity=
325
+ 0.212656f*(MagickRealType) pixel[image->channel_map[RedPixelChannel].offset]+
326
+ 0.715158f*(MagickRealType) pixel[image->channel_map[GreenPixelChannel].offset]+
327
+ 0.072186f*(MagickRealType) pixel[image->channel_map[BluePixelChannel].offset];
328
+ return(intensity);
329
+ }
330
+ intensity=(MagickRealType) (0.212656f*DecodePixelGamma((MagickRealType)
331
+ pixel[image->channel_map[RedPixelChannel].offset])+0.715158f*
332
+ DecodePixelGamma((MagickRealType)
333
+ pixel[image->channel_map[GreenPixelChannel].offset])+0.072186f*
334
+ DecodePixelGamma((MagickRealType)
335
+ pixel[image->channel_map[BluePixelChannel].offset]));
336
+ return(intensity);
337
+ }
338
+
339
+ static inline Quantum GetPixelMagenta(const Image *magick_restrict image,
340
+ const Quantum *magick_restrict pixel)
341
+ {
342
+ return(pixel[image->channel_map[MagentaPixelChannel].offset]);
343
+ }
344
+
345
+ static inline PixelTrait GetPixelMagentaTraits(
346
+ const Image *magick_restrict image)
347
+ {
348
+ return(image->channel_map[MagentaPixelChannel].traits);
349
+ }
350
+
351
+ static inline Quantum GetPixelMeta(const Image *magick_restrict image,
352
+ const Quantum *magick_restrict pixel)
353
+ {
354
+ if (image->channel_map[MetaPixelChannels].traits == UndefinedPixelTrait)
355
+ return(OpaqueAlpha);
356
+ return(pixel[image->channel_map[MetaPixelChannels].offset]);
357
+ }
358
+
359
+ static inline PixelTrait GetPixelMetaTraits(const Image *magick_restrict image)
360
+ {
361
+ return(image->channel_map[MetaPixelChannels].traits);
362
+ }
363
+
364
+ static inline Quantum GetPixelReadMask(const Image *magick_restrict image,
365
+ const Quantum *magick_restrict pixel)
366
+ {
367
+ if (image->channel_map[ReadMaskPixelChannel].traits == UndefinedPixelTrait)
368
+ return((Quantum) QuantumRange);
369
+ return(pixel[image->channel_map[ReadMaskPixelChannel].offset]);
370
+ }
371
+
372
+ static inline void GetPixelInfoRGBA(const Quantum red,const Quantum green,
373
+ const Quantum blue,const Quantum alpha,PixelInfo *magick_restrict pixel)
374
+ {
375
+ GetPixelInfo((Image *) NULL,pixel);
376
+ pixel->red=red;
377
+ pixel->green=green;
378
+ pixel->blue=blue;
379
+ pixel->alpha=alpha;
380
+ }
381
+
382
+ static inline Quantum GetPixelWriteMask(
383
+ const Image *magick_restrict image,const Quantum *magick_restrict pixel)
384
+ {
385
+ if (image->channel_map[WriteMaskPixelChannel].traits == UndefinedPixelTrait)
386
+ return((Quantum) QuantumRange);
387
+ return(pixel[image->channel_map[WriteMaskPixelChannel].offset]);
388
+ }
389
+
390
+ static inline PixelTrait GetPixelReadMaskTraits(
391
+ const Image *magick_restrict image)
392
+ {
393
+ return(image->channel_map[ReadMaskPixelChannel].traits);
394
+ }
395
+
396
+ static inline size_t GetPixelMetaChannels(const Image *magick_restrict image)
397
+ {
398
+ return(image->number_meta_channels);
399
+ }
400
+
401
+ static inline size_t GetPixelMetacontentExtent(
402
+ const Image *magick_restrict image)
403
+ {
404
+ return(image->metacontent_extent);
405
+ }
406
+
407
+ static inline Quantum GetPixelOpacity(const Image *magick_restrict image,
408
+ const Quantum *magick_restrict pixel)
409
+ {
410
+ if (image->channel_map[AlphaPixelChannel].traits != BlendPixelTrait)
411
+ return(QuantumRange-OpaqueAlpha);
412
+ return(QuantumRange-pixel[image->channel_map[AlphaPixelChannel].offset]);
413
+ }
414
+
415
+ static inline Quantum GetPixelRed(const Image *magick_restrict image,
416
+ const Quantum *magick_restrict pixel)
417
+ {
418
+ return(pixel[image->channel_map[RedPixelChannel].offset]);
419
+ }
420
+
421
+ static inline PixelTrait GetPixelRedTraits(const Image *magick_restrict image)
422
+ {
423
+ return(image->channel_map[RedPixelChannel].traits);
424
+ }
425
+
426
+ static inline void GetPixelInfoPixel(const Image *magick_restrict image,
427
+ const Quantum *magick_restrict pixel,PixelInfo *magick_restrict pixel_info)
428
+ {
429
+ (void) ResetMagickMemory(pixel_info,0,sizeof(*pixel_info));
430
+ pixel_info->storage_class=DirectClass;
431
+ pixel_info->colorspace=sRGBColorspace;
432
+ pixel_info->depth=MAGICKCORE_QUANTUM_DEPTH;
433
+ pixel_info->alpha_trait=UndefinedPixelTrait;
434
+ pixel_info->alpha=(MagickRealType) OpaqueAlpha;
435
+ if (image != (Image *) NULL)
436
+ {
437
+ pixel_info->storage_class=image->storage_class;
438
+ pixel_info->colorspace=image->colorspace;
439
+ pixel_info->fuzz=image->fuzz;
440
+ pixel_info->depth=image->depth;
441
+ pixel_info->alpha_trait=image->alpha_trait;
442
+ if (pixel != (Quantum *) NULL)
443
+ {
444
+ pixel_info->red=(MagickRealType)
445
+ pixel[image->channel_map[RedPixelChannel].offset];
446
+ pixel_info->green=(MagickRealType)
447
+ pixel[image->channel_map[GreenPixelChannel].offset];
448
+ pixel_info->blue=(MagickRealType)
449
+ pixel[image->channel_map[BluePixelChannel].offset];
450
+ if (image->channel_map[BlackPixelChannel].traits != UndefinedPixelTrait)
451
+ pixel_info->black=(MagickRealType)
452
+ pixel[image->channel_map[BlackPixelChannel].offset];
453
+ if (image->channel_map[AlphaPixelChannel].traits != UndefinedPixelTrait)
454
+ pixel_info->alpha=(MagickRealType)
455
+ pixel[image->channel_map[AlphaPixelChannel].offset];
456
+ if (image->channel_map[IndexPixelChannel].traits != UndefinedPixelTrait)
457
+ pixel_info->index=(MagickRealType)
458
+ pixel[image->channel_map[IndexPixelChannel].offset];
459
+ }
460
+ }
461
+ }
462
+
463
+ static inline PixelTrait GetPixelTraits(const Image *magick_restrict image,
464
+ const PixelChannel channel)
465
+ {
466
+ if (((ssize_t) channel < 0) || ((ssize_t) channel >= MaxPixelChannels))
467
+ return(UndefinedPixelTrait);
468
+ return(image->channel_map[channel].traits);
469
+ }
470
+
471
+ static inline PixelTrait GetPixelWriteMaskTraits(
472
+ const Image *magick_restrict image)
473
+ {
474
+ return(image->channel_map[WriteMaskPixelChannel].traits);
475
+ }
476
+
477
+ static inline Quantum GetPixelY(const Image *magick_restrict image,
478
+ const Quantum *magick_restrict pixel)
479
+ {
480
+ return(pixel[image->channel_map[YPixelChannel].offset]);
481
+ }
482
+
483
+ static inline PixelTrait GetPixelYTraits(const Image *magick_restrict image)
484
+ {
485
+ return(image->channel_map[YPixelChannel].traits);
486
+ }
487
+
488
+ static inline Quantum GetPixelYellow(const Image *magick_restrict image,
489
+ const Quantum *magick_restrict pixel)
490
+ {
491
+ return(pixel[image->channel_map[YellowPixelChannel].offset]);
492
+ }
493
+
494
+ static inline PixelTrait GetPixelYellowTraits(
495
+ const Image *magick_restrict image)
496
+ {
497
+ return(image->channel_map[YellowPixelChannel].traits);
498
+ }
499
+
500
+ static inline MagickRealType AbsolutePixelValue(const MagickRealType x)
501
+ {
502
+ return(x < 0.0f ? -x : x);
503
+ }
504
+
505
+ static inline MagickBooleanType IsPixelAtDepth(const Quantum pixel,
506
+ const QuantumAny range)
507
+ {
508
+ Quantum
509
+ quantum;
510
+
511
+ if (range == 0)
512
+ return(MagickTrue);
513
+ #if !defined(MAGICKCORE_HDRI_SUPPORT)
514
+ quantum=(Quantum) (((MagickRealType) QuantumRange*((QuantumAny)
515
+ (((MagickRealType) range*pixel)/QuantumRange+0.5)))/range+0.5);
516
+ #else
517
+ quantum=(Quantum) (((MagickRealType) QuantumRange*((QuantumAny)
518
+ (((MagickRealType) range*pixel)/QuantumRange+0.5)))/(MagickRealType) range);
519
+ #endif
520
+ return(pixel == quantum ? MagickTrue : MagickFalse);
521
+ }
522
+
523
+ static inline MagickBooleanType IsPixelEquivalent(
524
+ const Image *magick_restrict image,const Quantum *magick_restrict p,
525
+ const PixelInfo *magick_restrict q)
526
+ {
527
+ MagickRealType
528
+ alpha,
529
+ beta,
530
+ color;
531
+
532
+ color=(MagickRealType) p[image->channel_map[AlphaPixelChannel].offset];
533
+ alpha=image->alpha_trait == UndefinedPixelTrait ? (MagickRealType)
534
+ OpaqueAlpha : color;
535
+ beta=q->alpha_trait == UndefinedPixelTrait ? (MagickRealType) OpaqueAlpha :
536
+ q->alpha;
537
+ if (AbsolutePixelValue(alpha-beta) >= MagickEpsilon)
538
+ return(MagickFalse);
539
+ if ((AbsolutePixelValue(alpha-TransparentAlpha) < MagickEpsilon) ||
540
+ (AbsolutePixelValue(beta-TransparentAlpha) < MagickEpsilon))
541
+ return(MagickTrue); /* no color component if pixel is transparent */
542
+ color=(MagickRealType) p[image->channel_map[RedPixelChannel].offset];
543
+ if (AbsolutePixelValue(color-q->red) >= MagickEpsilon)
544
+ return(MagickFalse);
545
+ color=(MagickRealType) p[image->channel_map[GreenPixelChannel].offset];
546
+ if (AbsolutePixelValue(color-q->green) >= MagickEpsilon)
547
+ return(MagickFalse);
548
+ color=(MagickRealType) p[image->channel_map[BluePixelChannel].offset];
549
+ if (AbsolutePixelValue(color-q->blue) >= MagickEpsilon)
550
+ return(MagickFalse);
551
+ if (image->colorspace == CMYKColorspace)
552
+ {
553
+ color=(MagickRealType) p[image->channel_map[BlackPixelChannel].offset];
554
+ if (AbsolutePixelValue(color-q->black) >= MagickEpsilon)
555
+ return(MagickFalse);
556
+ }
557
+ return(MagickTrue);
558
+ }
559
+
560
+ static inline MagickBooleanType IsPixelGray(const Image *magick_restrict image,
561
+ const Quantum *magick_restrict pixel)
562
+ {
563
+ MagickRealType
564
+ green_blue,
565
+ red_green;
566
+
567
+ red_green=(MagickRealType) pixel[image->channel_map[RedPixelChannel].offset]-
568
+ pixel[image->channel_map[GreenPixelChannel].offset];
569
+ green_blue=(MagickRealType)
570
+ pixel[image->channel_map[GreenPixelChannel].offset]-
571
+ pixel[image->channel_map[BluePixelChannel].offset];
572
+ if ((AbsolutePixelValue(red_green) < MagickEpsilon) &&
573
+ (AbsolutePixelValue(green_blue) < MagickEpsilon))
574
+ return(MagickTrue);
575
+ return(MagickFalse);
576
+ }
577
+
578
+ static inline MagickBooleanType IsPixelInfoEquivalent(
579
+ const PixelInfo *magick_restrict p,const PixelInfo *magick_restrict q)
580
+ {
581
+ MagickRealType
582
+ alpha,
583
+ beta;
584
+
585
+ alpha=p->alpha_trait == UndefinedPixelTrait ? (MagickRealType) OpaqueAlpha :
586
+ p->alpha;
587
+ beta=q->alpha_trait == UndefinedPixelTrait ? (MagickRealType) OpaqueAlpha :
588
+ q->alpha;
589
+ if (AbsolutePixelValue(alpha-beta) >= MagickEpsilon)
590
+ return(MagickFalse);
591
+ if ((AbsolutePixelValue(alpha-TransparentAlpha) < MagickEpsilon) ||
592
+ (AbsolutePixelValue(beta-TransparentAlpha) < MagickEpsilon))
593
+ return(MagickTrue); /* no color component if pixel is transparent */
594
+ if (AbsolutePixelValue(p->red-q->red) >= MagickEpsilon)
595
+ return(MagickFalse);
596
+ if (AbsolutePixelValue(p->green-q->green) >= MagickEpsilon)
597
+ return(MagickFalse);
598
+ if (AbsolutePixelValue(p->blue-q->blue) >= MagickEpsilon)
599
+ return(MagickFalse);
600
+ if (p->colorspace == CMYKColorspace)
601
+ {
602
+ if (AbsolutePixelValue(p->black-q->black) >= MagickEpsilon)
603
+ return(MagickFalse);
604
+ }
605
+ return(MagickTrue);
606
+ }
607
+
608
+ static inline MagickBooleanType IsPixelMonochrome(
609
+ const Image *magick_restrict image,const Quantum *magick_restrict pixel)
610
+ {
611
+ MagickRealType
612
+ green_blue,
613
+ red,
614
+ red_green;
615
+
616
+ red=(MagickRealType) pixel[image->channel_map[RedPixelChannel].offset];
617
+ if ((AbsolutePixelValue(red) >= MagickEpsilon) &&
618
+ (AbsolutePixelValue(red-QuantumRange) >= MagickEpsilon))
619
+ return(MagickFalse);
620
+ red_green=(MagickRealType) pixel[image->channel_map[RedPixelChannel].offset]-
621
+ pixel[image->channel_map[GreenPixelChannel].offset];
622
+ green_blue=(MagickRealType)
623
+ pixel[image->channel_map[GreenPixelChannel].offset]-
624
+ pixel[image->channel_map[BluePixelChannel].offset];
625
+ if ((AbsolutePixelValue(red_green) < MagickEpsilon) &&
626
+ (AbsolutePixelValue(green_blue) < MagickEpsilon))
627
+ return(MagickTrue);
628
+ return(MagickFalse);
629
+ }
630
+
631
+ static inline MagickBooleanType IsPixelInfoGray(
632
+ const PixelInfo *magick_restrict pixel)
633
+ {
634
+ if ((AbsolutePixelValue(pixel->red-pixel->green) < MagickEpsilon) &&
635
+ (AbsolutePixelValue(pixel->green-pixel->blue) < MagickEpsilon))
636
+ return(MagickTrue);
637
+ return(MagickFalse);
638
+ }
639
+
640
+ static inline MagickBooleanType IsPixelInfoMonochrome(
641
+ const PixelInfo *magick_restrict pixel_info)
642
+ {
643
+ MagickRealType
644
+ green_blue,
645
+ red_green;
646
+
647
+ if ((AbsolutePixelValue(pixel_info->red) >= MagickEpsilon) ||
648
+ (AbsolutePixelValue(pixel_info->red-QuantumRange) >= MagickEpsilon))
649
+ return(MagickFalse);
650
+ red_green=pixel_info->red-pixel_info->green;
651
+ green_blue=pixel_info->green-pixel_info->blue;
652
+ if ((AbsolutePixelValue(red_green) < MagickEpsilon) &&
653
+ (AbsolutePixelValue(green_blue) < MagickEpsilon))
654
+ return(MagickTrue);
655
+ return(MagickFalse);
656
+ }
657
+
658
+ static inline void SetPixela(const Image *magick_restrict image,
659
+ const Quantum a,Quantum *magick_restrict pixel)
660
+ {
661
+ if (image->channel_map[aPixelChannel].traits != UndefinedPixelTrait)
662
+ pixel[image->channel_map[aPixelChannel].offset]=a;
663
+ }
664
+
665
+ static inline void SetPixelAlpha(const Image *magick_restrict image,
666
+ const Quantum alpha,Quantum *magick_restrict pixel)
667
+ {
668
+ if (image->channel_map[AlphaPixelChannel].traits != UndefinedPixelTrait)
669
+ pixel[image->channel_map[AlphaPixelChannel].offset]=alpha;
670
+ }
671
+
672
+ static inline void SetPixelAlphaTraits(Image *image,const PixelTrait traits)
673
+ {
674
+ image->channel_map[AlphaPixelChannel].traits=traits;
675
+ }
676
+
677
+ static inline void SetPixelb(const Image *magick_restrict image,
678
+ const Quantum b,Quantum *magick_restrict pixel)
679
+ {
680
+ if (image->channel_map[bPixelChannel].traits != UndefinedPixelTrait)
681
+ pixel[image->channel_map[bPixelChannel].offset]=b;
682
+ }
683
+
684
+ static inline void SetPixelBackgroundColor(const Image *magick_restrict image,
685
+ Quantum *magick_restrict pixel)
686
+ {
687
+ ssize_t
688
+ i;
689
+
690
+ for (i=0; i < (ssize_t) GetPixelChannels(image); i++)
691
+ pixel[i]=(Quantum) 0;
692
+ pixel[image->channel_map[RedPixelChannel].offset]=
693
+ ClampToQuantum(image->background_color.red);
694
+ pixel[image->channel_map[GreenPixelChannel].offset]=
695
+ ClampToQuantum(image->background_color.green);
696
+ pixel[image->channel_map[BluePixelChannel].offset]=
697
+ ClampToQuantum(image->background_color.blue);
698
+ if (image->channel_map[BlackPixelChannel].traits != UndefinedPixelTrait)
699
+ pixel[image->channel_map[BlackPixelChannel].offset]=
700
+ ClampToQuantum(image->background_color.black);
701
+ if (image->channel_map[AlphaPixelChannel].traits != UndefinedPixelTrait)
702
+ pixel[image->channel_map[AlphaPixelChannel].offset]=
703
+ image->background_color.alpha_trait == UndefinedPixelTrait ? OpaqueAlpha :
704
+ ClampToQuantum(image->background_color.alpha);
705
+ }
706
+
707
+ static inline void SetPixelBackgoundColor(const Image *magick_restrict image,
708
+ Quantum *magick_restrict pixel) magick_attribute((deprecated));
709
+
710
+ static inline void SetPixelBackgoundColor(const Image *magick_restrict image,
711
+ Quantum *magick_restrict pixel)
712
+ {
713
+ SetPixelBackgroundColor(image,pixel);
714
+ }
715
+
716
+ static inline void SetPixelBlack(const Image *magick_restrict image,
717
+ const Quantum black,Quantum *magick_restrict pixel)
718
+ {
719
+ if (image->channel_map[BlackPixelChannel].traits != UndefinedPixelTrait)
720
+ pixel[image->channel_map[BlackPixelChannel].offset]=black;
721
+ }
722
+
723
+ static inline void SetPixelBlackTraits(Image *image,const PixelTrait traits)
724
+ {
725
+ image->channel_map[BlackPixelChannel].traits=traits;
726
+ }
727
+
728
+ static inline void SetPixelBlue(const Image *magick_restrict image,
729
+ const Quantum blue,Quantum *magick_restrict pixel)
730
+ {
731
+ pixel[image->channel_map[BluePixelChannel].offset]=blue;
732
+ }
733
+
734
+ static inline void SetPixelBlueTraits(Image *image,const PixelTrait traits)
735
+ {
736
+ image->channel_map[BluePixelChannel].traits=traits;
737
+ }
738
+
739
+ static inline void SetPixelCb(const Image *magick_restrict image,
740
+ const Quantum cb,Quantum *magick_restrict pixel)
741
+ {
742
+ pixel[image->channel_map[CbPixelChannel].offset]=cb;
743
+ }
744
+
745
+ static inline void SetPixelCbTraits(Image *image,const PixelTrait traits)
746
+ {
747
+ image->channel_map[CbPixelChannel].traits=traits;
748
+ }
749
+
750
+ static inline void SetPixelChannel(const Image *magick_restrict image,
751
+ const PixelChannel channel,const Quantum quantum,
752
+ Quantum *magick_restrict pixel)
753
+ {
754
+ if (((ssize_t) channel < 0) || ((ssize_t) channel >= MaxPixelChannels))
755
+ return;
756
+ if (image->channel_map[channel].traits != UndefinedPixelTrait)
757
+ pixel[image->channel_map[channel].offset]=quantum;
758
+ }
759
+
760
+ static inline void SetPixelChannelAttributes(
761
+ const Image *magick_restrict image,const PixelChannel channel,
762
+ const PixelTrait traits,const ssize_t offset)
763
+ {
764
+ if (((ssize_t) offset < 0) || ((ssize_t) offset >= MaxPixelChannels))
765
+ return;
766
+ if (((ssize_t) channel < 0) || ((ssize_t) channel >= MaxPixelChannels))
767
+ return;
768
+ image->channel_map[offset].channel=channel;
769
+ image->channel_map[channel].offset=offset;
770
+ image->channel_map[channel].traits=traits;
771
+ }
772
+
773
+ static inline void SetPixelChannelChannel(const Image *magick_restrict image,
774
+ const PixelChannel channel,const ssize_t offset)
775
+ {
776
+ if (((ssize_t) offset < 0) || ((ssize_t) offset >= MaxPixelChannels))
777
+ return;
778
+ if (((ssize_t) channel < 0) || ((ssize_t) channel >= MaxPixelChannels))
779
+ return;
780
+ image->channel_map[offset].channel=channel;
781
+ image->channel_map[channel].offset=offset;
782
+ }
783
+
784
+ static inline void SetPixelChannels(Image *image,const size_t number_channels)
785
+ {
786
+ image->number_channels=number_channels;
787
+ }
788
+
789
+ static inline void SetPixelChannelTraits(Image *image,
790
+ const PixelChannel channel,const PixelTrait traits)
791
+ {
792
+ if (((ssize_t) channel < 0) || ((ssize_t) channel >= MaxPixelChannels))
793
+ return;
794
+ image->channel_map[channel].traits=traits;
795
+ }
796
+
797
+ static inline void SetPixelCompositeMask(const Image *magick_restrict image,
798
+ const Quantum mask,Quantum *magick_restrict pixel)
799
+ {
800
+ if (image->channel_map[CompositeMaskPixelChannel].traits != UndefinedPixelTrait)
801
+ pixel[image->channel_map[CompositeMaskPixelChannel].offset]=mask;
802
+ }
803
+
804
+ static inline void SetPixelCr(const Image *magick_restrict image,
805
+ const Quantum cr,Quantum *magick_restrict pixel)
806
+ {
807
+ pixel[image->channel_map[CrPixelChannel].offset]=cr;
808
+ }
809
+
810
+ static inline void SetPixelCrTraits(Image *image,const PixelTrait traits)
811
+ {
812
+ image->channel_map[CrPixelChannel].traits=traits;
813
+ }
814
+
815
+ static inline void SetPixelCyan(const Image *magick_restrict image,
816
+ const Quantum cyan,Quantum *magick_restrict pixel)
817
+ {
818
+ pixel[image->channel_map[CyanPixelChannel].offset]=cyan;
819
+ }
820
+
821
+ static inline void SetPixelGray(const Image *magick_restrict image,
822
+ const Quantum gray,Quantum *magick_restrict pixel)
823
+ {
824
+ pixel[image->channel_map[GrayPixelChannel].offset]=gray;
825
+ }
826
+
827
+ static inline void SetPixelGrayTraits(Image *image,const PixelTrait traits)
828
+ {
829
+ image->channel_map[GrayPixelChannel].traits=traits;
830
+ }
831
+
832
+ static inline void SetPixelGreen(const Image *magick_restrict image,
833
+ const Quantum green,Quantum *magick_restrict pixel)
834
+ {
835
+ pixel[image->channel_map[GreenPixelChannel].offset]=green;
836
+ }
837
+
838
+ static inline void SetPixelGreenTraits(Image *image,const PixelTrait traits)
839
+ {
840
+ image->channel_map[GreenPixelChannel].traits=traits;
841
+ }
842
+
843
+ static inline void SetPixelIndex(const Image *magick_restrict image,
844
+ const Quantum index,Quantum *magick_restrict pixel)
845
+ {
846
+ if (image->channel_map[IndexPixelChannel].traits != UndefinedPixelTrait)
847
+ pixel[image->channel_map[IndexPixelChannel].offset]=index;
848
+ }
849
+
850
+ static inline void SetPixelIndexTraits(Image *image,const PixelTrait traits)
851
+ {
852
+ image->channel_map[IndexPixelChannel].traits=traits;
853
+ }
854
+
855
+ static inline void SetPixelViaPixelInfo(const Image *magick_restrict image,
856
+ const PixelInfo *magick_restrict pixel_info,Quantum *magick_restrict pixel)
857
+ {
858
+ pixel[image->channel_map[RedPixelChannel].offset]=
859
+ ClampToQuantum(pixel_info->red);
860
+ pixel[image->channel_map[GreenPixelChannel].offset]=
861
+ ClampToQuantum(pixel_info->green);
862
+ pixel[image->channel_map[BluePixelChannel].offset]=
863
+ ClampToQuantum(pixel_info->blue);
864
+ if (image->channel_map[BlackPixelChannel].traits != UndefinedPixelTrait)
865
+ pixel[image->channel_map[BlackPixelChannel].offset]=
866
+ ClampToQuantum(pixel_info->black);
867
+ if (image->channel_map[AlphaPixelChannel].traits != UndefinedPixelTrait)
868
+ pixel[image->channel_map[AlphaPixelChannel].offset]=
869
+ pixel_info->alpha_trait == UndefinedPixelTrait ? OpaqueAlpha :
870
+ ClampToQuantum(pixel_info->alpha);
871
+ }
872
+
873
+ static inline void SetPixelL(const Image *magick_restrict image,const Quantum L,
874
+ Quantum *magick_restrict pixel)
875
+ {
876
+ if (image->channel_map[LPixelChannel].traits != UndefinedPixelTrait)
877
+ pixel[image->channel_map[LPixelChannel].offset]=L;
878
+ }
879
+
880
+ static inline void SetPixelMagenta(const Image *magick_restrict image,
881
+ const Quantum magenta,Quantum *magick_restrict pixel)
882
+ {
883
+ pixel[image->channel_map[MagentaPixelChannel].offset]=magenta;
884
+ }
885
+
886
+ static inline void SetPixelMagentaTraits(Image *image,const PixelTrait traits)
887
+ {
888
+ image->channel_map[MagentaPixelChannel].traits=traits;
889
+ }
890
+
891
+ static inline void SetPixelMeta(const Image *magick_restrict image,
892
+ const Quantum red,Quantum *magick_restrict pixel)
893
+ {
894
+ pixel[image->channel_map[MetaPixelChannels].offset]=red;
895
+ }
896
+
897
+ static inline void SetPixelMetaTraits(Image *image,const PixelTrait traits)
898
+ {
899
+ image->channel_map[MetaPixelChannels].traits=traits;
900
+ }
901
+
902
+ static inline void SetPixelReadMask(const Image *magick_restrict image,
903
+ const Quantum mask,Quantum *magick_restrict pixel)
904
+ {
905
+ if (image->channel_map[ReadMaskPixelChannel].traits != UndefinedPixelTrait)
906
+ pixel[image->channel_map[ReadMaskPixelChannel].offset]=mask;
907
+ }
908
+
909
+ static inline void SetPixelMetacontentExtent(Image *image,const size_t extent)
910
+ {
911
+ image->metacontent_extent=extent;
912
+ }
913
+
914
+ static inline void SetPixelOpacity(const Image *magick_restrict image,
915
+ const Quantum alpha,Quantum *magick_restrict pixel)
916
+ {
917
+ if (image->channel_map[AlphaPixelChannel].traits != UndefinedPixelTrait)
918
+ pixel[image->channel_map[AlphaPixelChannel].offset]=QuantumRange-alpha;
919
+ }
920
+
921
+ static inline void SetPixelRed(const Image *magick_restrict image,
922
+ const Quantum red,Quantum *magick_restrict pixel)
923
+ {
924
+ pixel[image->channel_map[RedPixelChannel].offset]=red;
925
+ }
926
+
927
+ static inline void SetPixelRedTraits(Image *image,const PixelTrait traits)
928
+ {
929
+ image->channel_map[RedPixelChannel].traits=traits;
930
+ }
931
+
932
+ static inline void SetPixelWriteMask(const Image *magick_restrict image,
933
+ const Quantum mask,Quantum *magick_restrict pixel)
934
+ {
935
+ if (image->channel_map[WriteMaskPixelChannel].traits != UndefinedPixelTrait)
936
+ pixel[image->channel_map[WriteMaskPixelChannel].offset]=mask;
937
+ }
938
+
939
+ static inline void SetPixelYellow(const Image *magick_restrict image,
940
+ const Quantum yellow,Quantum *magick_restrict pixel)
941
+ {
942
+ pixel[image->channel_map[YellowPixelChannel].offset]=yellow;
943
+ }
944
+
945
+ static inline void SetPixelYellowTraits(Image *image,const PixelTrait traits)
946
+ {
947
+ image->channel_map[YellowPixelChannel].traits=traits;
948
+ }
949
+
950
+ static inline void SetPixelY(const Image *magick_restrict image,
951
+ const Quantum y,Quantum *magick_restrict pixel)
952
+ {
953
+ pixel[image->channel_map[YPixelChannel].offset]=y;
954
+ }
955
+
956
+ static inline void SetPixelYTraits(Image *image,const PixelTrait traits)
957
+ {
958
+ image->channel_map[YPixelChannel].traits=traits;
959
+ }
960
+
961
+ #if defined(__cplusplus) || defined(c_plusplus)
962
+ }
963
+ #endif
964
+
965
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/pixel.h ADDED
@@ -0,0 +1,269 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 image pixel methods.
17
+ */
18
+ #ifndef MAGICKCORE_PIXEL_H
19
+ #define MAGICKCORE_PIXEL_H
20
+
21
+ #include "MagickCore/colorspace.h"
22
+
23
+ #if defined(__cplusplus) || defined(c_plusplus)
24
+ extern "C" {
25
+ #endif
26
+
27
+ #define MaxPixelChannels 64
28
+ #undef index
29
+
30
+ /*
31
+ Pixel enum declarations.
32
+ */
33
+ typedef enum
34
+ {
35
+ UndefinedChannel = 0x0000,
36
+ RedChannel = 0x0001,
37
+ GrayChannel = 0x0001,
38
+ CyanChannel = 0x0001,
39
+ LChannel = 0x0001,
40
+ GreenChannel = 0x0002,
41
+ MagentaChannel = 0x0002,
42
+ aChannel = 0x0002,
43
+ BlueChannel = 0x0004,
44
+ bChannel = 0x0002,
45
+ YellowChannel = 0x0004,
46
+ BlackChannel = 0x0008,
47
+ AlphaChannel = 0x0010,
48
+ OpacityChannel = 0x0010,
49
+ IndexChannel = 0x0020, /* Color Index Table? */
50
+ ReadMaskChannel = 0x0040, /* Pixel is Not Readable? */
51
+ WriteMaskChannel = 0x0080, /* Pixel is Write Protected? */
52
+ MetaChannel = 0x0100, /* not used */
53
+ CompositeMaskChannel = 0x0200, /* SVG mask */
54
+ CompositeChannels = 0x001F,
55
+ AllChannels = 0x7ffffff,
56
+ /*
57
+ Special purpose channel types.
58
+ FUTURE: are these needed any more - they are more like hacks
59
+ SyncChannels for example is NOT a real channel but a 'flag'
60
+ It really says -- "User has not defined channels"
61
+ Though it does have extra meaning in the "-auto-level" operator
62
+ */
63
+ TrueAlphaChannel = 0x0100, /* extract actual alpha channel from opacity */
64
+ RGBChannels = 0x0200, /* set alpha from grayscale mask in RGB */
65
+ GrayChannels = 0x0400,
66
+ SyncChannels = 0x20000, /* channels modified as a single unit */
67
+ DefaultChannels = AllChannels
68
+ } ChannelType; /* must correspond to PixelChannel */
69
+
70
+ typedef enum
71
+ {
72
+ UndefinedPixelChannel = 0,
73
+ RedPixelChannel = 0,
74
+ CyanPixelChannel = 0,
75
+ GrayPixelChannel = 0,
76
+ LPixelChannel = 0,
77
+ LabelPixelChannel = 0,
78
+ YPixelChannel = 0,
79
+ aPixelChannel = 1,
80
+ GreenPixelChannel = 1,
81
+ MagentaPixelChannel = 1,
82
+ CbPixelChannel = 1,
83
+ bPixelChannel = 2,
84
+ BluePixelChannel = 2,
85
+ YellowPixelChannel = 2,
86
+ CrPixelChannel = 2,
87
+ BlackPixelChannel = 3,
88
+ AlphaPixelChannel = 4,
89
+ IndexPixelChannel = 5,
90
+ ReadMaskPixelChannel = 6,
91
+ WriteMaskPixelChannel = 7,
92
+ MetaPixelChannel = 8,
93
+ CompositeMaskPixelChannel = 9,
94
+ MetaPixelChannels = 10,
95
+ IntensityPixelChannel = MaxPixelChannels, /* ???? */
96
+ CompositePixelChannel = MaxPixelChannels, /* ???? */
97
+ SyncPixelChannel = MaxPixelChannels+1 /* not a real channel */
98
+ } PixelChannel; /* must correspond to ChannelType */
99
+
100
+ typedef enum
101
+ {
102
+ UndefinedPixelIntensityMethod = 0,
103
+ AveragePixelIntensityMethod,
104
+ BrightnessPixelIntensityMethod,
105
+ LightnessPixelIntensityMethod,
106
+ MSPixelIntensityMethod,
107
+ Rec601LumaPixelIntensityMethod,
108
+ Rec601LuminancePixelIntensityMethod,
109
+ Rec709LumaPixelIntensityMethod,
110
+ Rec709LuminancePixelIntensityMethod,
111
+ RMSPixelIntensityMethod
112
+ } PixelIntensityMethod;
113
+
114
+ typedef enum
115
+ {
116
+ UndefinedInterpolatePixel,
117
+ AverageInterpolatePixel, /* Average 4 nearest neighbours */
118
+ Average9InterpolatePixel, /* Average 9 nearest neighbours */
119
+ Average16InterpolatePixel, /* Average 16 nearest neighbours */
120
+ BackgroundInterpolatePixel, /* Just return background color */
121
+ BilinearInterpolatePixel, /* Triangular filter interpolation */
122
+ BlendInterpolatePixel, /* blend of nearest 1, 2 or 4 pixels */
123
+ CatromInterpolatePixel, /* Catmull-Rom interpolation */
124
+ IntegerInterpolatePixel, /* Integer (floor) interpolation */
125
+ MeshInterpolatePixel, /* Triangular Mesh interpolation */
126
+ NearestInterpolatePixel, /* Nearest Neighbour Only */
127
+ SplineInterpolatePixel /* Cubic Spline (blurred) interpolation */
128
+ } PixelInterpolateMethod;
129
+
130
+ typedef enum
131
+ {
132
+ UndefinedPixelMask = 0x000000,
133
+ ReadPixelMask = 0x000001,
134
+ WritePixelMask = 0x000002,
135
+ CompositePixelMask = 0x000004
136
+ } PixelMask;
137
+
138
+ typedef enum
139
+ {
140
+ UndefinedPixelTrait = 0x000000,
141
+ CopyPixelTrait = 0x000001,
142
+ UpdatePixelTrait = 0x000002,
143
+ BlendPixelTrait = 0x000004
144
+ } PixelTrait;
145
+
146
+ typedef enum
147
+ {
148
+ UndefinedPixel,
149
+ CharPixel,
150
+ DoublePixel,
151
+ FloatPixel,
152
+ LongPixel,
153
+ LongLongPixel,
154
+ QuantumPixel,
155
+ ShortPixel
156
+ } StorageType;
157
+
158
+ /*
159
+ Pixel typedef declarations.
160
+ */
161
+ typedef struct _PixelChannelMap
162
+ {
163
+ PixelChannel
164
+ channel;
165
+
166
+ PixelTrait
167
+ traits;
168
+
169
+ ssize_t
170
+ offset;
171
+ } PixelChannelMap;
172
+
173
+ typedef struct _PixelInfo
174
+ {
175
+ ClassType
176
+ storage_class;
177
+
178
+ ColorspaceType
179
+ colorspace;
180
+
181
+ PixelTrait
182
+ alpha_trait;
183
+
184
+ double
185
+ fuzz;
186
+
187
+ size_t
188
+ depth;
189
+
190
+ MagickSizeType
191
+ count;
192
+
193
+ MagickRealType
194
+ red,
195
+ green,
196
+ blue,
197
+ black,
198
+ alpha,
199
+ index;
200
+ } PixelInfo;
201
+
202
+ typedef struct _PixelPacket
203
+ {
204
+ unsigned int
205
+ red,
206
+ green,
207
+ blue,
208
+ alpha,
209
+ black;
210
+ } PixelPacket;
211
+
212
+ typedef struct _CacheView
213
+ CacheView_;
214
+
215
+ /*
216
+ Pixel method declarations.
217
+ */
218
+ extern MagickExport ChannelType
219
+ SetPixelChannelMask(Image *,const ChannelType);
220
+
221
+ extern MagickExport MagickBooleanType
222
+ ExportImagePixels(const Image *,const ssize_t,const ssize_t,const size_t,
223
+ const size_t,const char *,const StorageType,void *,ExceptionInfo *),
224
+ ImportImagePixels(Image *,const ssize_t,const ssize_t,const size_t,
225
+ const size_t,const char *,const StorageType,const void *,ExceptionInfo *),
226
+ InterpolatePixelChannel(const Image *magick_restrict,const CacheView_ *,
227
+ const PixelChannel,const PixelInterpolateMethod,const double,const double,
228
+ double *,ExceptionInfo *),
229
+ InterpolatePixelChannels(const Image *magick_restrict,const CacheView_ *,
230
+ const Image * magick_restrict,const PixelInterpolateMethod,const double,
231
+ const double,Quantum *,ExceptionInfo *),
232
+ InterpolatePixelInfo(const Image *,const CacheView_ *,
233
+ const PixelInterpolateMethod,const double,const double,PixelInfo *,
234
+ ExceptionInfo *),
235
+ IsFuzzyEquivalencePixel(const Image *,const Quantum *,const Image *,
236
+ const Quantum *) magick_attribute((__pure__)),
237
+ IsFuzzyEquivalencePixelInfo(const PixelInfo *,const PixelInfo *)
238
+ magick_attribute((__pure__)),
239
+ SetPixelMetaChannels(Image *,const size_t,ExceptionInfo *),
240
+ SortImagePixels(Image *,ExceptionInfo *);
241
+
242
+ extern MagickExport MagickRealType
243
+ GetPixelInfoIntensity(const Image *magick_restrict,
244
+ const PixelInfo *magick_restrict) magick_hot_spot,
245
+ GetPixelIntensity(const Image *magick_restrict,
246
+ const Quantum *magick_restrict) magick_hot_spot;
247
+
248
+ extern MagickExport PixelChannelMap
249
+ *AcquirePixelChannelMap(void),
250
+ *ClonePixelChannelMap(PixelChannelMap *),
251
+ *DestroyPixelChannelMap(PixelChannelMap *);
252
+
253
+ extern MagickExport PixelInfo
254
+ *ClonePixelInfo(const PixelInfo *);
255
+
256
+ extern MagickExport MagickRealType
257
+ DecodePixelGamma(const MagickRealType) magick_hot_spot,
258
+ EncodePixelGamma(const MagickRealType) magick_hot_spot;
259
+
260
+ extern MagickExport void
261
+ ConformPixelInfo(Image *,const PixelInfo *,PixelInfo *,ExceptionInfo *),
262
+ GetPixelInfo(const Image *,PixelInfo *),
263
+ InitializePixelChannelMap(Image *);
264
+
265
+ #if defined(__cplusplus) || defined(c_plusplus)
266
+ }
267
+ #endif
268
+
269
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/policy.h ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 security policy methods.
17
+ */
18
+ #ifndef MAGICKCORE_POLICY_H
19
+ #define MAGICKCORE_POLICY_H
20
+
21
+ #include "MagickCore/pixel.h"
22
+ #include "MagickCore/exception.h"
23
+
24
+ #if defined(__cplusplus) || defined(c_plusplus)
25
+ extern "C" {
26
+ #endif
27
+
28
+ typedef enum
29
+ {
30
+ UndefinedPolicyDomain,
31
+ CoderPolicyDomain,
32
+ DelegatePolicyDomain,
33
+ FilterPolicyDomain,
34
+ PathPolicyDomain,
35
+ ResourcePolicyDomain,
36
+ SystemPolicyDomain,
37
+ CachePolicyDomain,
38
+ ModulePolicyDomain
39
+ } PolicyDomain;
40
+
41
+ typedef enum
42
+ {
43
+ UndefinedPolicyRights = 0x00,
44
+ NoPolicyRights = 0x00,
45
+ ReadPolicyRights = 0x01,
46
+ WritePolicyRights = 0x02,
47
+ ExecutePolicyRights = 0x04,
48
+ AllPolicyRights = 0xff
49
+ } PolicyRights;
50
+
51
+ typedef struct _PolicyInfo
52
+ PolicyInfo;
53
+
54
+ extern MagickExport char
55
+ *GetPolicyValue(const char *),
56
+ **GetPolicyList(const char *,size_t *,ExceptionInfo *);
57
+
58
+ extern MagickExport const PolicyInfo
59
+ **GetPolicyInfoList(const char *,size_t *,ExceptionInfo *);
60
+
61
+ extern MagickExport MagickBooleanType
62
+ IsRightsAuthorized(const PolicyDomain,const PolicyRights,const char *),
63
+ ListPolicyInfo(FILE *,ExceptionInfo *),
64
+ SetMagickSecurityPolicy(const char *,ExceptionInfo *),
65
+ SetMagickSecurityPolicyValue(const PolicyDomain,const char *,const char *,
66
+ ExceptionInfo *);
67
+
68
+ #if defined(__cplusplus) || defined(c_plusplus)
69
+ }
70
+ #endif
71
+
72
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/profile.h ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 image profile methods.
17
+ */
18
+ #ifndef MAGICKCORE_PROFILE_H
19
+ #define MAGICKCORE_PROFILE_H
20
+
21
+ #include "MagickCore/string_.h"
22
+
23
+ #if defined(__cplusplus) || defined(c_plusplus)
24
+ extern "C" {
25
+ #endif
26
+
27
+ typedef struct _ProfileInfo
28
+ ProfileInfo;
29
+
30
+ typedef enum
31
+ {
32
+ UndefinedIntent,
33
+ SaturationIntent,
34
+ PerceptualIntent,
35
+ AbsoluteIntent,
36
+ RelativeIntent
37
+ } RenderingIntent;
38
+
39
+ extern MagickExport char
40
+ *GetNextImageProfile(const Image *);
41
+
42
+ extern MagickExport const StringInfo
43
+ *GetImageProfile(const Image *,const char *);
44
+
45
+ extern MagickExport MagickBooleanType
46
+ CloneImageProfiles(Image *,const Image *),
47
+ DeleteImageProfile(Image *,const char *),
48
+ ProfileImage(Image *,const char *,const void *,const size_t,ExceptionInfo *),
49
+ SetImageProfile(Image *,const char *,const StringInfo *,ExceptionInfo *);
50
+
51
+ extern MagickExport StringInfo
52
+ *RemoveImageProfile(Image *,const char *);
53
+
54
+ extern MagickExport void
55
+ DestroyImageProfiles(Image *),
56
+ ResetImageProfileIterator(const Image *);
57
+
58
+ #if defined(__cplusplus) || defined(c_plusplus)
59
+ }
60
+ #endif
61
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/property.h ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Copyright @ 2000 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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 property methods.
17
+ */
18
+ #ifndef MAGICKCORE_PROPERTY_H
19
+ #define MAGICKCORE_PROPERTY_H
20
+
21
+ #if defined(__cplusplus) || defined(c_plusplus)
22
+ extern "C" {
23
+ #endif
24
+
25
+ extern MagickExport char
26
+ *InterpretImageProperties(ImageInfo *,Image *,const char *,
27
+ ExceptionInfo *),
28
+ *RemoveImageProperty(Image *,const char *);
29
+
30
+ extern MagickExport const char
31
+ *GetNextImageProperty(const Image *),
32
+ *GetImageProperty(const Image *,const char *,ExceptionInfo *),
33
+ *GetMagickProperty(ImageInfo *,Image *,const char *,ExceptionInfo *);
34
+
35
+ extern MagickExport MagickBooleanType
36
+ CloneImageProperties(Image *,const Image *),
37
+ DefineImageProperty(Image *,const char *,ExceptionInfo *),
38
+ DeleteImageProperty(Image *,const char *),
39
+ FormatImageProperty(Image *,const char *,const char *,...)
40
+ magick_attribute((__format__ (__printf__,3,4))),
41
+ SetImageProperty(Image *,const char *,const char *,ExceptionInfo *);
42
+
43
+ extern MagickExport void
44
+ DestroyImageProperties(Image *),
45
+ ResetImagePropertyIterator(const Image *);
46
+
47
+ #if defined(__cplusplus) || defined(c_plusplus)
48
+ }
49
+ #endif
50
+
51
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/quantize.h ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 image quantization methods.
17
+ */
18
+ #ifndef MAGICKCORE_QUANTIZE_H
19
+ #define MAGICKCORE_QUANTIZE_H
20
+
21
+ #include "MagickCore/colorspace.h"
22
+
23
+ #if defined(__cplusplus) || defined(c_plusplus)
24
+ extern "C" {
25
+ #endif
26
+
27
+ typedef enum
28
+ {
29
+ UndefinedDitherMethod,
30
+ NoDitherMethod,
31
+ RiemersmaDitherMethod,
32
+ FloydSteinbergDitherMethod
33
+ } DitherMethod;
34
+
35
+ typedef struct _QuantizeInfo
36
+ {
37
+ size_t
38
+ number_colors; /* desired maximum number of colors */
39
+
40
+ size_t
41
+ tree_depth;
42
+
43
+ ColorspaceType
44
+ colorspace;
45
+
46
+ DitherMethod
47
+ dither_method;
48
+
49
+ MagickBooleanType
50
+ measure_error;
51
+
52
+ size_t
53
+ signature;
54
+ } QuantizeInfo;
55
+
56
+
57
+ extern MagickExport MagickBooleanType
58
+ CompressImageColormap(Image *,ExceptionInfo *),
59
+ GetImageQuantizeError(Image *,ExceptionInfo *),
60
+ KmeansImage(Image *,const size_t,const size_t,const double,ExceptionInfo *),
61
+ PosterizeImage(Image *,const size_t,const DitherMethod,ExceptionInfo *),
62
+ QuantizeImage(const QuantizeInfo *,Image *,ExceptionInfo *),
63
+ QuantizeImages(const QuantizeInfo *,Image *,ExceptionInfo *),
64
+ RemapImage(const QuantizeInfo *,Image *,const Image *,ExceptionInfo *),
65
+ RemapImages(const QuantizeInfo *,Image *,const Image *,ExceptionInfo *);
66
+
67
+ extern MagickExport QuantizeInfo
68
+ *AcquireQuantizeInfo(const ImageInfo *),
69
+ *CloneQuantizeInfo(const QuantizeInfo *),
70
+ *DestroyQuantizeInfo(QuantizeInfo *);
71
+
72
+ extern MagickExport void
73
+ GetQuantizeInfo(QuantizeInfo *);
74
+
75
+ #if defined(__cplusplus) || defined(c_plusplus)
76
+ }
77
+ #endif
78
+
79
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/quantum.h ADDED
@@ -0,0 +1,196 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 quantum inline methods.
17
+ */
18
+ #ifndef MAGICKCORE_QUANTUM_H
19
+ #define MAGICKCORE_QUANTUM_H
20
+
21
+ #include <float.h>
22
+ #include "MagickCore/image.h"
23
+ #include "MagickCore/semaphore.h"
24
+
25
+ #if defined(__cplusplus) || defined(c_plusplus)
26
+ extern "C" {
27
+ #endif
28
+
29
+ typedef enum
30
+ {
31
+ UndefinedEndian,
32
+ LSBEndian,
33
+ MSBEndian
34
+ } EndianType;
35
+
36
+ typedef enum
37
+ {
38
+ UndefinedQuantumAlpha,
39
+ AssociatedQuantumAlpha,
40
+ DisassociatedQuantumAlpha
41
+ } QuantumAlphaType;
42
+
43
+ typedef enum
44
+ {
45
+ UndefinedQuantumFormat,
46
+ FloatingPointQuantumFormat,
47
+ SignedQuantumFormat,
48
+ UnsignedQuantumFormat
49
+ } QuantumFormatType;
50
+
51
+ typedef enum
52
+ {
53
+ UndefinedQuantum,
54
+ AlphaQuantum,
55
+ BGRAQuantum,
56
+ BGROQuantum,
57
+ BGRQuantum,
58
+ BlackQuantum,
59
+ BlueQuantum,
60
+ CbYCrAQuantum,
61
+ CbYCrQuantum,
62
+ CbYCrYQuantum,
63
+ CMYKAQuantum,
64
+ CMYKOQuantum,
65
+ CMYKQuantum,
66
+ CyanQuantum,
67
+ GrayAlphaQuantum,
68
+ GrayQuantum,
69
+ GreenQuantum,
70
+ IndexAlphaQuantum,
71
+ IndexQuantum,
72
+ MagentaQuantum,
73
+ OpacityQuantum,
74
+ RedQuantum,
75
+ RGBAQuantum,
76
+ RGBOQuantum,
77
+ RGBPadQuantum,
78
+ RGBQuantum,
79
+ YellowQuantum,
80
+ MultispectralQuantum
81
+ } QuantumType;
82
+
83
+ typedef struct _QuantumInfo
84
+ QuantumInfo;
85
+
86
+ static inline Quantum ClampToQuantum(const MagickRealType quantum)
87
+ {
88
+ #if defined(MAGICKCORE_HDRI_SUPPORT)
89
+ return((Quantum) quantum);
90
+ #else
91
+ if ((IsNaN(quantum) != 0) || (quantum <= 0.0))
92
+ return((Quantum) 0);
93
+ if (quantum >= (MagickRealType) QuantumRange)
94
+ return(QuantumRange);
95
+ return((Quantum) (quantum+0.5));
96
+ #endif
97
+ }
98
+
99
+ #if (MAGICKCORE_QUANTUM_DEPTH == 8)
100
+ static inline unsigned char ScaleQuantumToChar(const Quantum quantum)
101
+ {
102
+ #if !defined(MAGICKCORE_HDRI_SUPPORT)
103
+ return((unsigned char) quantum);
104
+ #else
105
+ if ((IsNaN(quantum) != 0) || (quantum <= 0.0))
106
+ return(0);
107
+ if (quantum >= 255.0)
108
+ return(255);
109
+ return((unsigned char) (quantum+0.5));
110
+ #endif
111
+ }
112
+ #elif (MAGICKCORE_QUANTUM_DEPTH == 16)
113
+ static inline unsigned char ScaleQuantumToChar(const Quantum quantum)
114
+ {
115
+ #if !defined(MAGICKCORE_HDRI_SUPPORT)
116
+ return((unsigned char) (((quantum+128UL)-((quantum+128UL) >> 8)) >> 8));
117
+ #else
118
+ if ((IsNaN(quantum) != 0) || (quantum <= 0.0))
119
+ return(0);
120
+ if ((quantum/257.0) >= 255.0)
121
+ return(255);
122
+ return((unsigned char) (quantum/257.0+0.5));
123
+ #endif
124
+ }
125
+ #elif (MAGICKCORE_QUANTUM_DEPTH == 32)
126
+ static inline unsigned char ScaleQuantumToChar(const Quantum quantum)
127
+ {
128
+ #if !defined(MAGICKCORE_HDRI_SUPPORT)
129
+ return((unsigned char) ((quantum+MagickULLConstant(8421504))/
130
+ MagickULLConstant(16843009)));
131
+ #else
132
+ if ((IsNaN(quantum) != 0) || (quantum <= 0.0))
133
+ return(0);
134
+ if ((quantum/16843009.0) >= 255.0)
135
+ return(255);
136
+ return((unsigned char) (quantum/16843009.0+0.5));
137
+ #endif
138
+ }
139
+ #elif (MAGICKCORE_QUANTUM_DEPTH == 64)
140
+ static inline unsigned char ScaleQuantumToChar(const Quantum quantum)
141
+ {
142
+ #if !defined(MAGICKCORE_HDRI_SUPPORT)
143
+ return((unsigned char) (quantum/72340172838076673.0+0.5));
144
+ #else
145
+ if ((IsNaN(quantum) != 0) || (quantum <= 0.0))
146
+ return(0);
147
+ if ((quantum/72340172838076673.0) >= 255.0)
148
+ return(255);
149
+ return((unsigned char) (quantum/72340172838076673.0+0.5));
150
+ #endif
151
+ }
152
+ #endif
153
+
154
+ extern MagickExport EndianType
155
+ GetQuantumEndian(const QuantumInfo *);
156
+
157
+ extern MagickExport MagickBooleanType
158
+ SetQuantumDepth(const Image *,QuantumInfo *,const size_t),
159
+ SetQuantumEndian(const Image *,QuantumInfo *,const EndianType),
160
+ SetQuantumFormat(const Image *,QuantumInfo *,const QuantumFormatType),
161
+ SetQuantumPad(const Image *,QuantumInfo *,const size_t);
162
+
163
+ extern MagickExport QuantumFormatType
164
+ GetQuantumFormat(const QuantumInfo *);
165
+
166
+ extern MagickExport QuantumInfo
167
+ *AcquireQuantumInfo(const ImageInfo *,Image *),
168
+ *DestroyQuantumInfo(QuantumInfo *);
169
+
170
+ extern MagickExport QuantumType
171
+ GetQuantumType(Image *,ExceptionInfo *);
172
+
173
+ extern MagickExport size_t
174
+ ExportQuantumPixels(const Image *,CacheView *,QuantumInfo *,const QuantumType,
175
+ unsigned char *magick_restrict,ExceptionInfo *),
176
+ GetQuantumExtent(const Image *,const QuantumInfo *,const QuantumType),
177
+ ImportQuantumPixels(const Image *,CacheView *,QuantumInfo *,const QuantumType,
178
+ const unsigned char *magick_restrict,ExceptionInfo *);
179
+
180
+ extern MagickExport unsigned char
181
+ *GetQuantumPixels(const QuantumInfo *);
182
+
183
+ extern MagickExport void
184
+ GetQuantumInfo(const ImageInfo *,QuantumInfo *),
185
+ SetQuantumAlphaType(QuantumInfo *,const QuantumAlphaType),
186
+ SetQuantumImageType(Image *,const QuantumType),
187
+ SetQuantumMinIsWhite(QuantumInfo *,const MagickBooleanType),
188
+ SetQuantumPack(QuantumInfo *,const MagickBooleanType),
189
+ SetQuantumQuantum(QuantumInfo *,const size_t),
190
+ SetQuantumScale(QuantumInfo *,const double);
191
+
192
+ #if defined(__cplusplus) || defined(c_plusplus)
193
+ }
194
+ #endif
195
+
196
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/registry.h ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Copyright @ 2000 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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 registry methods.
17
+ */
18
+ #ifndef MAGICKCORE_REGISTRY_H
19
+ #define MAGICKCORE_REGISTRY_H
20
+
21
+ #if defined(__cplusplus) || defined(c_plusplus)
22
+ extern "C" {
23
+ #endif
24
+
25
+ typedef enum
26
+ {
27
+ UndefinedRegistryType,
28
+ ImageRegistryType,
29
+ ImageInfoRegistryType,
30
+ StringRegistryType
31
+ } RegistryType;
32
+
33
+ extern MagickExport char
34
+ *GetNextImageRegistry(void);
35
+
36
+ extern MagickExport MagickBooleanType
37
+ DefineImageRegistry(const RegistryType,const char *,ExceptionInfo *),
38
+ DeleteImageRegistry(const char *),
39
+ SetImageRegistry(const RegistryType,const char *,const void *,
40
+ ExceptionInfo *);
41
+
42
+ extern MagickExport void
43
+ *GetImageRegistry(const RegistryType,const char *,ExceptionInfo *),
44
+ *RemoveImageRegistry(const char *),
45
+ ResetImageRegistryIterator(void);
46
+
47
+ #if defined(__cplusplus) || defined(c_plusplus)
48
+ }
49
+ #endif
50
+
51
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/resize.h ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 image resize methods.
17
+ */
18
+ #ifndef MAGICKCORE_RESIZE_H
19
+ #define MAGICKCORE_RESIZE_H
20
+
21
+ #if defined(__cplusplus) || defined(c_plusplus)
22
+ extern "C" {
23
+ #endif
24
+
25
+ typedef struct _ResizeFilter
26
+ ResizeFilter;
27
+
28
+ extern MagickExport Image
29
+ *AdaptiveResizeImage(const Image *,const size_t,const size_t,ExceptionInfo *),
30
+ *InterpolativeResizeImage(const Image *,const size_t,const size_t,
31
+ const PixelInterpolateMethod,ExceptionInfo *),
32
+ *LiquidRescaleImage(const Image *,const size_t,const size_t,const double,
33
+ const double,ExceptionInfo *),
34
+ *MagnifyImage(const Image *,ExceptionInfo *),
35
+ *MinifyImage(const Image *,ExceptionInfo *),
36
+ *ResampleImage(const Image *,const double,const double,const FilterType,
37
+ ExceptionInfo *),
38
+ *ResizeImage(const Image *,const size_t,const size_t,const FilterType,
39
+ ExceptionInfo *),
40
+ *SampleImage(const Image *,const size_t,const size_t,ExceptionInfo *),
41
+ *ScaleImage(const Image *,const size_t,const size_t,ExceptionInfo *),
42
+ *ThumbnailImage(const Image *,const size_t,const size_t,ExceptionInfo *);
43
+
44
+ #if defined(__cplusplus) || defined(c_plusplus)
45
+ }
46
+ #endif
47
+
48
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/resource_.h ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Copyright @ 2002 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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 resource methods.
17
+ */
18
+ #ifndef MAGICKCORE_RESOURCE_H
19
+ #define MAGICKCORE_RESOURCE_H
20
+
21
+ #if defined(__cplusplus) || defined(c_plusplus)
22
+ extern "C" {
23
+ #endif
24
+
25
+ typedef enum
26
+ {
27
+ UndefinedResource,
28
+ AreaResource,
29
+ DiskResource,
30
+ FileResource,
31
+ HeightResource,
32
+ MapResource,
33
+ MemoryResource,
34
+ ThreadResource,
35
+ ThrottleResource,
36
+ TimeResource,
37
+ WidthResource,
38
+ ListLengthResource
39
+ } ResourceType;
40
+
41
+ #define MagickResourceInfinity (MagickULLConstant(~0) >> 1)
42
+
43
+ extern MagickExport int
44
+ AcquireUniqueFileResource(char *);
45
+
46
+ extern MagickExport MagickBooleanType
47
+ AcquireMagickResource(const ResourceType,const MagickSizeType),
48
+ GetPathTemplate(char *),
49
+ ListMagickResourceInfo(FILE *,ExceptionInfo *),
50
+ RelinquishUniqueFileResource(const char *),
51
+ SetMagickResourceLimit(const ResourceType,const MagickSizeType);
52
+
53
+ extern MagickExport MagickSizeType
54
+ GetMagickResource(const ResourceType),
55
+ GetMagickResourceLimit(const ResourceType);
56
+
57
+ extern MagickExport void
58
+ RelinquishMagickResource(const ResourceType,const MagickSizeType);
59
+
60
+ #if defined(__cplusplus) || defined(c_plusplus)
61
+ }
62
+ #endif
63
+
64
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/shear.h ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 image stream methods.
17
+ */
18
+ #ifndef MAGICKCORE_SHEAR_H
19
+ #define MAGICKCORE_SHEAR_H
20
+
21
+ #if defined(__cplusplus) || defined(c_plusplus)
22
+ extern "C" {
23
+ #endif
24
+
25
+ extern MagickExport Image
26
+ *DeskewImage(const Image *,const double,ExceptionInfo *),
27
+ *IntegralRotateImage(const Image *,size_t,ExceptionInfo *),
28
+ *ShearImage(const Image *,const double,const double,ExceptionInfo *),
29
+ *ShearRotateImage(const Image *,const double,ExceptionInfo *);
30
+
31
+ #if defined(__cplusplus) || defined(c_plusplus)
32
+ }
33
+ #endif
34
+
35
+ #endif
data/miniconda3/include/ImageMagick-7/MagickCore/signature.h ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. You may
6
+ obtain a copy of the License at
7
+
8
+ https://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 digital signature methods.
17
+ */
18
+ #ifndef MAGICKCORE_SIGNATURE_H
19
+ #define MAGICKCORE_SIGNATURE_H
20
+
21
+ #if defined(__cplusplus) || defined(c_plusplus)
22
+ extern "C" {
23
+ #endif
24
+
25
+ extern MagickExport MagickBooleanType
26
+ SignatureImage(Image *,ExceptionInfo *);
27
+
28
+ #if defined(__cplusplus) || defined(c_plusplus)
29
+ }
30
+ #endif
31
+
32
+ #endif