Magick++  6.9.3
Include.h
Go to the documentation of this file.
1 // This may look like C code, but it is really -*- C++ -*-
2 //
3 // Copyright Bob Friesenhahn, 1999, 2000, 2001, 2002
4 // Copyright Dirk Lemstra 2013-2017
5 //
6 // Inclusion of ImageMagick headers (with namespace magic)
7 
8 #ifndef Magick_Include_header
9 #define Magick_Include_header
10 
11 #if !defined(_MAGICK_CONFIG_H)
12 # define _MAGICK_CONFIG_H
13 # if !defined(vms) && !defined(macintosh)
14 # include "magick/magick-config.h"
15 # else
16 # include "magick-config.h"
17 # endif
18 # undef inline // Remove possible definition from config.h
19 # undef class
20 #endif
21 
22 // Needed for stdio FILE
23 #include <stdio.h>
24 #include <stdarg.h>
25 #include <stdlib.h>
26 #include <time.h>
27 #include <math.h>
28 #include <sys/types.h>
29 
30 #if defined(__BORLANDC__)
31 # include <vcl.h> /* Borland C++ Builder 4.0 requirement */
32 #endif // defined(__BORLANDC__)
33 
34 //
35 // Include ImageMagick headers into namespace "MagickCore". If
36 // MAGICKCORE_IMPLEMENTATION is defined, include ImageMagick development
37 // headers. This scheme minimizes the possibility of conflict with
38 // user code.
39 //
40 namespace MagickCore
41 {
42 #include <magick/MagickCore.h>
43 #include <wand/MagickWand.h>
44 #undef inline // Remove possible definition from config.h
45 
46 #undef class
47 }
48 
49 //
50 // Provide appropriate DLL imports/exports for Visual C++,
51 // Borland C++Builder and MinGW builds.
52 //
53 #if defined(WIN32) && !defined(__CYGWIN__) && !defined(__MINGW32__)
54 # define MagickCplusPlusDLLSupported
55 #endif
56 #if defined(MagickCplusPlusDLLSupported)
57 # if defined(_MT) && defined(_DLL) && !defined(_LIB) && !defined(STATIC_MAGICK)
58 //
59 // In a native Windows build, the following defines are used:
60 //
61 // _MT = Multithreaded
62 // _DLL = Using code is part of a DLL
63 // _LIB = Using code is being built as a library.
64 // _MAGICKMOD_ = Build uses loadable modules (Magick++ does not care about this)
65 //
66 // In the case where ImageMagick is built as a static library but the
67 // using code is dynamic, STATIC_MAGICK may be defined in the project to
68 // override triggering dynamic library behavior.
69 //
70 # if defined(_VISUALC_)
71 # define MagickDLLExplicitTemplate
72 # pragma warning( disable: 4273 ) /* Disable the stupid dll linkage warnings */
73 # pragma warning( disable: 4251 )
74 # endif
75 # if !defined(MAGICKCORE_IMPLEMENTATION)
76 # if defined(__GNUC__)
77 # define MagickPPExport __attribute__ ((dllimport))
78 # else
79 # define MagickPPExport __declspec(dllimport)
80 # endif
81 # define MagickPPPrivate extern __declspec(dllimport)
82 # else
83 # if defined(__BORLANDC__) || defined(__MINGW32__)
84 # define MagickPPExport __declspec(dllexport)
85 # define MagickPPPrivate __declspec(dllexport)
86 # else
87 # if defined(__GNUC__)
88 # define MagickPPExport __attribute__ ((dllexport))
89 # else
90 # define MagickPPExport __declspec(dllexport)
91 # endif
92 # define MagickPPPrivate extern __declspec(dllexport)
93 # endif
94 # endif
95 # else
96 # define MagickPPExport
97 # define MagickPPPrivate
98 # if defined(_MSC_VER) && defined(STATIC_MAGICK) && !defined(NOAUTOLINK_MAGICK)
99 # if defined(_DEBUG)
100 # if defined(MAGICKCORE_BZLIB_DELEGATE)
101 # pragma comment(lib, "CORE_DB_bzlib_.lib")
102 # endif
103 # if defined(MAGICKCORE_CAIRO_DELEGATE)
104 # pragma comment(lib, "CORE_DB_cairo_.lib")
105 # endif
106 # if defined(MAGICKCORE_OPENEXR_DELEGATE)
107 # pragma comment(lib, "CORE_DB_exr_.lib")
108 # endif
109 # if defined(MAGICKCORE_FLIF_DELEGATE)
110 # pragma comment(lib, "CORE_DB_flif_.lib")
111 # endif
112 # if defined(MAGICKCORE_JBIG_DELEGATE)
113 # pragma comment(lib, "CORE_DB_jbig_.lib")
114 # endif
115 # if defined(MAGICKCORE_JP2_DELEGATE)
116 # pragma comment(lib, "CORE_DB_jp2_.lib")
117 # endif
118 # if defined(MAGICKCORE_JPEG_DELEGATE)
119 # pragma comment(lib, "CORE_DB_jpeg_.lib")
120 # endif
121 # if defined(MAGICKCORE_LCMS_DELEGATE)
122 # pragma comment(lib, "CORE_DB_lcms_.lib")
123 # endif
124 # if defined(MAGICKCORE_HEIC_DELEGATE)
125 # pragma comment(lib, "CORE_DB_libde265_.lib")
126 # pragma comment(lib, "CORE_DB_libheif_.lib")
127 # endif
128 # if defined(MAGICKCORE_LZMA_DELEGATE)
129 # pragma comment(lib, "CORE_DB_lzma_.lib")
130 # endif
131 # if defined(MAGICKCORE_RAW_R_DELEGATE)
132 # pragma comment(lib, "CORE_DB_libraw_.lib")
133 # endif
134 # if defined(MAGICKCORE_RSVG_DELEGATE)
135 # pragma comment(lib, "CORE_DB_librsvg_.lib")
136 # endif
137 # if defined(MAGICKCORE_XML_DELEGATE)
138 # pragma comment(lib, "CORE_DB_libxml_.lib")
139 # endif
140 # if defined(MAGICKCORE_LQR_DELEGATE)
141 # pragma comment(lib, "CORE_DB_ffi_.lib")
142 # pragma comment(lib, "CORE_DB_glib_.lib")
143 # pragma comment(lib, "CORE_DB_lqr_.lib")
144 # pragma comment(lib, "winmm.lib")
145 # endif
146 # if defined(MAGICKCORE_LIBOPENJP2_DELEGATE)
147 # pragma comment(lib, "CORE_DB_openjpeg_.lib")
148 # endif
149 # if defined(MAGICKCORE_PANGOCAIRO_DELEGATE)
150 # pragma comment(lib, "CORE_DB_pango_.lib")
151 # pragma comment(lib, "CORE_DB_pixman_.lib")
152 # endif
153 # if defined(MAGICKCORE_PNG_DELEGATE)
154 # pragma comment(lib, "CORE_DB_png_.lib")
155 # endif
156 # if defined(MAGICKCORE_TIFF_DELEGATE)
157 # pragma comment(lib, "CORE_DB_tiff_.lib")
158 # endif
159 # if defined(MAGICKCORE_FREETYPE_DELEGATE)
160 # pragma comment(lib, "CORE_DB_ttf_.lib")
161 # endif
162 # if defined(MAGICKCORE_WEBP_DELEGATE)
163 # pragma comment(lib, "CORE_DB_webp_.lib")
164 # endif
165 # if defined(MAGICKCORE_ZLIB_DELEGATE)
166 # pragma comment(lib, "CORE_DB_zlib_.lib")
167 # endif
168 # pragma comment(lib, "CORE_DB_coders_.lib")
169 # pragma comment(lib, "CORE_DB_filters_.lib")
170 # pragma comment(lib, "CORE_DB_Magick++_.lib")
171 # pragma comment(lib, "CORE_DB_MagickCore_.lib")
172 # pragma comment(lib, "CORE_DB_MagickWand_.lib")
173 # else
174 # if defined(MAGICKCORE_BZLIB_DELEGATE)
175 # pragma comment(lib, "CORE_RL_bzlib_.lib")
176 # endif
177 # if defined(MAGICKCORE_CAIRO_DELEGATE)
178 # pragma comment(lib, "CORE_RL_cairo_.lib")
179 # endif
180 # if defined(MAGICKCORE_OPENEXR_DELEGATE)
181 # pragma comment(lib, "CORE_RL_exr_.lib")
182 # endif
183 # if defined(MAGICKCORE_FLIF_DELEGATE)
184 # pragma comment(lib, "CORE_RL_flif_.lib")
185 # endif
186 # if defined(MAGICKCORE_JBIG_DELEGATE)
187 # pragma comment(lib, "CORE_RL_jbig_.lib")
188 # endif
189 # if defined(MAGICKCORE_JP2_DELEGATE)
190 # pragma comment(lib, "CORE_RL_jp2_.lib")
191 # endif
192 # if defined(MAGICKCORE_JPEG_DELEGATE)
193 # pragma comment(lib, "CORE_RL_jpeg_.lib")
194 # endif
195 # if defined(MAGICKCORE_LCMS_DELEGATE)
196 # pragma comment(lib, "CORE_RL_lcms_.lib")
197 # endif
198 # if defined(MAGICKCORE_HEIC_DELEGATE)
199 # pragma comment(lib, "CORE_RL_libde265_.lib")
200 # pragma comment(lib, "CORE_RL_libheif_.lib")
201 # endif
202 # if defined(MAGICKCORE_LZMA_DELEGATE)
203 # pragma comment(lib, "CORE_RL_lzma_.lib")
204 # endif
205 # if defined(MAGICKCORE_RAW_R_DELEGATE)
206 # pragma comment(lib, "CORE_RL_libraw_.lib")
207 # endif
208 # if defined(MAGICKCORE_RSVG_DELEGATE)
209 # pragma comment(lib, "CORE_RL_librsvg_.lib")
210 # endif
211 # if defined(MAGICKCORE_XML_DELEGATE)
212 # pragma comment(lib, "CORE_RL_libxml_.lib")
213 # endif
214 # if defined(MAGICKCORE_LQR_DELEGATE)
215 # pragma comment(lib, "CORE_RL_ffi_.lib")
216 # pragma comment(lib, "CORE_RL_glib_.lib")
217 # pragma comment(lib, "CORE_RL_lqr_.lib")
218 # pragma comment(lib, "winmm.lib")
219 # endif
220 # if defined(MAGICKCORE_LIBOPENJP2_DELEGATE)
221 # pragma comment(lib, "CORE_RL_openjpeg_.lib")
222 # endif
223 # if defined(MAGICKCORE_PANGOCAIRO_DELEGATE)
224 # pragma comment(lib, "CORE_RL_pango_.lib")
225 # pragma comment(lib, "CORE_RL_pixman_.lib")
226 # endif
227 # if defined(MAGICKCORE_PNG_DELEGATE)
228 # pragma comment(lib, "CORE_RL_png_.lib")
229 # endif
230 # if defined(MAGICKCORE_TIFF_DELEGATE)
231 # pragma comment(lib, "CORE_RL_tiff_.lib")
232 # endif
233 # if defined(MAGICKCORE_FREETYPE_DELEGATE)
234 # pragma comment(lib, "CORE_RL_ttf_.lib")
235 # endif
236 # if defined(MAGICKCORE_WEBP_DELEGATE)
237 # pragma comment(lib, "CORE_RL_webp_.lib")
238 # endif
239 # if defined(MAGICKCORE_ZLIB_DELEGATE)
240 # pragma comment(lib, "CORE_RL_zlib_.lib")
241 # endif
242 # pragma comment(lib, "CORE_RL_coders_.lib")
243 # pragma comment(lib, "CORE_RL_filters_.lib")
244 # pragma comment(lib, "CORE_RL_Magick++_.lib")
245 # pragma comment(lib, "CORE_RL_magick_.lib")
246 # pragma comment(lib, "CORE_RL_wand_.lib")
247 # endif
248 # if defined(_WIN32_WCE)
249 # pragma comment(lib, "wsock32.lib")
250 # else
251 # pragma comment(lib, "ws2_32.lib")
252 # endif
253 # pragma comment(lib, "urlmon.lib")
254 # endif
255 # endif
256 #else
257 # if __GNUC__ >= 4
258 # define MagickPPExport __attribute__ ((visibility ("default")))
259 # define MagickPPPrivate __attribute__ ((visibility ("hidden")))
260 # else
261 # define MagickPPExport
262 # define MagickPPPrivate
263 # endif
264 #endif
265 
266 #if (defined(WIN32) || defined(WIN64)) && defined(_VISUALC_)
267 # pragma warning(disable : 4996) /* function deprecation warnings */
268 #endif
269 
270 //
271 // Import ImageMagick symbols and types which are used as part of the
272 // Magick++ API definition into namespace "Magick".
273 //
274 namespace Magick
275 {
276  // The datatype for an RGB component
277  using MagickCore::Quantum;
278  using MagickCore::MagickRealType;
279  using MagickCore::MagickSizeType;
280 
281  // Boolean types
282  using MagickCore::MagickBooleanType;
283  using MagickCore::MagickFalse;
284  using MagickCore::MagickTrue;
285 
286  // Alpha channel types
287  using MagickCore::AlphaChannelType;
288  using MagickCore::UndefinedAlphaChannel;
289  using MagickCore::ActivateAlphaChannel;
290  using MagickCore::BackgroundAlphaChannel;
291  using MagickCore::CopyAlphaChannel;
292  using MagickCore::DeactivateAlphaChannel;
293  using MagickCore::ExtractAlphaChannel;
294  using MagickCore::OpaqueAlphaChannel;
295  using MagickCore::SetAlphaChannel;
296  using MagickCore::ShapeAlphaChannel;
297  using MagickCore::TransparentAlphaChannel;
298  using MagickCore::FlattenAlphaChannel;
299  using MagickCore::RemoveAlphaChannel;
300  using MagickCore::AssociateAlphaChannel;
301  using MagickCore::DisassociateAlphaChannel;
302 
303  // Image class types
304  using MagickCore::ClassType;
305  using MagickCore::UndefinedClass;
306  using MagickCore::DirectClass;
307  using MagickCore::PseudoClass;
308 
309  // Channel types
310  using MagickCore::ChannelType;
311  using MagickCore::UndefinedChannel;
312  using MagickCore::RedChannel;
313  using MagickCore::GrayChannel;
314  using MagickCore::CyanChannel;
315  using MagickCore::GreenChannel;
316  using MagickCore::MagentaChannel;
317  using MagickCore::BlueChannel;
318  using MagickCore::YellowChannel;
319  using MagickCore::AlphaChannel;
320  using MagickCore::OpacityChannel;
321  using MagickCore::MatteChannel; /* deprecated */
322  using MagickCore::BlackChannel;
323  using MagickCore::IndexChannel;
324  using MagickCore::CompositeChannels;
325  using MagickCore::AllChannels;
326  using MagickCore::TrueAlphaChannel;
327  using MagickCore::RGBChannels;
328  using MagickCore::GrayChannels;
329  using MagickCore::SyncChannels;
330  using MagickCore::DefaultChannels;
331 
332  // Color-space types
333  using MagickCore::ColorspaceType;
334  using MagickCore::UndefinedColorspace;
335  using MagickCore::CMYColorspace;
336  using MagickCore::CMYKColorspace;
337  using MagickCore::GRAYColorspace;
338  using MagickCore::HCLColorspace;
339  using MagickCore::HCLpColorspace;
340  using MagickCore::HSBColorspace;
341  using MagickCore::HSIColorspace;
342  using MagickCore::HSLColorspace;
343  using MagickCore::HSVColorspace;
344  using MagickCore::HWBColorspace;
345  using MagickCore::LabColorspace;
346  using MagickCore::LCHColorspace;
347  using MagickCore::LCHabColorspace;
348  using MagickCore::LCHuvColorspace;
349  using MagickCore::LogColorspace;
350  using MagickCore::LMSColorspace;
351  using MagickCore::LuvColorspace;
352  using MagickCore::OHTAColorspace;
353  using MagickCore::Rec601LumaColorspace;
354  using MagickCore::Rec601YCbCrColorspace;
355  using MagickCore::Rec709LumaColorspace;
356  using MagickCore::Rec709YCbCrColorspace;
357  using MagickCore::RGBColorspace;
358  using MagickCore::scRGBColorspace;
359  using MagickCore::sRGBColorspace;
360  using MagickCore::TransparentColorspace;
361  using MagickCore::XYZColorspace;
362  using MagickCore::YCbCrColorspace;
363  using MagickCore::YCCColorspace;
364  using MagickCore::YDbDrColorspace;
365  using MagickCore::YIQColorspace;
366  using MagickCore::YPbPrColorspace;
367  using MagickCore::YUVColorspace;
368  using MagickCore::xyYColorspace;
369 
370  // Command options
371  using MagickCore::CommandOption;
372  using MagickCore::MagickDirectionOptions;
373  using MagickCore::MagickGravityOptions;
374  using MagickCore::MagickKernelOptions;
375  using MagickCore::MagickStyleOptions;
376 
377  // Composition operations
378  using MagickCore::CompositeOperator;
379  using MagickCore::UndefinedCompositeOp;
380  using MagickCore::NoCompositeOp;
381  using MagickCore::ModulusAddCompositeOp;
382  using MagickCore::AtopCompositeOp;
383  using MagickCore::BlendCompositeOp;
384  using MagickCore::BumpmapCompositeOp;
385  using MagickCore::ChangeMaskCompositeOp;
386  using MagickCore::ClearCompositeOp;
387  using MagickCore::ColorBurnCompositeOp;
388  using MagickCore::ColorDodgeCompositeOp;
389  using MagickCore::ColorizeCompositeOp;
390  using MagickCore::CopyBlackCompositeOp;
391  using MagickCore::CopyBlueCompositeOp;
392  using MagickCore::CopyCompositeOp;
393  using MagickCore::CopyCyanCompositeOp;
394  using MagickCore::CopyGreenCompositeOp;
395  using MagickCore::CopyMagentaCompositeOp;
396  using MagickCore::CopyOpacityCompositeOp;
397  using MagickCore::CopyRedCompositeOp;
398  using MagickCore::CopyYellowCompositeOp;
399  using MagickCore::DarkenCompositeOp;
400  using MagickCore::DstAtopCompositeOp;
401  using MagickCore::DstCompositeOp;
402  using MagickCore::DstInCompositeOp;
403  using MagickCore::DstOutCompositeOp;
404  using MagickCore::DstOverCompositeOp;
405  using MagickCore::DifferenceCompositeOp;
406  using MagickCore::DisplaceCompositeOp;
407  using MagickCore::DissolveCompositeOp;
408  using MagickCore::ExclusionCompositeOp;
409  using MagickCore::HardLightCompositeOp;
410  using MagickCore::HardMixCompositeOp;
411  using MagickCore::HueCompositeOp;
412  using MagickCore::InCompositeOp;
413  using MagickCore::LightenCompositeOp;
414  using MagickCore::LinearLightCompositeOp;
415  using MagickCore::LuminizeCompositeOp;
416  using MagickCore::MinusDstCompositeOp;
417  using MagickCore::ModulateCompositeOp;
418  using MagickCore::MultiplyCompositeOp;
419  using MagickCore::OutCompositeOp;
420  using MagickCore::OverCompositeOp;
421  using MagickCore::OverlayCompositeOp;
422  using MagickCore::PlusCompositeOp;
423  using MagickCore::ReplaceCompositeOp;
424  using MagickCore::SaturateCompositeOp;
425  using MagickCore::ScreenCompositeOp;
426  using MagickCore::SoftLightCompositeOp;
427  using MagickCore::SrcAtopCompositeOp;
428  using MagickCore::SrcCompositeOp;
429  using MagickCore::SrcInCompositeOp;
430  using MagickCore::SrcOutCompositeOp;
431  using MagickCore::SrcOverCompositeOp;
432  using MagickCore::ModulusSubtractCompositeOp;
433  using MagickCore::ThresholdCompositeOp;
434  using MagickCore::XorCompositeOp;
435  using MagickCore::DivideDstCompositeOp;
436  using MagickCore::DistortCompositeOp;
437  using MagickCore::BlurCompositeOp;
438  using MagickCore::PegtopLightCompositeOp;
439  using MagickCore::VividLightCompositeOp;
440  using MagickCore::PinLightCompositeOp;
441  using MagickCore::LinearDodgeCompositeOp;
442  using MagickCore::LinearBurnCompositeOp;
443  using MagickCore::MathematicsCompositeOp;
444  using MagickCore::DivideSrcCompositeOp;
445  using MagickCore::MinusSrcCompositeOp;
446  using MagickCore::DarkenIntensityCompositeOp;
447  using MagickCore::LightenIntensityCompositeOp;
448  using MagickCore::AddCompositeOp;
449  using MagickCore::SubtractCompositeOp;
450  using MagickCore::MinusCompositeOp;
451  using MagickCore::DivideCompositeOp;
452 
453  // Compression algorithms
454  using MagickCore::CompressionType;
455  using MagickCore::UndefinedCompression;
456  using MagickCore::NoCompression;
457  using MagickCore::B44ACompression;
458  using MagickCore::B44Compression;
459  using MagickCore::BZipCompression;
460  using MagickCore::DXT1Compression;
461  using MagickCore::DXT3Compression;
462  using MagickCore::DXT5Compression;
463  using MagickCore::FaxCompression;
464  using MagickCore::Group4Compression;
465  using MagickCore::JBIG1Compression;
466  using MagickCore::JBIG2Compression;
467  using MagickCore::JPEG2000Compression;
468  using MagickCore::JPEGCompression;
469  using MagickCore::LosslessJPEGCompression;
470  using MagickCore::LZMACompression;
471  using MagickCore::LZWCompression;
472  using MagickCore::PizCompression;
473  using MagickCore::Pxr24Compression;
474  using MagickCore::RLECompression;
475  using MagickCore::WebPCompression;
476  using MagickCore::ZipCompression;
477  using MagickCore::ZipSCompression;
478  using MagickCore::ZstdCompression;
479 
480  // Decoration types
481  using MagickCore::DecorationType;
482  using MagickCore::UndefinedDecoration;
483  using MagickCore::NoDecoration;
484  using MagickCore::UnderlineDecoration;
485  using MagickCore::OverlineDecoration;
486  using MagickCore::LineThroughDecoration;
487 
488  // Direction types
489  using MagickCore::DirectionType;
490  using MagickCore::UndefinedDirection;
491  using MagickCore::RightToLeftDirection;
492  using MagickCore::LeftToRightDirection;
493 
494  // Dispose methods
495  using MagickCore::DisposeType;
496  using MagickCore::UndefinedDispose;
497  using MagickCore::NoneDispose;
498  using MagickCore::BackgroundDispose;
499  using MagickCore::PreviousDispose;
500 
501  // Distort methods
502  using MagickCore::DistortImageMethod;
503  using MagickCore::UndefinedDistortion;
504  using MagickCore::AffineDistortion;
505  using MagickCore::AffineProjectionDistortion;
506  using MagickCore::ScaleRotateTranslateDistortion;
507  using MagickCore::PerspectiveDistortion;
508  using MagickCore::PerspectiveProjectionDistortion;
509  using MagickCore::BilinearForwardDistortion;
510  using MagickCore::BilinearDistortion;
511  using MagickCore::BilinearReverseDistortion;
512  using MagickCore::PolynomialDistortion;
513  using MagickCore::ArcDistortion;
514  using MagickCore::PolarDistortion;
515  using MagickCore::DePolarDistortion;
516  using MagickCore::Cylinder2PlaneDistortion;
517  using MagickCore::Plane2CylinderDistortion;
518  using MagickCore::BarrelDistortion;
519  using MagickCore::BarrelInverseDistortion;
520  using MagickCore::ShepardsDistortion;
521  using MagickCore::ResizeDistortion;
522  using MagickCore::SentinelDistortion;
523 
524  // Dither methods
525  using MagickCore::DitherMethod;
526  using MagickCore::UndefinedDitherMethod;
527  using MagickCore::NoDitherMethod;
528  using MagickCore::RiemersmaDitherMethod;
529  using MagickCore::FloydSteinbergDitherMethod;
530 
531  // Endian options
532  using MagickCore::EndianType;
533  using MagickCore::UndefinedEndian;
534  using MagickCore::LSBEndian;
535  using MagickCore::MSBEndian;
536 
537  // Evaluate options
538  using MagickCore::MagickEvaluateOperator;
539  using MagickCore::UndefinedEvaluateOperator;
540  using MagickCore::AddEvaluateOperator;
541  using MagickCore::AndEvaluateOperator;
542  using MagickCore::DivideEvaluateOperator;
543  using MagickCore::LeftShiftEvaluateOperator;
544  using MagickCore::MaxEvaluateOperator;
545  using MagickCore::MinEvaluateOperator;
546  using MagickCore::MultiplyEvaluateOperator;
547  using MagickCore::OrEvaluateOperator;
548  using MagickCore::RightShiftEvaluateOperator;
549  using MagickCore::SetEvaluateOperator;
550  using MagickCore::SubtractEvaluateOperator;
551  using MagickCore::XorEvaluateOperator;
552  using MagickCore::PowEvaluateOperator;
553  using MagickCore::LogEvaluateOperator;
554  using MagickCore::ThresholdEvaluateOperator;
555  using MagickCore::ThresholdBlackEvaluateOperator;
556  using MagickCore::ThresholdWhiteEvaluateOperator;
557  using MagickCore::GaussianNoiseEvaluateOperator;
558  using MagickCore::ImpulseNoiseEvaluateOperator;
559  using MagickCore::LaplacianNoiseEvaluateOperator;
560  using MagickCore::MultiplicativeNoiseEvaluateOperator;
561  using MagickCore::PoissonNoiseEvaluateOperator;
562  using MagickCore::UniformNoiseEvaluateOperator;
563  using MagickCore::CosineEvaluateOperator;
564  using MagickCore::SineEvaluateOperator;
565  using MagickCore::AddModulusEvaluateOperator;
566  using MagickCore::MeanEvaluateOperator;
567  using MagickCore::AbsEvaluateOperator;
568  using MagickCore::ExponentialEvaluateOperator;
569  using MagickCore::MedianEvaluateOperator;
570  using MagickCore::SumEvaluateOperator;
571  using MagickCore::RootMeanSquareEvaluateOperator;
572 
573  // Fill rules
574  using MagickCore::FillRule;
575  using MagickCore::UndefinedRule;
576  using MagickCore::EvenOddRule;
577  using MagickCore::NonZeroRule;
578 
579  // Filter types
580  using MagickCore::FilterTypes;
581  using MagickCore::UndefinedFilter;
582  using MagickCore::PointFilter;
583  using MagickCore::BoxFilter;
584  using MagickCore::TriangleFilter;
585  using MagickCore::HermiteFilter;
586  using MagickCore::HanningFilter;
587  using MagickCore::HammingFilter;
588  using MagickCore::BlackmanFilter;
589  using MagickCore::GaussianFilter;
590  using MagickCore::QuadraticFilter;
591  using MagickCore::CubicFilter;
592  using MagickCore::CatromFilter;
593  using MagickCore::MitchellFilter;
594  using MagickCore::JincFilter;
595  using MagickCore::SincFilter;
596  using MagickCore::SincFastFilter;
597  using MagickCore::KaiserFilter;
598  using MagickCore::WelshFilter;
599  using MagickCore::ParzenFilter;
600  using MagickCore::BohmanFilter;
601  using MagickCore::BartlettFilter;
602  using MagickCore::LagrangeFilter;
603  using MagickCore::LanczosFilter;
604  using MagickCore::LanczosSharpFilter;
605  using MagickCore::Lanczos2Filter;
606  using MagickCore::Lanczos2SharpFilter;
607  using MagickCore::RobidouxFilter;
608  using MagickCore::RobidouxSharpFilter;
609  using MagickCore::CosineFilter;
610  using MagickCore::SplineFilter;
611  using MagickCore::LanczosRadiusFilter;
612  using MagickCore::SentinelFilter;
613 
614  // Bit gravity
615  using MagickCore::GravityType;
616  using MagickCore::UndefinedGravity;
617  using MagickCore::ForgetGravity;
618  using MagickCore::NorthWestGravity;
619  using MagickCore::NorthGravity;
620  using MagickCore::NorthEastGravity;
621  using MagickCore::WestGravity;
622  using MagickCore::CenterGravity;
623  using MagickCore::EastGravity;
624  using MagickCore::SouthWestGravity;
625  using MagickCore::SouthGravity;
626  using MagickCore::SouthEastGravity;
627  using MagickCore::StaticGravity;
628 
629  // Image types
630  using MagickCore::ImageType;
631  using MagickCore::UndefinedType;
632  using MagickCore::BilevelType;
633  using MagickCore::GrayscaleType;
634  using MagickCore::GrayscaleMatteType;
635  using MagickCore::PaletteType;
636  using MagickCore::PaletteMatteType;
637  using MagickCore::TrueColorType;
638  using MagickCore::TrueColorMatteType;
639  using MagickCore::ColorSeparationType;
640  using MagickCore::ColorSeparationMatteType;
641  using MagickCore::OptimizeType;
642  using MagickCore::PaletteBilevelMatteType;
643 
644  // Interlace types
645  using MagickCore::InterlaceType;
646  using MagickCore::UndefinedInterlace;
647  using MagickCore::NoInterlace;
648  using MagickCore::LineInterlace;
649  using MagickCore::PlaneInterlace;
650  using MagickCore::PartitionInterlace;
651  using MagickCore::GIFInterlace;
652  using MagickCore::JPEGInterlace;
653  using MagickCore::PNGInterlace;
654 
655  // Pixel interpolation methods
656  using MagickCore::InterpolatePixelMethod;
657  using MagickCore::UndefinedInterpolatePixel;
658  using MagickCore::AverageInterpolatePixel;
659  using MagickCore::BicubicInterpolatePixel;
660  using MagickCore::BilinearInterpolatePixel;
661  using MagickCore::FilterInterpolatePixel;
662  using MagickCore::IntegerInterpolatePixel;
663  using MagickCore::MeshInterpolatePixel;
664  using MagickCore::NearestNeighborInterpolatePixel;
665  using MagickCore::SplineInterpolatePixel;
666  using MagickCore::Average9InterpolatePixel;
667  using MagickCore::Average16InterpolatePixel;
668  using MagickCore::BlendInterpolatePixel;
669  using MagickCore::BackgroundInterpolatePixel;
670  using MagickCore::CatromInterpolatePixel;
671 
672  // Layer method
673  using MagickCore::ImageLayerMethod;
674  using MagickCore::UndefinedLayer;
675  using MagickCore::CoalesceLayer;
676  using MagickCore::CompareAnyLayer;
677  using MagickCore::CompareClearLayer;
678  using MagickCore::CompareOverlayLayer;
679  using MagickCore::DisposeLayer;
680  using MagickCore::OptimizeLayer;
681  using MagickCore::OptimizeImageLayer;
682  using MagickCore::OptimizePlusLayer;
683  using MagickCore::OptimizeTransLayer;
684  using MagickCore::RemoveDupsLayer;
685  using MagickCore::RemoveZeroLayer;
686  using MagickCore::CompositeLayer;
687  using MagickCore::MergeLayer;
688  using MagickCore::FlattenLayer;
689  using MagickCore::MosaicLayer;
690  using MagickCore::TrimBoundsLayer;
691 
692  // Built-in kernels
693  using MagickCore::KernelInfoType;
694  using MagickCore::UndefinedKernel;
695  using MagickCore::UnityKernel;
696  using MagickCore::GaussianKernel;
697  using MagickCore::DoGKernel;
698  using MagickCore::LoGKernel;
699  using MagickCore::BlurKernel;
700  using MagickCore::CometKernel;
701  using MagickCore::LaplacianKernel;
702  using MagickCore::SobelKernel;
703  using MagickCore::FreiChenKernel;
704  using MagickCore::RobertsKernel;
705  using MagickCore::PrewittKernel;
706  using MagickCore::CompassKernel;
707  using MagickCore::KirschKernel;
708  using MagickCore::DiamondKernel;
709  using MagickCore::SquareKernel;
710  using MagickCore::RectangleKernel;
711  using MagickCore::OctagonKernel;
712  using MagickCore::DiskKernel;
713  using MagickCore::PlusKernel;
714  using MagickCore::CrossKernel;
715  using MagickCore::RingKernel;
716  using MagickCore::PeaksKernel;
717  using MagickCore::EdgesKernel;
718  using MagickCore::CornersKernel;
719  using MagickCore::DiagonalsKernel;
720  using MagickCore::LineEndsKernel;
721  using MagickCore::LineJunctionsKernel;
722  using MagickCore::RidgesKernel;
723  using MagickCore::ConvexHullKernel;
724  using MagickCore::ThinSEKernel;
725  using MagickCore::SkeletonKernel;
726  using MagickCore::ChebyshevKernel;
727  using MagickCore::ManhattanKernel;
728  using MagickCore::OctagonalKernel;
729  using MagickCore::EuclideanKernel;
730  using MagickCore::UserDefinedKernel;
731  using MagickCore::BinomialKernel;
732 
733  // Line cap types
734  using MagickCore::LineCap;
735  using MagickCore::UndefinedCap;
736  using MagickCore::ButtCap;
737  using MagickCore::RoundCap;
738  using MagickCore::SquareCap;
739 
740  // Line join types
741  using MagickCore::LineJoin;
742  using MagickCore::UndefinedJoin;
743  using MagickCore::MiterJoin;
744  using MagickCore::RoundJoin;
745  using MagickCore::BevelJoin;
746 
747  // Log event types
748  using MagickCore::LogEventType;
749  using MagickCore::UndefinedEvents;
750  using MagickCore::NoEvents;
751  using MagickCore::TraceEvent;
752  using MagickCore::AnnotateEvent;
753  using MagickCore::BlobEvent;
754  using MagickCore::CacheEvent;
755  using MagickCore::CoderEvent;
756  using MagickCore::ConfigureEvent;
757  using MagickCore::DeprecateEvent;
758  using MagickCore::DrawEvent;
759  using MagickCore::ExceptionEvent;
760  using MagickCore::ImageEvent;
761  using MagickCore::LocaleEvent;
762  using MagickCore::ModuleEvent;
763  using MagickCore::PolicyEvent;
764  using MagickCore::ResourceEvent;
765  using MagickCore::TransformEvent;
766  using MagickCore::UserEvent;
767  using MagickCore::WandEvent;
768  using MagickCore::X11Event;
769  using MagickCore::AccelerateEvent;
770  using MagickCore::AllEvents;
771 
772  // Magick functions
773  using MagickCore::MagickFunction;
774  using MagickCore::UndefinedFunction;
775  using MagickCore::ArcsinFunction;
776  using MagickCore::ArctanFunction;
777  using MagickCore::PolynomialFunction;
778  using MagickCore::SinusoidFunction;
779 
780  // Metric types
781  using MagickCore::MetricType;
782  using MagickCore::UndefinedMetric;
783  using MagickCore::AbsoluteErrorMetric;
784  using MagickCore::MeanAbsoluteErrorMetric;
785  using MagickCore::MeanErrorPerPixelMetric;
786  using MagickCore::MeanSquaredErrorMetric;
787  using MagickCore::PeakAbsoluteErrorMetric;
788  using MagickCore::PeakSignalToNoiseRatioMetric;
789  using MagickCore::RootMeanSquaredErrorMetric;
790  using MagickCore::NormalizedCrossCorrelationErrorMetric;
791  using MagickCore::FuzzErrorMetric;
792  using MagickCore::UndefinedErrorMetric;
793  using MagickCore::PerceptualHashErrorMetric;
794 
795  // Morphology methods
796  using MagickCore::MorphologyMethod;
797  using MagickCore::UndefinedMorphology;
798  using MagickCore::ConvolveMorphology;
799  using MagickCore::CorrelateMorphology;
800  using MagickCore::ErodeMorphology;
801  using MagickCore::DilateMorphology;
802  using MagickCore::ErodeIntensityMorphology;
803  using MagickCore::DilateIntensityMorphology;
804  using MagickCore::DistanceMorphology;
805  using MagickCore::OpenMorphology;
806  using MagickCore::CloseMorphology;
807  using MagickCore::OpenIntensityMorphology;
808  using MagickCore::CloseIntensityMorphology;
809  using MagickCore::SmoothMorphology;
810  using MagickCore::EdgeInMorphology;
811  using MagickCore::EdgeOutMorphology;
812  using MagickCore::EdgeMorphology;
813  using MagickCore::TopHatMorphology;
814  using MagickCore::BottomHatMorphology;
815  using MagickCore::HitAndMissMorphology;
816  using MagickCore::ThinningMorphology;
817  using MagickCore::ThickenMorphology;
818  using MagickCore::VoronoiMorphology;
819  using MagickCore::IterativeDistanceMorphology;
820 
821  // Noise types
822  using MagickCore::NoiseType;
823  using MagickCore::UndefinedNoise;
824  using MagickCore::UniformNoise;
825  using MagickCore::GaussianNoise;
826  using MagickCore::MultiplicativeGaussianNoise;
827  using MagickCore::ImpulseNoise;
828  using MagickCore::LaplacianNoise;
829  using MagickCore::PoissonNoise;
830 
831  // Orientation types
832  using MagickCore::OrientationType;
833  using MagickCore::UndefinedOrientation;
834  using MagickCore::TopLeftOrientation;
835  using MagickCore::TopRightOrientation;
836  using MagickCore::BottomRightOrientation;
837  using MagickCore::BottomLeftOrientation;
838  using MagickCore::LeftTopOrientation;
839  using MagickCore::RightTopOrientation;
840  using MagickCore::RightBottomOrientation;
841  using MagickCore::LeftBottomOrientation;
842 
843  // Paint methods
844  using MagickCore::PaintMethod;
845  using MagickCore::UndefinedMethod;
846  using MagickCore::PointMethod;
847  using MagickCore::ReplaceMethod;
848  using MagickCore::FloodfillMethod;
849  using MagickCore::FillToBorderMethod;
850  using MagickCore::ResetMethod;
851 
852  // Pixel intensity method
853  using MagickCore::PixelIntensityMethod;
854  using MagickCore::UndefinedPixelIntensityMethod;
855  using MagickCore::AveragePixelIntensityMethod;
856  using MagickCore::BrightnessPixelIntensityMethod;
857  using MagickCore::LightnessPixelIntensityMethod;
858  using MagickCore::Rec601LumaPixelIntensityMethod;
859  using MagickCore::Rec601LuminancePixelIntensityMethod;
860  using MagickCore::Rec709LumaPixelIntensityMethod;
861  using MagickCore::Rec709LuminancePixelIntensityMethod;
862  using MagickCore::RMSPixelIntensityMethod;
863  using MagickCore::MSPixelIntensityMethod;
864 
865  // PixelPacket structure
866  using MagickCore::PixelPacket;
867 
868  // Preview types. Not currently used by Magick++
869  using MagickCore::PreviewType;
870  using MagickCore::UndefinedPreview;
871  using MagickCore::RotatePreview;
872  using MagickCore::ShearPreview;
873  using MagickCore::RollPreview;
874  using MagickCore::HuePreview;
875  using MagickCore::SaturationPreview;
876  using MagickCore::BrightnessPreview;
877  using MagickCore::GammaPreview;
878  using MagickCore::SpiffPreview;
879  using MagickCore::DullPreview;
880  using MagickCore::GrayscalePreview;
881  using MagickCore::QuantizePreview;
882  using MagickCore::DespecklePreview;
883  using MagickCore::ReduceNoisePreview;
884  using MagickCore::AddNoisePreview;
885  using MagickCore::SharpenPreview;
886  using MagickCore::BlurPreview;
887  using MagickCore::ThresholdPreview;
888  using MagickCore::EdgeDetectPreview;
889  using MagickCore::SpreadPreview;
890  using MagickCore::SolarizePreview;
891  using MagickCore::ShadePreview;
892  using MagickCore::RaisePreview;
893  using MagickCore::SegmentPreview;
894  using MagickCore::SwirlPreview;
895  using MagickCore::ImplodePreview;
896  using MagickCore::WavePreview;
897  using MagickCore::OilPaintPreview;
898  using MagickCore::CharcoalDrawingPreview;
899  using MagickCore::JPEGPreview;
900 
901  // Quantum types
902  using MagickCore::QuantumType;
903  using MagickCore::IndexQuantum;
904  using MagickCore::GrayQuantum;
905  using MagickCore::IndexAlphaQuantum;
906  using MagickCore::GrayAlphaQuantum;
907  using MagickCore::RedQuantum;
908  using MagickCore::CyanQuantum;
909  using MagickCore::GreenQuantum;
910  using MagickCore::YellowQuantum;
911  using MagickCore::BlueQuantum;
912  using MagickCore::MagentaQuantum;
913  using MagickCore::AlphaQuantum;
914  using MagickCore::BlackQuantum;
915  using MagickCore::RGBQuantum;
916  using MagickCore::RGBAQuantum;
917  using MagickCore::CMYKQuantum;
918 
919  // Rendering intents
920  using MagickCore::RenderingIntent;
921  using MagickCore::UndefinedIntent;
922  using MagickCore::SaturationIntent;
923  using MagickCore::PerceptualIntent;
924  using MagickCore::AbsoluteIntent;
925  using MagickCore::RelativeIntent;
926 
927  // Resource types
928  using MagickCore::ResourceType;
929  using MagickCore::AreaResource;
930  using MagickCore::DiskResource;
931  using MagickCore::FileResource;
932  using MagickCore::MapResource;
933  using MagickCore::MemoryResource;
934  using MagickCore::ThreadResource;
935  using MagickCore::TimeResource;
936  using MagickCore::ThrottleResource;
937  using MagickCore::WidthResource;
938  using MagickCore::HeightResource;
939  using MagickCore::ListLengthResource;
940 
941  // Resolution units
942  using MagickCore::ResolutionType;
943  using MagickCore::UndefinedResolution;
944  using MagickCore::PixelsPerInchResolution;
945  using MagickCore::PixelsPerCentimeterResolution;
946 
947  // IndexPacket type
948  using MagickCore::IndexPacket;
949 
950  // Sparse Color methods
951  using MagickCore::SparseColorMethod;
952  using MagickCore::UndefinedColorInterpolate;
953  using MagickCore::BarycentricColorInterpolate;
954  using MagickCore::BilinearColorInterpolate;
955  using MagickCore::PolynomialColorInterpolate;
956  using MagickCore::ShepardsColorInterpolate;
957  using MagickCore::VoronoiColorInterpolate;
958  using MagickCore::InverseColorInterpolate;
959  using MagickCore::ManhattanColorInterpolate;
960 
961  // Statistic type
962  using MagickCore::MedianStatistic;
963  using MagickCore::NonpeakStatistic;
964 
965  // StorageType type
966  using MagickCore::StorageType;
967  using MagickCore::UndefinedPixel;
968  using MagickCore::CharPixel;
969  using MagickCore::DoublePixel;
970  using MagickCore::FloatPixel;
971  using MagickCore::IntegerPixel;
972  using MagickCore::LongPixel;
973  using MagickCore::QuantumPixel;
974  using MagickCore::ShortPixel;
975 
976  // StretchType type
977  using MagickCore::StretchType;
978  using MagickCore::UndefinedStretch;
979  using MagickCore::NormalStretch;
980  using MagickCore::UltraCondensedStretch;
981  using MagickCore::ExtraCondensedStretch;
982  using MagickCore::CondensedStretch;
983  using MagickCore::SemiCondensedStretch;
984  using MagickCore::SemiExpandedStretch;
985  using MagickCore::ExpandedStretch;
986  using MagickCore::ExtraExpandedStretch;
987  using MagickCore::UltraExpandedStretch;
988  using MagickCore::AnyStretch;
989 
990  // StyleType type
991  using MagickCore::StyleType;
992  using MagickCore::UndefinedStyle;
993  using MagickCore::NormalStyle;
994  using MagickCore::ItalicStyle;
995  using MagickCore::ObliqueStyle;
996  using MagickCore::AnyStyle;
997 
998  // Virtual pixel methods
999  using MagickCore::VirtualPixelMethod;
1000  using MagickCore::UndefinedVirtualPixelMethod;
1001  using MagickCore::BackgroundVirtualPixelMethod;
1002  using MagickCore::DitherVirtualPixelMethod;
1003  using MagickCore::EdgeVirtualPixelMethod;
1004  using MagickCore::MirrorVirtualPixelMethod;
1005  using MagickCore::RandomVirtualPixelMethod;
1006  using MagickCore::TileVirtualPixelMethod;
1007  using MagickCore::TransparentVirtualPixelMethod;
1008  using MagickCore::MaskVirtualPixelMethod;
1009  using MagickCore::BlackVirtualPixelMethod;
1010  using MagickCore::GrayVirtualPixelMethod;
1011  using MagickCore::WhiteVirtualPixelMethod;
1012  using MagickCore::HorizontalTileVirtualPixelMethod;
1013  using MagickCore::VerticalTileVirtualPixelMethod;
1014  using MagickCore::HorizontalTileEdgeVirtualPixelMethod;
1015  using MagickCore::VerticalTileEdgeVirtualPixelMethod;
1016  using MagickCore::CheckerTileVirtualPixelMethod;
1017 
1018 #if defined(MAGICKCORE_IMPLEMENTATION)
1019  //
1020  // ImageMagick symbols used in implementation code
1021  //
1022  using MagickCore::AcquireExceptionInfo;
1023  using MagickCore::AcquireCacheView;
1024  using MagickCore::AcquireDrawingWand;
1025  using MagickCore::AcquireImage;
1026  using MagickCore::AcquireKernelInfo;
1027  using MagickCore::AcquireMagickMemory;
1028  using MagickCore::AcquireQuantumInfo;
1029  using MagickCore::AcquireString;
1030  using MagickCore::AcquireStringInfo;
1031  using MagickCore::AcquireVirtualCacheView;
1032  using MagickCore::AdaptiveBlurImage;
1033  using MagickCore::AdaptiveResizeImage;
1034  using MagickCore::AdaptiveSharpenImage;
1035  using MagickCore::AdaptiveSharpenImageChannel;
1036  using MagickCore::AdaptiveThresholdImage;
1037  using MagickCore::AddNoiseImage;
1038  using MagickCore::AddNoiseImageChannel;
1039  using MagickCore::AffineMatrix;
1040  using MagickCore::AffineTransformImage;
1041  using MagickCore::AnnotateImage;
1042  using MagickCore::AreaValue;
1043  using MagickCore::AspectValue;
1044  using MagickCore::AutoGammaImage;
1045  using MagickCore::AutoGammaImageChannel;
1046  using MagickCore::AutoLevelImage;
1047  using MagickCore::AutoLevelImageChannel;
1048  using MagickCore::AutoOrientImage;
1049  using MagickCore::Base64Decode;
1050  using MagickCore::Base64Encode;
1051  using MagickCore::BilevelImage;
1052  using MagickCore::BlackThresholdImage;
1053  using MagickCore::BlackThresholdImageChannel;
1054  using MagickCore::BlobError;
1055  using MagickCore::BlobFatalError;
1056  using MagickCore::BlobToImage;
1057  using MagickCore::BlobWarning;
1058  using MagickCore::BlueShiftImage;
1059  using MagickCore::BlurImage;
1060  using MagickCore::BlurImageChannel;
1061  using MagickCore::BorderImage;
1062  using MagickCore::BrightnessContrastImage;
1063  using MagickCore::BrightnessContrastImageChannel;
1064  using MagickCore::CacheError;
1065  using MagickCore::CacheFatalError;
1066  using MagickCore::CacheWarning;
1067  using MagickCore::CannyEdgeImage;
1068  using MagickCore::CharcoalImage;
1069  using MagickCore::ChopImage;
1070  using MagickCore::ClampImage;
1071  using MagickCore::ClampImageChannel;
1072  using MagickCore::ClearMagickException;
1073  using MagickCore::CloneDrawInfo;
1074  using MagickCore::CloneImage;
1075  using MagickCore::CloneImageInfo;
1076  using MagickCore::CloneQuantizeInfo;
1077  using MagickCore::ClutImage;
1078  using MagickCore::ClutImageChannel;
1079  using MagickCore::CoderError;
1080  using MagickCore::CoderFatalError;
1081  using MagickCore::CoderWarning;
1082  using MagickCore::CopyImagePixels;
1083  using MagickCore::ColorDecisionListImage;
1084  using MagickCore::ColorizeImage;
1085  using MagickCore::ColorMatrixImage;
1086  using MagickCore::ColorPacket;
1087  using MagickCore::CommandOptionToMnemonic;
1088  using MagickCore::CompareImageChannels;
1089  using MagickCore::CompareImages;
1090  using MagickCore::CompositeImage;
1091  using MagickCore::ConfigureError;
1092  using MagickCore::ConfigureFatalError;
1093  using MagickCore::ConfigureWarning;
1094  using MagickCore::ConnectedComponentsImage;
1095  using MagickCore::ConstituteImage;
1096  using MagickCore::ContrastImage;
1097  using MagickCore::ContrastStretchImageChannel;
1098  using MagickCore::ConvertHSLToRGB;
1099  using MagickCore::ConvertRGBToHSL;
1100  using MagickCore::ConvolveImage;
1101  using MagickCore::CopyMagickString;
1102  using MagickCore::CorruptImageError;
1103  using MagickCore::CorruptImageFatalError;
1104  using MagickCore::CorruptImageWarning;
1105  using MagickCore::CropImage;
1106  using MagickCore::CropImageToTiles;
1107  using MagickCore::CycleColormapImage;
1108  using MagickCore::DeconstructImages;
1109  using MagickCore::DecipherImage;
1110  using MagickCore::DelegateError;
1111  using MagickCore::DelegateFatalError;
1112  using MagickCore::DelegateWarning;
1113  using MagickCore::DeleteImageOption;
1114  using MagickCore::DeleteImageRegistry;
1115  using MagickCore::DeskewImage;
1116  using MagickCore::DespeckleImage;
1117  using MagickCore::DestroyCacheView;
1118  using MagickCore::DestroyDrawInfo;
1119  using MagickCore::DestroyDrawingWand;
1120  using MagickCore::DestroyExceptionInfo;
1121  using MagickCore::DestroyImageInfo;
1122  using MagickCore::DestroyImageList;
1123  using MagickCore::DestroyKernelInfo;
1124  using MagickCore::DestroyMagickWand;
1125  using MagickCore::DestroyPixelWand;
1126  using MagickCore::DestroyQuantizeInfo;
1127  using MagickCore::DestroyQuantumInfo;
1128  using MagickCore::DestroyString;
1129  using MagickCore::DestroyStringInfo;
1130  using MagickCore::DisplayImages;
1131  using MagickCore::DistortImage;
1132  using MagickCore::DrawAffine;
1133  using MagickCore::DrawAnnotation;
1134  using MagickCore::DrawArc;
1135  using MagickCore::DrawBezier;
1136  using MagickCore::DrawCircle;
1137  using MagickCore::DrawColor;
1138  using MagickCore::DrawComment;
1139  using MagickCore::DrawComposite;
1140  using MagickCore::DrawEllipse;
1141  using MagickCore::DrawError;
1142  using MagickCore::DrawFatalError;
1143  using MagickCore::DrawImage;
1144  using MagickCore::DrawInfo;
1145  using MagickCore::DrawingWand;
1146  using MagickCore::DrawLine;
1147  using MagickCore::DrawMatte;
1148  using MagickCore::DrawPathClose;
1149  using MagickCore::DrawPathCurveToAbsolute;
1150  using MagickCore::DrawPathCurveToQuadraticBezierAbsolute;
1151  using MagickCore::DrawPathCurveToQuadraticBezierRelative;
1152  using MagickCore::DrawPathCurveToQuadraticBezierSmoothAbsolute;
1153  using MagickCore::DrawPathCurveToQuadraticBezierSmoothRelative;
1154  using MagickCore::DrawPathCurveToRelative;
1155  using MagickCore::DrawPathCurveToSmoothAbsolute;
1156  using MagickCore::DrawPathCurveToSmoothRelative;
1157  using MagickCore::DrawPathEllipticArcAbsolute;
1158  using MagickCore::DrawPathEllipticArcRelative;
1159  using MagickCore::DrawPathFinish;
1160  using MagickCore::DrawPathLineToAbsolute;
1161  using MagickCore::DrawPathLineToHorizontalAbsolute;
1162  using MagickCore::DrawPathLineToHorizontalRelative;
1163  using MagickCore::DrawPathLineToRelative;
1164  using MagickCore::DrawPathLineToVerticalAbsolute;
1165  using MagickCore::DrawPathLineToVerticalRelative;
1166  using MagickCore::DrawPathMoveToAbsolute;
1167  using MagickCore::DrawPathMoveToRelative;
1168  using MagickCore::DrawPathStart;
1169  using MagickCore::DrawPoint;
1170  using MagickCore::DrawPolygon;
1171  using MagickCore::DrawPolyline;
1172  using MagickCore::DrawPopClipPath;
1173  using MagickCore::DrawPopDefs;
1174  using MagickCore::DrawPopPattern;
1175  using MagickCore::DrawPushClipPath;
1176  using MagickCore::DrawPushDefs;
1177  using MagickCore::DrawPushPattern;
1178  using MagickCore::DrawRectangle;
1179  using MagickCore::DrawRender;
1180  using MagickCore::DrawRotate;
1181  using MagickCore::DrawRoundRectangle;
1182  using MagickCore::DrawScale;
1183  using MagickCore::DrawSetClipPath;
1184  using MagickCore::DrawSetClipRule;
1185  using MagickCore::DrawSetClipUnits;
1186  using MagickCore::DrawSetFillColor;
1187  using MagickCore::DrawSetFillOpacity;
1188  using MagickCore::DrawSetFillPatternURL;
1189  using MagickCore::DrawSetFillRule;
1190  using MagickCore::DrawSetFont;
1191  using MagickCore::DrawSetFontFamily;
1192  using MagickCore::DrawSetFontSize;
1193  using MagickCore::DrawSetFontStretch;
1194  using MagickCore::DrawSetFontStyle;
1195  using MagickCore::DrawSetFontWeight;
1196  using MagickCore::DrawSetGravity;
1197  using MagickCore::DrawSetStrokeAntialias;
1198  using MagickCore::DrawSetStrokeColor;
1199  using MagickCore::DrawSetStrokeDashArray;
1200  using MagickCore::DrawSetStrokeDashOffset;
1201  using MagickCore::DrawSetStrokeLineCap;
1202  using MagickCore::DrawSetStrokeLineJoin;
1203  using MagickCore::DrawSetStrokeMiterLimit;
1204  using MagickCore::DrawSetStrokeOpacity;
1205  using MagickCore::DrawSetStrokePatternURL;
1206  using MagickCore::DrawSetStrokeWidth;
1207  using MagickCore::DrawSetTextAntialias;
1208  using MagickCore::DrawSetTextDecoration;
1209  using MagickCore::DrawSetTextEncoding;
1210  using MagickCore::DrawSetTextInterlineSpacing;
1211  using MagickCore::DrawSetTextInterwordSpacing;
1212  using MagickCore::DrawSetTextKerning;
1213  using MagickCore::DrawSetTextUnderColor;
1214  using MagickCore::DrawSetViewbox;
1215  using MagickCore::DrawSkewX;
1216  using MagickCore::DrawSkewY;
1217  using MagickCore::DrawTranslate;
1218  using MagickCore::DrawWarning;
1219  using MagickCore::EdgeImage;
1220  using MagickCore::EmbossImage;
1221  using MagickCore::EncipherImage;
1222  using MagickCore::EnhanceImage;
1223  using MagickCore::EqualizeImage;
1224  using MagickCore::EvaluateImage;
1225  using MagickCore::EvaluateImageChannel;
1226  using MagickCore::ExceptionInfo;
1227  using MagickCore::ExceptionType;
1228  using MagickCore::ExportImagePixels;
1229  using MagickCore::ExportQuantumPixels;
1230  using MagickCore::ExtentImage;
1231  using MagickCore::FileOpenError;
1232  using MagickCore::FileOpenFatalError;
1233  using MagickCore::FileOpenWarning;
1234  using MagickCore::FlipImage;
1235  using MagickCore::FloodfillPaintImage;
1236  using MagickCore::FlopImage;
1237  using MagickCore::FormatLocaleString;
1238  using MagickCore::ForwardFourierTransformImage;
1239  using MagickCore::FrameImage;
1240  using MagickCore::FrameInfo;
1241  using MagickCore::FxImageChannel;
1242  using MagickCore::GammaImage;
1243  using MagickCore::GammaImage;
1244  using MagickCore::GaussianBlurImage;
1245  using MagickCore::GaussianBlurImageChannel;
1246  using MagickCore::GetAffineMatrix;
1247  using MagickCore::GetAuthenticIndexQueue;
1248  using MagickCore::GetBlobSize;
1249  using MagickCore::GetCacheViewException;
1250  using MagickCore::GetCacheViewAuthenticIndexQueue;
1251  using MagickCore::GetCacheViewAuthenticPixels;
1252  using MagickCore::GetCacheViewVirtualPixels;
1253  using MagickCore::GetClientName;
1254  using MagickCore::GetColorTuple;
1255  using MagickCore::GetDrawInfo;
1256  using MagickCore::GetGeometry;
1257  using MagickCore::GetImageArtifact;
1258  using MagickCore::GetImageBoundingBox;
1259  using MagickCore::GetImageChannelDistortion;
1260  using MagickCore::GetImageChannelDepth;
1261  using MagickCore::GetImageChannelMean;
1262  using MagickCore::GetImageChannelKurtosis;
1263  using MagickCore::GetImageChannelMoments;
1264  using MagickCore::GetImageChannelRange;
1265  using MagickCore::GetImageClipMask;
1266  using MagickCore::GetImageDepth;
1267  using MagickCore::GetImageDistortion;
1268  using MagickCore::GetImageInfo;
1269  using MagickCore::GetImageInfoFile;
1270  using MagickCore::GetImageMask;
1271  using MagickCore::GetImageOption;
1272  using MagickCore::GetAuthenticPixels;
1273  using MagickCore::GetImageProfile;
1274  using MagickCore::GetImageProperty;
1275  using MagickCore::GetImageQuantizeError;
1276  using MagickCore::GetImageType;
1277  using MagickCore::GetMagickInfo;
1278  using MagickCore::GetMagickPixelPacket;
1279  using MagickCore::GetMultilineTypeMetrics;
1280  using MagickCore::GetNextValueInLinkedList;
1281  using MagickCore::GetNumberColors;
1282  using MagickCore::GetNumberOfElementsInLinkedList;
1283  using MagickCore::GetPageGeometry;
1284  using MagickCore::GetQuantizeInfo;
1285  using MagickCore::GetStringInfoDatum;
1286  using MagickCore::GetStringInfoLength;
1287  using MagickCore::GetTypeMetrics;
1288  using MagickCore::GetValueFromLinkedList;
1289  using MagickCore::GetVirtualIndexQueue;
1290  using MagickCore::GetVirtualPixels;
1291  using MagickCore::GetImageVirtualPixelMethod;
1292  using MagickCore::GlobExpression;
1293  using MagickCore::GravityAdjustGeometry;
1294  using MagickCore::GrayscaleImage;
1295  using MagickCore::GreaterValue;
1296  using MagickCore::HaldClutImage;
1297  using MagickCore::HeightValue;
1298  using MagickCore::HoughLineImage;
1299  using MagickCore::ImageError;
1300  using MagickCore::ImageFatalError;
1301  using MagickCore::ImageInfo;
1302  using MagickCore::ImageRegistryType;
1303  using MagickCore::ImageToBlob;
1304  using MagickCore::ImagesToBlob;
1305  using MagickCore::ImageWarning;
1306  using MagickCore::ImplodeImage;
1307  using MagickCore::ImportQuantumPixels;
1308  using MagickCore::InterpretImageProperties;
1309  using MagickCore::InverseFourierTransformImage;
1310  using MagickCore::InvokeDynamicImageFilter;
1311  using MagickCore::IsEventLogging;
1312  using MagickCore::IsGeometry;
1313  using MagickCore::IsImagesEqual;
1314  using MagickCore::IsOpaqueImage;
1315  using MagickCore::KernelInfo;
1316  using MagickCore::KuwaharaImage;
1317  using MagickCore::LessValue;
1318  using MagickCore::LevelImage;
1319  using MagickCore::LevelImageChannel;
1320  using MagickCore::LevelColorsImageChannel;
1321  using MagickCore::LevelizeImage;
1322  using MagickCore::LevelizeImageChannel;
1323  using MagickCore::LinearStretchImage;
1324  using MagickCore::LinkedListInfo;
1325  using MagickCore::LiquidRescaleImage;
1326  using MagickCore::LocaleCompare;
1327  using MagickCore::LocalContrastImage;
1328  using MagickCore::LockSemaphoreInfo;
1329  using MagickCore::LogMagickEvent;
1330  using MagickCore::MagickCoreTerminus;
1331  using MagickCore::MagickInfo;
1332  using MagickCore::MagickPixelPacket;
1333  using MagickCore::MagickToMime;
1334  using MagickCore::MagickWand;
1335  using MagickCore::MagnifyImage;
1336  using MagickCore::MergeImageLayers;
1337  using MagickCore::MinifyImage;
1338  using MagickCore::MinimumValue;
1339  using MagickCore::MissingDelegateError;
1340  using MagickCore::MissingDelegateFatalError;
1341  using MagickCore::MissingDelegateWarning;
1342  using MagickCore::ModulateImage;
1343  using MagickCore::ModuleError;
1344  using MagickCore::ModuleFatalError;
1345  using MagickCore::ModuleWarning;
1346  using MagickCore::MonitorError;
1347  using MagickCore::MonitorFatalError;
1348  using MagickCore::MonitorWarning;
1349  using MagickCore::MontageInfo;
1350  using MagickCore::MorphologyImage;
1351  using MagickCore::MorphologyImageChannel;
1352  using MagickCore::MotionBlurImage;
1353  using MagickCore::NegateImage;
1354  using MagickCore::NegateImageChannel;
1355  using MagickCore::NewMagickWandFromImage;
1356  using MagickCore::NewPixelWand;
1357  using MagickCore::NoiseType;
1358  using MagickCore::NormalizeImage;
1359  using MagickCore::NoValue;
1360  using MagickCore::OffsetInfo;
1361  using MagickCore::OilPaintImage;
1362  using MagickCore::OpaquePaintImage;
1363  using MagickCore::OrderedPosterizeImage;
1364  using MagickCore::OptionError;
1365  using MagickCore::OptionFatalError;
1366  using MagickCore::OptionWarning;
1367  using MagickCore::OptimizeImageLayers;
1368  using MagickCore::OptimizeImageTransparency;
1369  using MagickCore::OptimizePlusImageLayers;
1370  using MagickCore::ParseMetaGeometry;
1371  using MagickCore::PercentValue;
1372  using MagickCore::PerceptibleImage;
1373  using MagickCore::PerceptibleImageChannel;
1374  using MagickCore::PingBlob;
1375  using MagickCore::PingImage;
1376  using MagickCore::PixelSetQuantumColor;
1377  using MagickCore::PixelWand;
1378  using MagickCore::PointInfo;
1379  using MagickCore::PopDrawingWand;
1380  using MagickCore::PolaroidImage;
1381  using MagickCore::PolicyWarning;
1382  using MagickCore::PolicyError;
1383  using MagickCore::PolicyFatalError;
1384  using MagickCore::PosterizeImage;
1385  using MagickCore::PosterizeImageChannel;
1386  using MagickCore::ProfileImage;
1387  using MagickCore::ProfileInfo;
1388  using MagickCore::PushDrawingWand;
1389  using MagickCore::QuantizeImage;
1390  using MagickCore::QuantizeInfo;
1391  using MagickCore::QuantumInfo;
1392  using MagickCore::QueryColorDatabase;
1393  using MagickCore::QueryMagickColor;
1394  using MagickCore::QueueAuthenticPixels;
1395  using MagickCore::QueueCacheViewAuthenticPixels;
1396  using MagickCore::RaiseImage;
1397  using MagickCore::RandomThresholdImageChannel;
1398  using MagickCore::ReadImage;
1399  using MagickCore::RectangleInfo;
1400  using MagickCore::RegisterMagickInfo;
1401  using MagickCore::RegistryError;
1402  using MagickCore::RegistryFatalError;
1403  using MagickCore::RegistryType;
1404  using MagickCore::RegistryWarning;
1405  using MagickCore::RelinquishMagickMemory;
1406  using MagickCore::RemapImage;
1407  using MagickCore::ResampleImage;
1408  using MagickCore::ResetLinkedListIterator;
1409  using MagickCore::ResizeImage;
1410  using MagickCore::ResizeMagickMemory;
1411  using MagickCore::ResourceLimitError;
1412  using MagickCore::ResourceLimitFatalError;
1413  using MagickCore::ResourceLimitWarning;
1414  using MagickCore::RollImage;
1415  using MagickCore::RotateImage;
1416  using MagickCore::RotationalBlurImage;
1417  using MagickCore::RotationalBlurImageChannel;
1418  using MagickCore::SampleImage;
1419  using MagickCore::ScaleImage;
1420  using MagickCore::SegmentImage;
1421  using MagickCore::SelectiveBlurImage;
1422  using MagickCore::SelectiveBlurImageChannel;
1423  using MagickCore::SeparateImageChannel;
1424  using MagickCore::SepiaToneImage;
1425  using MagickCore::SetGeometry;
1426  using MagickCore::SetImageAlphaChannel;
1427  using MagickCore::SetImageArtifact;
1428  using MagickCore::SetImageBackgroundColor;
1429  using MagickCore::SetImageChannelDepth;
1430  using MagickCore::SetImageClipMask;
1431  using MagickCore::SetImageColorspace;
1432  using MagickCore::SetImageDepth;
1433  using MagickCore::SetImageExtent;
1434  using MagickCore::SetImageInfo;
1435  using MagickCore::SetImageInfoFile;
1436  using MagickCore::SetImageMask;
1437  using MagickCore::SetImageOpacity;
1438  using MagickCore::SetImageOption;
1439  using MagickCore::SetImageProfile;
1440  using MagickCore::SetImageProperty;
1441  using MagickCore::SetImageRegistry;
1442  using MagickCore::SetImageType;
1443  using MagickCore::SetLogEventMask;
1444  using MagickCore::SetMagickInfo;
1445  using MagickCore::SetMagickResourceLimit;
1446  using MagickCore::SetStringInfoDatum;
1447  using MagickCore::SetImageVirtualPixelMethod;
1448  using MagickCore::ShadeImage;
1449  using MagickCore::ShadowImage;
1450  using MagickCore::SharpenImage;
1451  using MagickCore::SharpenImageChannel;
1452  using MagickCore::ShaveImage;
1453  using MagickCore::ShearImage;
1454  using MagickCore::SimilarityMetricImage;
1455  using MagickCore::SigmoidalContrastImageChannel;
1456  using MagickCore::SignatureImage;
1457  using MagickCore::SketchImage;
1458  using MagickCore::SmushImages;
1459  using MagickCore::SolarizeImage;
1460  using MagickCore::SparseColorImage;
1461  using MagickCore::SpliceImage;
1462  using MagickCore::SpreadImage;
1463  using MagickCore::StatisticImage;
1464  using MagickCore::SteganoImage;
1465  using MagickCore::StereoImage;
1466  using MagickCore::StreamError;
1467  using MagickCore::StreamFatalError;
1468  using MagickCore::StreamWarning;
1469  using MagickCore::StringInfo;
1470  using MagickCore::StripImage;
1471  using MagickCore::SwirlImage;
1472  using MagickCore::SyncCacheViewAuthenticPixels;
1473  using MagickCore::SyncImage;
1474  using MagickCore::SyncAuthenticPixels;
1475  using MagickCore::TextureImage;
1476  using MagickCore::ThrowException;
1477  using MagickCore::TintImage;
1478  using MagickCore::TransformImage;
1479  using MagickCore::TransformImageColorspace;
1480  using MagickCore::TransparentPaintImage;
1481  using MagickCore::TransparentPaintImageChroma;
1482  using MagickCore::TransposeImage;
1483  using MagickCore::TransverseImage;
1484  using MagickCore::TrimImage;
1485  using MagickCore::TypeError;
1486  using MagickCore::TypeFatalError;
1487  using MagickCore::TypeWarning;
1488  using MagickCore::UndefinedException;
1489  using MagickCore::UndefinedRegistryType;
1490  using MagickCore::UniqueImageColors;
1491  using MagickCore::UnlockSemaphoreInfo;
1492  using MagickCore::UnregisterMagickInfo;
1493  using MagickCore::UnsharpMaskImage;
1494  using MagickCore::UnsharpMaskImageChannel;
1495  using MagickCore::VignetteImage;
1496  using MagickCore::CacheView;
1497  using MagickCore::WaveImage;
1498  using MagickCore::WaveletDenoiseImage;
1499  using MagickCore::WhiteThresholdImage;
1500  using MagickCore::WhiteThresholdImageChannel;
1501  using MagickCore::WidthValue;
1502  using MagickCore::WriteImage;
1503  using MagickCore::XNegative;
1504  using MagickCore::XServerError;
1505  using MagickCore::XServerFatalError;
1506  using MagickCore::XServerWarning;
1507  using MagickCore::XValue;
1508  using MagickCore::YNegative;
1509  using MagickCore::YValue;
1510 
1511 #endif // MAGICKCORE_IMPLEMENTATION
1512 
1513 }
1514 
1516 //
1517 // No user-serviceable parts beyond this point
1518 //
1520 #define GetPPException \
1521  MagickCore::ExceptionInfo \
1522  *exceptionInfo; \
1523  exceptionInfo=MagickCore::AcquireExceptionInfo()
1524 #define ThrowPPException(quiet) \
1525  throwException(exceptionInfo,quiet); \
1526  (void) MagickCore::DestroyExceptionInfo(exceptionInfo)
1527 
1528 #endif // Magick_Include_header