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