/* [<][>][^][v][top][bottom][index][help] */
// This may look like C code, but it is really -*- C++ -*-
//
// Copyright Bob Friesenhahn, 1999, 2000, 2001, 2002
// Copyright Dirk Lemstra 2013-2015
//
// Inclusion of ImageMagick headers (with namespace magic)
#ifndef Magick_Include_header
#define Magick_Include_header
#if !defined(_MAGICK_CONFIG_H)
# define _MAGICK_CONFIG_H
# if !defined(vms) && !defined(macintosh)
# include "magick/magick-config.h"
# else
# include "magick-config.h"
# endif
# undef inline // Remove possible definition from config.h
# undef class
#endif
// Needed for stdio FILE
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <time.h>
#include <math.h>
#include <sys/types.h>
#if defined(__BORLANDC__)
# include <vcl.h> /* Borland C++ Builder 4.0 requirement */
#endif // defined(__BORLANDC__)
//
// Include ImageMagick headers into namespace "MagickCore". If
// MAGICKCORE_IMPLEMENTATION is defined, include ImageMagick development
// headers. This scheme minimizes the possibility of conflict with
// user code.
//
namespace MagickCore
{
#include <magick/MagickCore.h>
#include <wand/MagickWand.h>
#undef inline // Remove possible definition from config.h
#undef class
}
//
// Provide appropriate DLL imports/exports for Visual C++,
// Borland C++Builder and MinGW builds.
//
#if defined(WIN32) && !defined(__CYGWIN__) && !defined(__MINGW32__)
# define MagickCplusPlusDLLSupported
#endif
#if defined(MagickCplusPlusDLLSupported)
# if defined(_MT) && defined(_DLL) && !defined(_LIB) && !defined(STATIC_MAGICK)
//
// In a native Windows build, the following defines are used:
//
// _MT = Multithreaded
// _DLL = Using code is part of a DLL
// _LIB = Using code is being built as a library.
// _MAGICKMOD_ = Build uses loadable modules (Magick++ does not care about this)
//
// In the case where ImageMagick is built as a static library but the
// using code is dynamic, STATIC_MAGICK may be defined in the project to
// override triggering dynamic library behavior.
//
# if defined(_VISUALC_)
# define MagickDLLExplicitTemplate
# pragma warning( disable: 4273 ) /* Disable the stupid dll linkage warnings */
# pragma warning( disable: 4251 )
# endif
# if !defined(MAGICKCORE_IMPLEMENTATION)
# if defined(__GNUC__)
# define MagickPPExport __attribute__ ((dllimport))
# else
# define MagickPPExport __declspec(dllimport)
# endif
# define MagickPPPrivate extern __declspec(dllimport)
# if defined(_VISUALC_)
# pragma message( "Magick++ lib DLL import" )
# endif
# else
# if defined(__BORLANDC__) || defined(__MINGW32__)
# define MagickPPExport __declspec(dllexport)
# define MagickPPPrivate __declspec(dllexport)
# if defined(__BORLANDC__)
# pragma message( "BCBMagick++ lib DLL export" )
# endif
# else
# if defined(__GNUC__)
# define MagickPPExport __attribute__ ((dllexport))
# else
# define MagickPPExport __declspec(dllexport)
# endif
# define MagickPPPrivate extern __declspec(dllexport)
# endif
# if defined(_VISUALC_)
# pragma message( "Magick++ lib DLL export" )
# endif
# endif
# else
# define MagickPPExport
# define MagickPPPrivate
# if defined(_VISUALC_)
# pragma message( "Magick++ lib static interface" )
# endif
# if defined(_MSC_VER) && defined(STATIC_MAGICK) && !defined(NOAUTOLINK_MAGICK)
# if defined(_DEBUG)
# if defined(MAGICKCORE_BZLIB_DELEGATE)
# pragma comment(lib, "CORE_DB_bzlib_.lib")
# endif
# pragma comment(lib, "CORE_DB_coders_.lib")
# if defined(MAGICKCORE_OPENEXR_DELEGATE)
# pragma comment(lib, "CORE_DB_exr_.lib")
# endif
# if defined(MAGICKCORE_LQR_DELEGATE)
# pragma comment(lib, "CORE_DB_ffi_.lib")
# endif
# pragma comment(lib, "CORE_DB_filters_.lib")
# if defined(MAGICKCORE_LQR_DELEGATE)
# pragma comment(lib, "CORE_DB_glib_.lib")
# pragma comment(lib, "winmm.lib")
# endif
# if defined(MAGICKCORE_JBIG_DELEGATE)
# pragma comment(lib, "CORE_DB_jbig_.lib")
# endif
# if defined(MAGICKCORE_JP2_DELEGATE)
# pragma comment(lib, "CORE_DB_jp2_.lib")
# endif
# if defined(MAGICKCORE_JPEG_DELEGATE)
# pragma comment(lib, "CORE_DB_jpeg_.lib")
# endif
# if defined(MAGICKCORE_LCMS_DELEGATE)
# pragma comment(lib, "CORE_DB_lcms_.lib")
# endif
# if defined(MAGICKCORE_LIBOPENJP2_DELEGATE)
# pragma comment(lib, "CORE_DB_openjpeg_.lib")
# endif
# pragma comment(lib, "CORE_DB_libxml_.lib")
# if defined(MAGICKCORE_LQR_DELEGATE)
# pragma comment(lib, "CORE_DB_lqr_.lib")
# endif
# pragma comment(lib, "CORE_DB_magick_.lib")
# pragma comment(lib, "CORE_DB_Magick++_.lib")
# if defined(MAGICKCORE_PANGOCAIRO_DELEGATE)
# pragma comment(lib, "CORE_DB_cairo_.lib")
# pragma comment(lib, "CORE_DB_pango_.lib")
# pragma comment(lib, "CORE_DB_pixman_.lib")
# endif
# if defined(MAGICKCORE_PNG_DELEGATE)
# pragma comment(lib, "CORE_DB_png_.lib")
# endif
# if defined(MAGICKCORE_RSVG_DELEGATE)
# pragma comment(lib, "CORE_DB_croco_.lib")
# pragma comment(lib, "CORE_DB_librsvg_.lib")
# endif
# if defined(MAGICKCORE_TIFF_DELEGATE)
# pragma comment(lib, "CORE_DB_tiff_.lib")
# endif
# if defined(MAGICKCORE_FREETYPE_DELEGATE)
# pragma comment(lib, "CORE_DB_ttf_.lib")
# endif
# pragma comment(lib, "CORE_DB_wand_.lib")
# if defined(MAGICKCORE_WEBP_DELEGATE)
# pragma comment(lib, "CORE_DB_webp_.lib")
# endif
# if defined(MAGICKCORE_X11_DELEGATE)
# pragma comment(lib, "CORE_DB_xlib_.lib")
# endif
# if defined(MAGICKCORE_ZLIB_DELEGATE)
# pragma comment(lib, "CORE_DB_zlib_.lib")
# endif
# else
# if defined(MAGICKCORE_BZLIB_DELEGATE)
# pragma comment(lib, "CORE_RL_bzlib_.lib")
# endif
# pragma comment(lib, "CORE_RL_coders_.lib")
# if defined(MAGICKCORE_OPENEXR_DELEGATE)
# pragma comment(lib, "CORE_RL_exr_.lib")
# endif
# if defined(MAGICKCORE_LQR_DELEGATE)
# pragma comment(lib, "CORE_RL_ffi_.lib")
# endif
# pragma comment(lib, "CORE_RL_filters_.lib")
# if defined(MAGICKCORE_LQR_DELEGATE)
# pragma comment(lib, "CORE_RL_glib_.lib")
# pragma comment(lib, "winmm.lib")
# endif
# if defined(MAGICKCORE_JBIG_DELEGATE)
# pragma comment(lib, "CORE_RL_jbig_.lib")
# endif
# if defined(MAGICKCORE_JP2_DELEGATE)
# pragma comment(lib, "CORE_RL_jp2_.lib")
# endif
# if defined(MAGICKCORE_JPEG_DELEGATE)
# pragma comment(lib, "CORE_RL_jpeg_.lib")
# endif
# if defined(MAGICKCORE_LCMS_DELEGATE)
# pragma comment(lib, "CORE_RL_lcms_.lib")
# endif
# if defined(MAGICKCORE_LIBOPENJP2_DELEGATE)
# pragma comment(lib, "CORE_RL_openjpeg_.lib")
# endif
# pragma comment(lib, "CORE_RL_libxml_.lib")
# if defined(MAGICKCORE_LQR_DELEGATE)
# pragma comment(lib, "CORE_RL_lqr_.lib")
# endif
# pragma comment(lib, "CORE_RL_magick_.lib")
# pragma comment(lib, "CORE_RL_Magick++_.lib")
# if defined(MAGICKCORE_PANGOCAIRO_DELEGATE)
# pragma comment(lib, "CORE_RL_cairo_.lib")
# pragma comment(lib, "CORE_RL_pango_.lib")
# pragma comment(lib, "CORE_RL_pixman_.lib")
# endif
# if defined(MAGICKCORE_PNG_DELEGATE)
# pragma comment(lib, "CORE_RL_png_.lib")
# endif
# if defined(MAGICKCORE_RSVG_DELEGATE)
# pragma comment(lib, "CORE_RL_croco_.lib")
# pragma comment(lib, "CORE_RL_librsvg_.lib")
# endif
# if defined(MAGICKCORE_TIFF_DELEGATE)
# pragma comment(lib, "CORE_RL_tiff_.lib")
# endif
# if defined(MAGICKCORE_FREETYPE_DELEGATE)
# pragma comment(lib, "CORE_RL_ttf_.lib")
# endif
# pragma comment(lib, "CORE_RL_wand_.lib")
# if defined(MAGICKCORE_WEBP_DELEGATE)
# pragma comment(lib, "CORE_RL_webp_.lib")
# endif
# if defined(MAGICKCORE_X11_DELEGATE)
# pragma comment(lib, "CORE_RL_xlib_.lib")
# endif
# if defined(MAGICKCORE_ZLIB_DELEGATE)
# pragma comment(lib, "CORE_RL_zlib_.lib")
# endif
# endif
# if defined(_WIN32_WCE)
# pragma comment(lib, "wsock32.lib")
# else
# pragma comment(lib, "ws2_32.lib")
# endif
# pragma comment(lib, "urlmon.lib")
# endif
# endif
#else
# if __GNUC__ >= 4
# define MagickPPExport __attribute__ ((visibility ("default")))
# define MagickPPPrivate __attribute__ ((visibility ("hidden")))
# else
# define MagickPPExport
# define MagickPPPrivate
# endif
#endif
#if (defined(WIN32) || defined(WIN64)) && defined(_VISUALC_)
# pragma warning(disable : 4996) /* function deprecation warnings */
#endif
//
// Import ImageMagick symbols and types which are used as part of the
// Magick++ API definition into namespace "Magick".
//
namespace Magick
{
// The datatype for an RGB component
using MagickCore::Quantum;
using MagickCore::MagickRealType;
using MagickCore::MagickSizeType;
// Boolean types
using MagickCore::MagickBooleanType;
using MagickCore::MagickFalse;
using MagickCore::MagickTrue;
// Alpha channel types
using MagickCore::AlphaChannelType;
using MagickCore::UndefinedAlphaChannel;
using MagickCore::ActivateAlphaChannel;
using MagickCore::BackgroundAlphaChannel;
using MagickCore::CopyAlphaChannel;
using MagickCore::DeactivateAlphaChannel;
using MagickCore::ExtractAlphaChannel;
using MagickCore::OpaqueAlphaChannel;
using MagickCore::SetAlphaChannel;
using MagickCore::ShapeAlphaChannel;
using MagickCore::TransparentAlphaChannel;
using MagickCore::FlattenAlphaChannel;
using MagickCore::RemoveAlphaChannel;
using MagickCore::AssociateAlphaChannel;
using MagickCore::DisassociateAlphaChannel;
// Image class types
using MagickCore::ClassType;
using MagickCore::UndefinedClass;
using MagickCore::DirectClass;
using MagickCore::PseudoClass;
// Channel types
using MagickCore::ChannelType;
using MagickCore::UndefinedChannel;
using MagickCore::RedChannel;
using MagickCore::GrayChannel;
using MagickCore::CyanChannel;
using MagickCore::GreenChannel;
using MagickCore::MagentaChannel;
using MagickCore::BlueChannel;
using MagickCore::YellowChannel;
using MagickCore::AlphaChannel;
using MagickCore::OpacityChannel;
using MagickCore::MatteChannel; /* deprecated */
using MagickCore::BlackChannel;
using MagickCore::IndexChannel;
using MagickCore::CompositeChannels;
using MagickCore::AllChannels;
using MagickCore::TrueAlphaChannel;
using MagickCore::RGBChannels;
using MagickCore::GrayChannels;
using MagickCore::SyncChannels;
using MagickCore::DefaultChannels;
// Color-space types
using MagickCore::ColorspaceType;
using MagickCore::UndefinedColorspace;
using MagickCore::CMYColorspace;
using MagickCore::CMYKColorspace;
using MagickCore::GRAYColorspace;
using MagickCore::HCLColorspace;
using MagickCore::HCLpColorspace;
using MagickCore::HSBColorspace;
using MagickCore::HSIColorspace;
using MagickCore::HSLColorspace;
using MagickCore::HSVColorspace;
using MagickCore::HWBColorspace;
using MagickCore::LabColorspace;
using MagickCore::LCHColorspace;
using MagickCore::LCHabColorspace;
using MagickCore::LCHuvColorspace;
using MagickCore::LogColorspace;
using MagickCore::LMSColorspace;
using MagickCore::LuvColorspace;
using MagickCore::OHTAColorspace;
using MagickCore::Rec601LumaColorspace;
using MagickCore::Rec601YCbCrColorspace;
using MagickCore::Rec709LumaColorspace;
using MagickCore::Rec709YCbCrColorspace;
using MagickCore::RGBColorspace;
using MagickCore::scRGBColorspace;
using MagickCore::sRGBColorspace;
using MagickCore::TransparentColorspace;
using MagickCore::XYZColorspace;
using MagickCore::YCbCrColorspace;
using MagickCore::YCCColorspace;
using MagickCore::YDbDrColorspace;
using MagickCore::YIQColorspace;
using MagickCore::YPbPrColorspace;
using MagickCore::YUVColorspace;
using MagickCore::xyYColorspace;
// Command options
using MagickCore::CommandOption;
using MagickCore::MagickKernelOptions;
// Composition operations
using MagickCore::CompositeOperator;
using MagickCore::UndefinedCompositeOp;
using MagickCore::NoCompositeOp;
using MagickCore::ModulusAddCompositeOp;
using MagickCore::AtopCompositeOp;
using MagickCore::BlendCompositeOp;
using MagickCore::BumpmapCompositeOp;
using MagickCore::ChangeMaskCompositeOp;
using MagickCore::ClearCompositeOp;
using MagickCore::ColorBurnCompositeOp;
using MagickCore::ColorDodgeCompositeOp;
using MagickCore::ColorizeCompositeOp;
using MagickCore::CopyBlackCompositeOp;
using MagickCore::CopyBlueCompositeOp;
using MagickCore::CopyCompositeOp;
using MagickCore::CopyCyanCompositeOp;
using MagickCore::CopyGreenCompositeOp;
using MagickCore::CopyMagentaCompositeOp;
using MagickCore::CopyOpacityCompositeOp;
using MagickCore::CopyRedCompositeOp;
using MagickCore::CopyYellowCompositeOp;
using MagickCore::DarkenCompositeOp;
using MagickCore::DstAtopCompositeOp;
using MagickCore::DstCompositeOp;
using MagickCore::DstInCompositeOp;
using MagickCore::DstOutCompositeOp;
using MagickCore::DstOverCompositeOp;
using MagickCore::DifferenceCompositeOp;
using MagickCore::DisplaceCompositeOp;
using MagickCore::DissolveCompositeOp;
using MagickCore::ExclusionCompositeOp;
using MagickCore::HardLightCompositeOp;
using MagickCore::HardMixCompositeOp;
using MagickCore::HueCompositeOp;
using MagickCore::InCompositeOp;
using MagickCore::LightenCompositeOp;
using MagickCore::LinearLightCompositeOp;
using MagickCore::LuminizeCompositeOp;
using MagickCore::MinusDstCompositeOp;
using MagickCore::ModulateCompositeOp;
using MagickCore::MultiplyCompositeOp;
using MagickCore::OutCompositeOp;
using MagickCore::OverCompositeOp;
using MagickCore::OverlayCompositeOp;
using MagickCore::PlusCompositeOp;
using MagickCore::ReplaceCompositeOp;
using MagickCore::SaturateCompositeOp;
using MagickCore::ScreenCompositeOp;
using MagickCore::SoftLightCompositeOp;
using MagickCore::SrcAtopCompositeOp;
using MagickCore::SrcCompositeOp;
using MagickCore::SrcInCompositeOp;
using MagickCore::SrcOutCompositeOp;
using MagickCore::SrcOverCompositeOp;
using MagickCore::ModulusSubtractCompositeOp;
using MagickCore::ThresholdCompositeOp;
using MagickCore::XorCompositeOp;
using MagickCore::DivideDstCompositeOp;
using MagickCore::DistortCompositeOp;
using MagickCore::BlurCompositeOp;
using MagickCore::PegtopLightCompositeOp;
using MagickCore::VividLightCompositeOp;
using MagickCore::PinLightCompositeOp;
using MagickCore::LinearDodgeCompositeOp;
using MagickCore::LinearBurnCompositeOp;
using MagickCore::MathematicsCompositeOp;
using MagickCore::DivideSrcCompositeOp;
using MagickCore::MinusSrcCompositeOp;
using MagickCore::DarkenIntensityCompositeOp;
using MagickCore::LightenIntensityCompositeOp;
using MagickCore::AddCompositeOp;
using MagickCore::SubtractCompositeOp;
using MagickCore::MinusCompositeOp;
using MagickCore::DivideCompositeOp;
// Compression algorithms
using MagickCore::CompressionType;
using MagickCore::UndefinedCompression;
using MagickCore::NoCompression;
using MagickCore::BZipCompression;
using MagickCore::DXT1Compression;
using MagickCore::DXT3Compression;
using MagickCore::DXT5Compression;
using MagickCore::FaxCompression;
using MagickCore::Group4Compression;
using MagickCore::JPEGCompression;
using MagickCore::JPEG2000Compression;
using MagickCore::LosslessJPEGCompression;
using MagickCore::LZWCompression;
using MagickCore::RLECompression;
using MagickCore::ZipCompression;
using MagickCore::ZipSCompression;
using MagickCore::PizCompression;
using MagickCore::Pxr24Compression;
using MagickCore::B44Compression;
using MagickCore::B44ACompression;
using MagickCore::LZMACompression;
using MagickCore::JBIG1Compression;
using MagickCore::JBIG2Compression;
// Decoration types
using MagickCore::DecorationType;
using MagickCore::UndefinedDecoration;
using MagickCore::NoDecoration;
using MagickCore::UnderlineDecoration;
using MagickCore::OverlineDecoration;
using MagickCore::LineThroughDecoration;
// Direction types
using MagickCore::DirectionType;
using MagickCore::UndefinedDirection;
using MagickCore::RightToLeftDirection;
using MagickCore::LeftToRightDirection;
// Dispose methods
using MagickCore::DisposeType;
using MagickCore::UndefinedDispose;
using MagickCore::NoneDispose;
using MagickCore::BackgroundDispose;
using MagickCore::PreviousDispose;
// Distort methods
using MagickCore::DistortImageMethod;
using MagickCore::UndefinedDistortion;
using MagickCore::AffineDistortion;
using MagickCore::AffineProjectionDistortion;
using MagickCore::ScaleRotateTranslateDistortion;
using MagickCore::PerspectiveDistortion;
using MagickCore::PerspectiveProjectionDistortion;
using MagickCore::BilinearForwardDistortion;
using MagickCore::BilinearDistortion;
using MagickCore::BilinearReverseDistortion;
using MagickCore::PolynomialDistortion;
using MagickCore::ArcDistortion;
using MagickCore::PolarDistortion;
using MagickCore::DePolarDistortion;
using MagickCore::Cylinder2PlaneDistortion;
using MagickCore::Plane2CylinderDistortion;
using MagickCore::BarrelDistortion;
using MagickCore::BarrelInverseDistortion;
using MagickCore::ShepardsDistortion;
using MagickCore::ResizeDistortion;
using MagickCore::SentinelDistortion;
// Dither methods
using MagickCore::DitherMethod;
using MagickCore::UndefinedDitherMethod;
using MagickCore::NoDitherMethod;
using MagickCore::RiemersmaDitherMethod;
using MagickCore::FloydSteinbergDitherMethod;
// Endian options
using MagickCore::EndianType;
using MagickCore::UndefinedEndian;
using MagickCore::LSBEndian;
using MagickCore::MSBEndian;
// Evaluate options
using MagickCore::MagickEvaluateOperator;
using MagickCore::UndefinedEvaluateOperator;
using MagickCore::AddEvaluateOperator;
using MagickCore::AndEvaluateOperator;
using MagickCore::DivideEvaluateOperator;
using MagickCore::LeftShiftEvaluateOperator;
using MagickCore::MaxEvaluateOperator;
using MagickCore::MinEvaluateOperator;
using MagickCore::MultiplyEvaluateOperator;
using MagickCore::OrEvaluateOperator;
using MagickCore::RightShiftEvaluateOperator;
using MagickCore::SetEvaluateOperator;
using MagickCore::SubtractEvaluateOperator;
using MagickCore::XorEvaluateOperator;
using MagickCore::PowEvaluateOperator;
using MagickCore::LogEvaluateOperator;
using MagickCore::ThresholdEvaluateOperator;
using MagickCore::ThresholdBlackEvaluateOperator;
using MagickCore::ThresholdWhiteEvaluateOperator;
using MagickCore::GaussianNoiseEvaluateOperator;
using MagickCore::ImpulseNoiseEvaluateOperator;
using MagickCore::LaplacianNoiseEvaluateOperator;
using MagickCore::MultiplicativeNoiseEvaluateOperator;
using MagickCore::PoissonNoiseEvaluateOperator;
using MagickCore::UniformNoiseEvaluateOperator;
using MagickCore::CosineEvaluateOperator;
using MagickCore::SineEvaluateOperator;
using MagickCore::AddModulusEvaluateOperator;
using MagickCore::MeanEvaluateOperator;
using MagickCore::AbsEvaluateOperator;
using MagickCore::ExponentialEvaluateOperator;
using MagickCore::MedianEvaluateOperator;
using MagickCore::SumEvaluateOperator;
using MagickCore::RootMeanSquareEvaluateOperator;
// Fill rules
using MagickCore::FillRule;
using MagickCore::UndefinedRule;
using MagickCore::EvenOddRule;
using MagickCore::NonZeroRule;
// Filter types
using MagickCore::FilterTypes;
using MagickCore::UndefinedFilter;
using MagickCore::PointFilter;
using MagickCore::BoxFilter;
using MagickCore::TriangleFilter;
using MagickCore::HermiteFilter;
using MagickCore::HanningFilter;
using MagickCore::HammingFilter;
using MagickCore::BlackmanFilter;
using MagickCore::GaussianFilter;
using MagickCore::QuadraticFilter;
using MagickCore::CubicFilter;
using MagickCore::CatromFilter;
using MagickCore::MitchellFilter;
using MagickCore::JincFilter;
using MagickCore::SincFilter;
using MagickCore::SincFastFilter;
using MagickCore::KaiserFilter;
using MagickCore::WelshFilter;
using MagickCore::ParzenFilter;
using MagickCore::BohmanFilter;
using MagickCore::BartlettFilter;
using MagickCore::LagrangeFilter;
using MagickCore::LanczosFilter;
using MagickCore::LanczosSharpFilter;
using MagickCore::Lanczos2Filter;
using MagickCore::Lanczos2SharpFilter;
using MagickCore::RobidouxFilter;
using MagickCore::RobidouxSharpFilter;
using MagickCore::CosineFilter;
using MagickCore::SplineFilter;
using MagickCore::LanczosRadiusFilter;
using MagickCore::SentinelFilter;
// Bit gravity
using MagickCore::GravityType;
using MagickCore::UndefinedGravity;
using MagickCore::ForgetGravity;
using MagickCore::NorthWestGravity;
using MagickCore::NorthGravity;
using MagickCore::NorthEastGravity;
using MagickCore::WestGravity;
using MagickCore::CenterGravity;
using MagickCore::EastGravity;
using MagickCore::SouthWestGravity;
using MagickCore::SouthGravity;
using MagickCore::SouthEastGravity;
using MagickCore::StaticGravity;
// Image types
using MagickCore::ImageType;
using MagickCore::UndefinedType;
using MagickCore::BilevelType;
using MagickCore::GrayscaleType;
using MagickCore::GrayscaleMatteType;
using MagickCore::PaletteType;
using MagickCore::PaletteMatteType;
using MagickCore::TrueColorType;
using MagickCore::TrueColorMatteType;
using MagickCore::ColorSeparationType;
using MagickCore::ColorSeparationMatteType;
using MagickCore::OptimizeType;
using MagickCore::PaletteBilevelMatteType;
// Interlace types
using MagickCore::InterlaceType;
using MagickCore::UndefinedInterlace;
using MagickCore::NoInterlace;
using MagickCore::LineInterlace;
using MagickCore::PlaneInterlace;
using MagickCore::PartitionInterlace;
using MagickCore::GIFInterlace;
using MagickCore::JPEGInterlace;
using MagickCore::PNGInterlace;
// Pixel interpolation methods
using MagickCore::InterpolatePixelMethod;
using MagickCore::UndefinedInterpolatePixel;
using MagickCore::AverageInterpolatePixel;
using MagickCore::BicubicInterpolatePixel;
using MagickCore::BilinearInterpolatePixel;
using MagickCore::FilterInterpolatePixel;
using MagickCore::IntegerInterpolatePixel;
using MagickCore::MeshInterpolatePixel;
using MagickCore::NearestNeighborInterpolatePixel;
using MagickCore::SplineInterpolatePixel;
using MagickCore::Average9InterpolatePixel;
using MagickCore::Average16InterpolatePixel;
using MagickCore::BlendInterpolatePixel;
using MagickCore::BackgroundInterpolatePixel;
using MagickCore::CatromInterpolatePixel;
// Layer method
using MagickCore::ImageLayerMethod;
using MagickCore::UndefinedLayer;
using MagickCore::CoalesceLayer;
using MagickCore::CompareAnyLayer;
using MagickCore::CompareClearLayer;
using MagickCore::CompareOverlayLayer;
using MagickCore::DisposeLayer;
using MagickCore::OptimizeLayer;
using MagickCore::OptimizeImageLayer;
using MagickCore::OptimizePlusLayer;
using MagickCore::OptimizeTransLayer;
using MagickCore::RemoveDupsLayer;
using MagickCore::RemoveZeroLayer;
using MagickCore::CompositeLayer;
using MagickCore::MergeLayer;
using MagickCore::FlattenLayer;
using MagickCore::MosaicLayer;
using MagickCore::TrimBoundsLayer;
// Built-in kernels
using MagickCore::KernelInfoType;
using MagickCore::UndefinedKernel;
using MagickCore::UnityKernel;
using MagickCore::GaussianKernel;
using MagickCore::DoGKernel;
using MagickCore::LoGKernel;
using MagickCore::BlurKernel;
using MagickCore::CometKernel;
using MagickCore::LaplacianKernel;
using MagickCore::SobelKernel;
using MagickCore::FreiChenKernel;
using MagickCore::RobertsKernel;
using MagickCore::PrewittKernel;
using MagickCore::CompassKernel;
using MagickCore::KirschKernel;
using MagickCore::DiamondKernel;
using MagickCore::SquareKernel;
using MagickCore::RectangleKernel;
using MagickCore::OctagonKernel;
using MagickCore::DiskKernel;
using MagickCore::PlusKernel;
using MagickCore::CrossKernel;
using MagickCore::RingKernel;
using MagickCore::PeaksKernel;
using MagickCore::EdgesKernel;
using MagickCore::CornersKernel;
using MagickCore::DiagonalsKernel;
using MagickCore::LineEndsKernel;
using MagickCore::LineJunctionsKernel;
using MagickCore::RidgesKernel;
using MagickCore::ConvexHullKernel;
using MagickCore::ThinSEKernel;
using MagickCore::SkeletonKernel;
using MagickCore::ChebyshevKernel;
using MagickCore::ManhattanKernel;
using MagickCore::OctagonalKernel;
using MagickCore::EuclideanKernel;
using MagickCore::UserDefinedKernel;
using MagickCore::BinomialKernel;
// Line cap types
using MagickCore::LineCap;
using MagickCore::UndefinedCap;
using MagickCore::ButtCap;
using MagickCore::RoundCap;
using MagickCore::SquareCap;
// Line join types
using MagickCore::LineJoin;
using MagickCore::UndefinedJoin;
using MagickCore::MiterJoin;
using MagickCore::RoundJoin;
using MagickCore::BevelJoin;
// Log event types
using MagickCore::LogEventType;
using MagickCore::UndefinedEvents;
using MagickCore::NoEvents;
using MagickCore::TraceEvent;
using MagickCore::AnnotateEvent;
using MagickCore::BlobEvent;
using MagickCore::CacheEvent;
using MagickCore::CoderEvent;
using MagickCore::ConfigureEvent;
using MagickCore::DeprecateEvent;
using MagickCore::DrawEvent;
using MagickCore::ExceptionEvent;
using MagickCore::ImageEvent;
using MagickCore::LocaleEvent;
using MagickCore::ModuleEvent;
using MagickCore::PolicyEvent;
using MagickCore::ResourceEvent;
using MagickCore::TransformEvent;
using MagickCore::UserEvent;
using MagickCore::WandEvent;
using MagickCore::X11Event;
using MagickCore::AccelerateEvent;
using MagickCore::AllEvents;
// Metric types
using MagickCore::MetricType;
using MagickCore::UndefinedMetric;
using MagickCore::AbsoluteErrorMetric;
using MagickCore::MeanAbsoluteErrorMetric;
using MagickCore::MeanErrorPerPixelMetric;
using MagickCore::MeanSquaredErrorMetric;
using MagickCore::PeakAbsoluteErrorMetric;
using MagickCore::PeakSignalToNoiseRatioMetric;
using MagickCore::RootMeanSquaredErrorMetric;
using MagickCore::NormalizedCrossCorrelationErrorMetric;
using MagickCore::FuzzErrorMetric;
using MagickCore::UndefinedErrorMetric;
using MagickCore::PerceptualHashErrorMetric;
// Morphology methods
using MagickCore::MorphologyMethod;
using MagickCore::UndefinedMorphology;
using MagickCore::ConvolveMorphology;
using MagickCore::CorrelateMorphology;
using MagickCore::ErodeMorphology;
using MagickCore::DilateMorphology;
using MagickCore::ErodeIntensityMorphology;
using MagickCore::DilateIntensityMorphology;
using MagickCore::DistanceMorphology;
using MagickCore::OpenMorphology;
using MagickCore::CloseMorphology;
using MagickCore::OpenIntensityMorphology;
using MagickCore::CloseIntensityMorphology;
using MagickCore::SmoothMorphology;
using MagickCore::EdgeInMorphology;
using MagickCore::EdgeOutMorphology;
using MagickCore::EdgeMorphology;
using MagickCore::TopHatMorphology;
using MagickCore::BottomHatMorphology;
using MagickCore::HitAndMissMorphology;
using MagickCore::ThinningMorphology;
using MagickCore::ThickenMorphology;
using MagickCore::VoronoiMorphology;
using MagickCore::IterativeDistanceMorphology;
// Noise types
using MagickCore::NoiseType;
using MagickCore::UndefinedNoise;
using MagickCore::UniformNoise;
using MagickCore::GaussianNoise;
using MagickCore::MultiplicativeGaussianNoise;
using MagickCore::ImpulseNoise;
using MagickCore::LaplacianNoise;
using MagickCore::PoissonNoise;
// Orientation types
using MagickCore::OrientationType;
using MagickCore::UndefinedOrientation;
using MagickCore::TopLeftOrientation;
using MagickCore::TopRightOrientation;
using MagickCore::BottomRightOrientation;
using MagickCore::BottomLeftOrientation;
using MagickCore::LeftTopOrientation;
using MagickCore::RightTopOrientation;
using MagickCore::RightBottomOrientation;
using MagickCore::LeftBottomOrientation;
// Paint methods
using MagickCore::PaintMethod;
using MagickCore::UndefinedMethod;
using MagickCore::PointMethod;
using MagickCore::ReplaceMethod;
using MagickCore::FloodfillMethod;
using MagickCore::FillToBorderMethod;
using MagickCore::ResetMethod;
// Pixel intensity method
using MagickCore::PixelIntensityMethod;
using MagickCore::UndefinedPixelIntensityMethod;
using MagickCore::AveragePixelIntensityMethod;
using MagickCore::BrightnessPixelIntensityMethod;
using MagickCore::LightnessPixelIntensityMethod;
using MagickCore::Rec601LumaPixelIntensityMethod;
using MagickCore::Rec601LuminancePixelIntensityMethod;
using MagickCore::Rec709LumaPixelIntensityMethod;
using MagickCore::Rec709LuminancePixelIntensityMethod;
using MagickCore::RMSPixelIntensityMethod;
using MagickCore::MSPixelIntensityMethod;
// PixelPacket structure
using MagickCore::PixelPacket;
// Preview types. Not currently used by Magick++
using MagickCore::PreviewType;
using MagickCore::UndefinedPreview;
using MagickCore::RotatePreview;
using MagickCore::ShearPreview;
using MagickCore::RollPreview;
using MagickCore::HuePreview;
using MagickCore::SaturationPreview;
using MagickCore::BrightnessPreview;
using MagickCore::GammaPreview;
using MagickCore::SpiffPreview;
using MagickCore::DullPreview;
using MagickCore::GrayscalePreview;
using MagickCore::QuantizePreview;
using MagickCore::DespecklePreview;
using MagickCore::ReduceNoisePreview;
using MagickCore::AddNoisePreview;
using MagickCore::SharpenPreview;
using MagickCore::BlurPreview;
using MagickCore::ThresholdPreview;
using MagickCore::EdgeDetectPreview;
using MagickCore::SpreadPreview;
using MagickCore::SolarizePreview;
using MagickCore::ShadePreview;
using MagickCore::RaisePreview;
using MagickCore::SegmentPreview;
using MagickCore::SwirlPreview;
using MagickCore::ImplodePreview;
using MagickCore::WavePreview;
using MagickCore::OilPaintPreview;
using MagickCore::CharcoalDrawingPreview;
using MagickCore::JPEGPreview;
// Quantum types
using MagickCore::QuantumType;
using MagickCore::IndexQuantum;
using MagickCore::GrayQuantum;
using MagickCore::IndexAlphaQuantum;
using MagickCore::GrayAlphaQuantum;
using MagickCore::RedQuantum;
using MagickCore::CyanQuantum;
using MagickCore::GreenQuantum;
using MagickCore::YellowQuantum;
using MagickCore::BlueQuantum;
using MagickCore::MagentaQuantum;
using MagickCore::AlphaQuantum;
using MagickCore::BlackQuantum;
using MagickCore::RGBQuantum;
using MagickCore::RGBAQuantum;
using MagickCore::CMYKQuantum;
// Rendering intents
using MagickCore::RenderingIntent;
using MagickCore::UndefinedIntent;
using MagickCore::SaturationIntent;
using MagickCore::PerceptualIntent;
using MagickCore::AbsoluteIntent;
using MagickCore::RelativeIntent;
// Resource types
using MagickCore::ResourceType;
using MagickCore::AreaResource;
using MagickCore::DiskResource;
using MagickCore::MapResource;
using MagickCore::MemoryResource;
using MagickCore::ThreadResource;
// Resolution units
using MagickCore::ResolutionType;
using MagickCore::UndefinedResolution;
using MagickCore::PixelsPerInchResolution;
using MagickCore::PixelsPerCentimeterResolution;
// IndexPacket type
using MagickCore::IndexPacket;
// Sparse Color methods
using MagickCore::SparseColorMethod;
using MagickCore::UndefinedColorInterpolate;
using MagickCore::BarycentricColorInterpolate;
using MagickCore::BilinearColorInterpolate;
using MagickCore::PolynomialColorInterpolate;
using MagickCore::ShepardsColorInterpolate;
using MagickCore::VoronoiColorInterpolate;
using MagickCore::InverseColorInterpolate;
// Statistic type
using MagickCore::MedianStatistic;
using MagickCore::NonpeakStatistic;
// StorageType type
using MagickCore::StorageType;
using MagickCore::UndefinedPixel;
using MagickCore::CharPixel;
using MagickCore::DoublePixel;
using MagickCore::FloatPixel;
using MagickCore::IntegerPixel;
using MagickCore::LongPixel;
using MagickCore::QuantumPixel;
using MagickCore::ShortPixel;
// StretchType type
using MagickCore::StretchType;
using MagickCore::UndefinedStretch;
using MagickCore::NormalStretch;
using MagickCore::UltraCondensedStretch;
using MagickCore::ExtraCondensedStretch;
using MagickCore::CondensedStretch;
using MagickCore::SemiCondensedStretch;
using MagickCore::SemiExpandedStretch;
using MagickCore::ExpandedStretch;
using MagickCore::ExtraExpandedStretch;
using MagickCore::UltraExpandedStretch;
using MagickCore::AnyStretch;
// StyleType type
using MagickCore::StyleType;
using MagickCore::UndefinedStyle;
using MagickCore::NormalStyle;
using MagickCore::ItalicStyle;
using MagickCore::ObliqueStyle;
using MagickCore::AnyStyle;
// Virtual pixel methods
using MagickCore::VirtualPixelMethod;
using MagickCore::UndefinedVirtualPixelMethod;
using MagickCore::BackgroundVirtualPixelMethod;
using MagickCore::DitherVirtualPixelMethod;
using MagickCore::EdgeVirtualPixelMethod;
using MagickCore::MirrorVirtualPixelMethod;
using MagickCore::RandomVirtualPixelMethod;
using MagickCore::TileVirtualPixelMethod;
using MagickCore::TransparentVirtualPixelMethod;
using MagickCore::MaskVirtualPixelMethod;
using MagickCore::BlackVirtualPixelMethod;
using MagickCore::GrayVirtualPixelMethod;
using MagickCore::WhiteVirtualPixelMethod;
using MagickCore::HorizontalTileVirtualPixelMethod;
using MagickCore::VerticalTileVirtualPixelMethod;
using MagickCore::HorizontalTileEdgeVirtualPixelMethod;
using MagickCore::VerticalTileEdgeVirtualPixelMethod;
using MagickCore::CheckerTileVirtualPixelMethod;
#if defined(MAGICKCORE_IMPLEMENTATION)
//
// ImageMagick symbols used in implementation code
//
using MagickCore::AcquireExceptionInfo;
using MagickCore::AcquireCacheView;
using MagickCore::AcquireImage;
using MagickCore::AcquireKernelInfo;
using MagickCore::AcquireMagickMemory;
using MagickCore::AcquireQuantumInfo;
using MagickCore::AcquireString;
using MagickCore::AcquireStringInfo;
using MagickCore::AcquireVirtualCacheView;
using MagickCore::AdaptiveBlurImage;
using MagickCore::AdaptiveResizeImage;
using MagickCore::AdaptiveSharpenImage;
using MagickCore::AdaptiveSharpenImageChannel;
using MagickCore::AdaptiveThresholdImage;
using MagickCore::AddNoiseImage;
using MagickCore::AddNoiseImageChannel;
using MagickCore::AffineMatrix;
using MagickCore::AffineTransformImage;
using MagickCore::AnnotateImage;
using MagickCore::AreaValue;
using MagickCore::AspectValue;
using MagickCore::AutoGammaImage;
using MagickCore::AutoGammaImageChannel;
using MagickCore::AutoLevelImage;
using MagickCore::AutoLevelImageChannel;
using MagickCore::AutoOrientImage;
using MagickCore::Base64Decode;
using MagickCore::Base64Encode;
using MagickCore::BilevelImage;
using MagickCore::BlackThresholdImage;
using MagickCore::BlackThresholdImageChannel;
using MagickCore::BlobError;
using MagickCore::BlobFatalError;
using MagickCore::BlobToImage;
using MagickCore::BlobWarning;
using MagickCore::BlueShiftImage;
using MagickCore::BlurImage;
using MagickCore::BlurImageChannel;
using MagickCore::BorderImage;
using MagickCore::BrightnessContrastImage;
using MagickCore::BrightnessContrastImageChannel;
using MagickCore::CacheError;
using MagickCore::CacheFatalError;
using MagickCore::CacheWarning;
using MagickCore::CannyEdgeImage;
using MagickCore::CharcoalImage;
using MagickCore::ChopImage;
using MagickCore::ClampImage;
using MagickCore::ClampImageChannel;
using MagickCore::ClearMagickException;
using MagickCore::CloneDrawInfo;
using MagickCore::CloneImage;
using MagickCore::CloneImageInfo;
using MagickCore::CloneQuantizeInfo;
using MagickCore::ClutImage;
using MagickCore::ClutImageChannel;
using MagickCore::CoderError;
using MagickCore::CoderFatalError;
using MagickCore::CoderWarning;
using MagickCore::CopyImagePixels;
using MagickCore::ColorDecisionListImage;
using MagickCore::ColorizeImage;
using MagickCore::ColorMatrixImage;
using MagickCore::ColorPacket;
using MagickCore::CommandOptionToMnemonic;
using MagickCore::CompareImageChannels;
using MagickCore::CompareImages;
using MagickCore::CompositeImage;
using MagickCore::ConfigureError;
using MagickCore::ConfigureFatalError;
using MagickCore::ConfigureWarning;
using MagickCore::ConnectedComponentsImage;
using MagickCore::ConstituteImage;
using MagickCore::ContrastImage;
using MagickCore::ContrastStretchImageChannel;
using MagickCore::ConvertHSLToRGB;
using MagickCore::ConvertRGBToHSL;
using MagickCore::ConvolveImage;
using MagickCore::CopyMagickString;
using MagickCore::CorruptImageError;
using MagickCore::CorruptImageFatalError;
using MagickCore::CorruptImageWarning;
using MagickCore::CropImage;
using MagickCore::CropImageToTiles;
using MagickCore::CycleColormapImage;
using MagickCore::DeconstructImages;
using MagickCore::DecipherImage;
using MagickCore::DelegateError;
using MagickCore::DelegateFatalError;
using MagickCore::DelegateWarning;
using MagickCore::DeleteImageOption;
using MagickCore::DeleteImageRegistry;
using MagickCore::DeskewImage;
using MagickCore::DespeckleImage;
using MagickCore::DestroyCacheView;
using MagickCore::DestroyDrawInfo;
using MagickCore::DestroyDrawingWand;
using MagickCore::DestroyExceptionInfo;
using MagickCore::DestroyImageInfo;
using MagickCore::DestroyImageList;
using MagickCore::DestroyKernelInfo;
using MagickCore::DestroyMagickWand;
using MagickCore::DestroyPixelWand;
using MagickCore::DestroyQuantizeInfo;
using MagickCore::DestroyQuantumInfo;
using MagickCore::DestroyString;
using MagickCore::DestroyStringInfo;
using MagickCore::DisplayImages;
using MagickCore::DistortImage;
using MagickCore::DrawAffine;
using MagickCore::DrawAllocateWand;
using MagickCore::DrawAnnotation;
using MagickCore::DrawArc;
using MagickCore::DrawBezier;
using MagickCore::DrawCircle;
using MagickCore::DrawColor;
using MagickCore::DrawComment;
using MagickCore::DrawComposite;
using MagickCore::DrawEllipse;
using MagickCore::DrawError;
using MagickCore::DrawFatalError;
using MagickCore::DrawImage;
using MagickCore::DrawInfo;
using MagickCore::DrawingWand;
using MagickCore::DrawLine;
using MagickCore::DrawMatte;
using MagickCore::DrawPathClose;
using MagickCore::DrawPathCurveToAbsolute;
using MagickCore::DrawPathCurveToQuadraticBezierAbsolute;
using MagickCore::DrawPathCurveToQuadraticBezierRelative;
using MagickCore::DrawPathCurveToQuadraticBezierSmoothAbsolute;
using MagickCore::DrawPathCurveToQuadraticBezierSmoothRelative;
using MagickCore::DrawPathCurveToRelative;
using MagickCore::DrawPathCurveToSmoothAbsolute;
using MagickCore::DrawPathCurveToSmoothRelative;
using MagickCore::DrawPathEllipticArcAbsolute;
using MagickCore::DrawPathEllipticArcRelative;
using MagickCore::DrawPathFinish;
using MagickCore::DrawPathLineToAbsolute;
using MagickCore::DrawPathLineToHorizontalAbsolute;
using MagickCore::DrawPathLineToHorizontalRelative;
using MagickCore::DrawPathLineToRelative;
using MagickCore::DrawPathLineToVerticalAbsolute;
using MagickCore::DrawPathLineToVerticalRelative;
using MagickCore::DrawPathMoveToAbsolute;
using MagickCore::DrawPathMoveToRelative;
using MagickCore::DrawPathStart;
using MagickCore::DrawPoint;
using MagickCore::DrawPolygon;
using MagickCore::DrawPolyline;
using MagickCore::DrawPopClipPath;
using MagickCore::DrawPopDefs;
using MagickCore::DrawPopPattern;
using MagickCore::DrawPushClipPath;
using MagickCore::DrawPushDefs;
using MagickCore::DrawPushPattern;
using MagickCore::DrawRectangle;
using MagickCore::DrawRender;
using MagickCore::DrawRotate;
using MagickCore::DrawRoundRectangle;
using MagickCore::DrawScale;
using MagickCore::DrawSetClipPath;
using MagickCore::DrawSetClipRule;
using MagickCore::DrawSetClipUnits;
using MagickCore::DrawSetFillColor;
using MagickCore::DrawSetFillOpacity;
using MagickCore::DrawSetFillPatternURL;
using MagickCore::DrawSetFillRule;
using MagickCore::DrawSetFont;
using MagickCore::DrawSetFontFamily;
using MagickCore::DrawSetFontSize;
using MagickCore::DrawSetFontStretch;
using MagickCore::DrawSetFontStyle;
using MagickCore::DrawSetFontWeight;
using MagickCore::DrawSetGravity;
using MagickCore::DrawSetStrokeAntialias;
using MagickCore::DrawSetStrokeColor;
using MagickCore::DrawSetStrokeDashArray;
using MagickCore::DrawSetStrokeDashOffset;
using MagickCore::DrawSetStrokeLineCap;
using MagickCore::DrawSetStrokeLineJoin;
using MagickCore::DrawSetStrokeMiterLimit;
using MagickCore::DrawSetStrokeOpacity;
using MagickCore::DrawSetStrokePatternURL;
using MagickCore::DrawSetStrokeWidth;
using MagickCore::DrawSetTextAntialias;
using MagickCore::DrawSetTextDecoration;
using MagickCore::DrawSetTextEncoding;
using MagickCore::DrawSetTextInterlineSpacing;
using MagickCore::DrawSetTextInterwordSpacing;
using MagickCore::DrawSetTextKerning;
using MagickCore::DrawSetTextUnderColor;
using MagickCore::DrawSetViewbox;
using MagickCore::DrawSkewX;
using MagickCore::DrawSkewY;
using MagickCore::DrawTranslate;
using MagickCore::DrawWarning;
using MagickCore::EdgeImage;
using MagickCore::EmbossImage;
using MagickCore::EncipherImage;
using MagickCore::EnhanceImage;
using MagickCore::EqualizeImage;
using MagickCore::EvaluateImage;
using MagickCore::EvaluateImageChannel;
using MagickCore::ExceptionInfo;
using MagickCore::ExceptionType;
using MagickCore::ExportImagePixels;
using MagickCore::ExportQuantumPixels;
using MagickCore::ExtentImage;
using MagickCore::FileOpenError;
using MagickCore::FileOpenFatalError;
using MagickCore::FileOpenWarning;
using MagickCore::FlipImage;
using MagickCore::FloodfillPaintImage;
using MagickCore::FlopImage;
using MagickCore::FormatLocaleString;
using MagickCore::ForwardFourierTransformImage;
using MagickCore::FrameImage;
using MagickCore::FrameInfo;
using MagickCore::FxImageChannel;
using MagickCore::GammaImage;
using MagickCore::GammaImage;
using MagickCore::GaussianBlurImage;
using MagickCore::GaussianBlurImageChannel;
using MagickCore::GetAffineMatrix;
using MagickCore::GetAuthenticIndexQueue;
using MagickCore::GetBlobSize;
using MagickCore::GetCacheViewException;
using MagickCore::GetCacheViewAuthenticIndexQueue;
using MagickCore::GetCacheViewAuthenticPixels;
using MagickCore::GetCacheViewVirtualPixels;
using MagickCore::GetClientName;
using MagickCore::GetColorTuple;
using MagickCore::GetDrawInfo;
using MagickCore::GetGeometry;
using MagickCore::GetImageArtifact;
using MagickCore::GetImageBoundingBox;
using MagickCore::GetImageChannelDistortion;
using MagickCore::GetImageChannelDepth;
using MagickCore::GetImageChannelMean;
using MagickCore::GetImageChannelKurtosis;
using MagickCore::GetImageChannelMoments;
using MagickCore::GetImageChannelRange;
using MagickCore::GetImageClipMask;
using MagickCore::GetImageDepth;
using MagickCore::GetImageDistortion;
using MagickCore::GetImageInfo;
using MagickCore::GetImageInfoFile;
using MagickCore::GetImageMask;
using MagickCore::GetImageOption;
using MagickCore::GetAuthenticPixels;
using MagickCore::GetImageProfile;
using MagickCore::GetImageProperty;
using MagickCore::GetImageQuantizeError;
using MagickCore::GetImageType;
using MagickCore::GetMagickInfo;
using MagickCore::GetMagickPixelPacket;
using MagickCore::GetMultilineTypeMetrics;
using MagickCore::GetNextValueInLinkedList;
using MagickCore::GetNumberColors;
using MagickCore::GetNumberOfElementsInLinkedList;
using MagickCore::GetPageGeometry;
using MagickCore::GetQuantizeInfo;
using MagickCore::GetStringInfoDatum;
using MagickCore::GetStringInfoLength;
using MagickCore::GetTypeMetrics;
using MagickCore::GetValueFromLinkedList;
using MagickCore::GetVirtualIndexQueue;
using MagickCore::GetVirtualPixels;
using MagickCore::GetImageVirtualPixelMethod;
using MagickCore::GlobExpression;
using MagickCore::GravityAdjustGeometry;
using MagickCore::GrayscaleImage;
using MagickCore::GreaterValue;
using MagickCore::HaldClutImage;
using MagickCore::HeightValue;
using MagickCore::HoughLineImage;
using MagickCore::ImageError;
using MagickCore::ImageFatalError;
using MagickCore::ImageInfo;
using MagickCore::ImageRegistryType;
using MagickCore::ImageToBlob;
using MagickCore::ImagesToBlob;
using MagickCore::ImageWarning;
using MagickCore::ImplodeImage;
using MagickCore::ImportQuantumPixels;
using MagickCore::InterpretImageProperties;
using MagickCore::InverseFourierTransformImage;
using MagickCore::InvokeDynamicImageFilter;
using MagickCore::IsEventLogging;
using MagickCore::IsGeometry;
using MagickCore::IsImagesEqual;
using MagickCore::IsOpaqueImage;
using MagickCore::KernelInfo;
using MagickCore::KuwaharaImage;
using MagickCore::LessValue;
using MagickCore::LevelImage;
using MagickCore::LevelImageChannel;
using MagickCore::LevelColorsImageChannel;
using MagickCore::LinearStretchImage;
using MagickCore::LinkedListInfo;
using MagickCore::LiquidRescaleImage;
using MagickCore::LocaleCompare;
using MagickCore::LockSemaphoreInfo;
using MagickCore::LogMagickEvent;
using MagickCore::MagickCoreTerminus;
using MagickCore::MagickInfo;
using MagickCore::MagickPixelPacket;
using MagickCore::MagickToMime;
using MagickCore::MagickWand;
using MagickCore::MagnifyImage;
using MagickCore::MergeImageLayers;
using MagickCore::MinifyImage;
using MagickCore::MinimumValue;
using MagickCore::MissingDelegateError;
using MagickCore::MissingDelegateFatalError;
using MagickCore::MissingDelegateWarning;
using MagickCore::ModulateImage;
using MagickCore::ModuleError;
using MagickCore::ModuleFatalError;
using MagickCore::ModuleWarning;
using MagickCore::MonitorError;
using MagickCore::MonitorFatalError;
using MagickCore::MonitorWarning;
using MagickCore::MontageInfo;
using MagickCore::MorphologyImage;
using MagickCore::MorphologyImageChannel;
using MagickCore::MotionBlurImage;
using MagickCore::NegateImage;
using MagickCore::NegateImageChannel;
using MagickCore::NewMagickWandFromImage;
using MagickCore::NewPixelWand;
using MagickCore::NoiseType;
using MagickCore::NormalizeImage;
using MagickCore::NoValue;
using MagickCore::OffsetInfo;
using MagickCore::OilPaintImage;
using MagickCore::OpaquePaintImage;
using MagickCore::OrderedPosterizeImage;
using MagickCore::OptionError;
using MagickCore::OptionFatalError;
using MagickCore::OptionWarning;
using MagickCore::OptimizeImageLayers;
using MagickCore::OptimizeImageTransparency;
using MagickCore::OptimizePlusImageLayers;
using MagickCore::ParseMetaGeometry;
using MagickCore::PercentValue;
using MagickCore::PerceptibleImage;
using MagickCore::PerceptibleImageChannel;
using MagickCore::PingBlob;
using MagickCore::PingImage;
using MagickCore::PixelSetQuantumColor;
using MagickCore::PixelWand;
using MagickCore::PointInfo;
using MagickCore::PopDrawingWand;
using MagickCore::PolaroidImage;
using MagickCore::PolicyWarning;
using MagickCore::PolicyError;
using MagickCore::PolicyFatalError;
using MagickCore::PosterizeImage;
using MagickCore::PosterizeImageChannel;
using MagickCore::ProfileImage;
using MagickCore::ProfileInfo;
using MagickCore::PushDrawingWand;
using MagickCore::QuantizeImage;
using MagickCore::QuantizeInfo;
using MagickCore::QuantumInfo;
using MagickCore::QueryColorDatabase;
using MagickCore::QueryMagickColor;
using MagickCore::QueueAuthenticPixels;
using MagickCore::QueueCacheViewAuthenticPixels;
using MagickCore::RaiseImage;
using MagickCore::RandomThresholdImageChannel;
using MagickCore::ReadImage;
using MagickCore::RectangleInfo;
using MagickCore::RegisterMagickInfo;
using MagickCore::RegistryError;
using MagickCore::RegistryFatalError;
using MagickCore::RegistryType;
using MagickCore::RegistryWarning;
using MagickCore::RelinquishMagickMemory;
using MagickCore::RemapImage;
using MagickCore::ResampleImage;
using MagickCore::ResetLinkedListIterator;
using MagickCore::ResizeImage;
using MagickCore::ResizeMagickMemory;
using MagickCore::ResourceLimitError;
using MagickCore::ResourceLimitFatalError;
using MagickCore::ResourceLimitWarning;
using MagickCore::RollImage;
using MagickCore::RotateImage;
using MagickCore::RotationalBlurImage;
using MagickCore::RotationalBlurImageChannel;
using MagickCore::SampleImage;
using MagickCore::ScaleImage;
using MagickCore::SegmentImage;
using MagickCore::SelectiveBlurImage;
using MagickCore::SelectiveBlurImageChannel;
using MagickCore::SeparateImageChannel;
using MagickCore::SepiaToneImage;
using MagickCore::SetGeometry;
using MagickCore::SetImageAlphaChannel;
using MagickCore::SetImageArtifact;
using MagickCore::SetImageBackgroundColor;
using MagickCore::SetImageChannelDepth;
using MagickCore::SetImageClipMask;
using MagickCore::SetImageColorspace;
using MagickCore::SetImageDepth;
using MagickCore::SetImageExtent;
using MagickCore::SetImageInfo;
using MagickCore::SetImageInfoFile;
using MagickCore::SetImageMask;
using MagickCore::SetImageOpacity;
using MagickCore::SetImageOption;
using MagickCore::SetImageProfile;
using MagickCore::SetImageProperty;
using MagickCore::SetImageRegistry;
using MagickCore::SetImageType;
using MagickCore::SetLogEventMask;
using MagickCore::SetMagickInfo;
using MagickCore::SetMagickResourceLimit;
using MagickCore::SetStringInfoDatum;
using MagickCore::SetImageVirtualPixelMethod;
using MagickCore::ShadeImage;
using MagickCore::ShadowImage;
using MagickCore::SharpenImage;
using MagickCore::SharpenImageChannel;
using MagickCore::ShaveImage;
using MagickCore::ShearImage;
using MagickCore::SimilarityMetricImage;
using MagickCore::SigmoidalContrastImageChannel;
using MagickCore::SignatureImage;
using MagickCore::SketchImage;
using MagickCore::SmushImages;
using MagickCore::SolarizeImage;
using MagickCore::SparseColorImage;
using MagickCore::SpliceImage;
using MagickCore::SpreadImage;
using MagickCore::StatisticImage;
using MagickCore::SteganoImage;
using MagickCore::StereoImage;
using MagickCore::StreamError;
using MagickCore::StreamFatalError;
using MagickCore::StreamWarning;
using MagickCore::StringInfo;
using MagickCore::StripImage;
using MagickCore::SwirlImage;
using MagickCore::SyncCacheViewAuthenticPixels;
using MagickCore::SyncImage;
using MagickCore::SyncAuthenticPixels;
using MagickCore::TextureImage;
using MagickCore::ThrowException;
using MagickCore::TintImage;
using MagickCore::TransformImage;
using MagickCore::TransformImageColorspace;
using MagickCore::TransparentPaintImage;
using MagickCore::TransparentPaintImageChroma;
using MagickCore::TransposeImage;
using MagickCore::TransverseImage;
using MagickCore::TrimImage;
using MagickCore::TypeError;
using MagickCore::TypeFatalError;
using MagickCore::TypeWarning;
using MagickCore::UndefinedException;
using MagickCore::UndefinedRegistryType;
using MagickCore::UniqueImageColors;
using MagickCore::UnlockSemaphoreInfo;
using MagickCore::UnregisterMagickInfo;
using MagickCore::UnsharpMaskImage;
using MagickCore::UnsharpMaskImageChannel;
using MagickCore::VignetteImage;
using MagickCore::CacheView;
using MagickCore::WaveImage;
using MagickCore::WhiteThresholdImage;
using MagickCore::WhiteThresholdImageChannel;
using MagickCore::WidthValue;
using MagickCore::WriteImage;
using MagickCore::XNegative;
using MagickCore::XServerError;
using MagickCore::XServerFatalError;
using MagickCore::XServerWarning;
using MagickCore::XValue;
using MagickCore::YNegative;
using MagickCore::YValue;
#endif // MAGICKCORE_IMPLEMENTATION
}
//////////////////////////////////////////////////////////////////////
//
// No user-serviceable parts beyond this point
//
//////////////////////////////////////////////////////////////////////
#define GetPPException \
MagickCore::ExceptionInfo \
*exceptionInfo; \
exceptionInfo=MagickCore::AcquireExceptionInfo()
#define ThrowPPException(quiet) \
throwException(exceptionInfo,quiet); \
(void) MagickCore::DestroyExceptionInfo(exceptionInfo)
#endif // Magick_Include_header