Static build of Imagemagick 7.0.5-5

This commit is contained in:
2019-06-12 22:16:24 -07:00
parent 1d2e696b27
commit 870382a304
201 changed files with 29283 additions and 0 deletions

View File

@@ -0,0 +1,136 @@
/*
Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
obtain a copy of the License at
https://www.imagemagick.org/script/license.php
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
MagickWand Application Programming Interface declarations.
*/
#ifndef MAGICKWAND_MAGICKWAND_H
#define MAGICKWAND_MAGICKWAND_H
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#if !defined(MAGICKWAND_CONFIG_H)
# define MAGICKWAND_CONFIG_H
# if !defined(vms) && !defined(macintosh)
# include "MagickCore/magick-config.h"
# else
# include "magick-config.h"
# endif
#if defined(_magickcore_const) && !defined(const)
# define const _magickcore_const
#endif
#if defined(_magickcore_inline) && !defined(inline)
# define inline _magickcore_inline
#endif
#if !defined(magick_restrict)
# if !defined(_magickcore_restrict)
# define magick_restrict restrict
# else
# define magick_restrict _magickcore_restrict
# endif
#endif
# if defined(__cplusplus) || defined(c_plusplus)
# undef inline
# endif
#endif
#if __cplusplus > 199711L
#define register
#endif
#define MAGICKWAND_CHECK_VERSION(major,minor,micro) \
((MAGICKWAND_MAJOR_VERSION > (major)) || \
((MAGICKWAND_MAJOR_VERSION == (major)) && \
(MAGICKWAND_MINOR_VERSION > (minor))) || \
((MAGICKWAND_MAJOR_VERSION == (major)) && \
(MAGICKWAND_MINOR_VERSION == (minor)) && \
(MAGICKWAND_MICRO_VERSION >= (micro))))
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <math.h>
#include <sys/types.h>
#include <time.h>
#if defined(WIN32) || defined(WIN64)
# define MAGICKWAND_WINDOWS_SUPPORT
#else
# define MAGICKWAND_POSIX_SUPPORT
#endif
typedef struct _MagickWand
MagickWand;
#include "MagickWand/method-attribute.h"
#include "MagickCore/MagickCore.h"
#include "MagickWand/animate.h"
#include "MagickWand/compare.h"
#include "MagickWand/composite.h"
#include "MagickWand/conjure.h"
#include "MagickWand/convert.h"
#include "MagickWand/deprecate.h"
#include "MagickWand/display.h"
#include "MagickWand/drawing-wand.h"
#include "MagickWand/identify.h"
#include "MagickWand/import.h"
#include "MagickWand/wandcli.h"
#include "MagickWand/operation.h"
#include "MagickWand/magick-cli.h"
#include "MagickWand/magick-property.h"
#include "MagickWand/magick-image.h"
#include "MagickWand/mogrify.h"
#include "MagickWand/montage.h"
#include "MagickWand/pixel-iterator.h"
#include "MagickWand/pixel-wand.h"
#include "MagickWand/stream.h"
#include "MagickWand/wand-view.h"
extern WandExport char
*MagickGetException(const MagickWand *,ExceptionType *);
extern WandExport ExceptionType
MagickGetExceptionType(const MagickWand *);
extern WandExport MagickBooleanType
IsMagickWand(const MagickWand *),
IsMagickWandInstantiated(void),
MagickClearException(MagickWand *),
MagickSetIteratorIndex(MagickWand *,const ssize_t);
extern WandExport MagickWand
*CloneMagickWand(const MagickWand *),
*DestroyMagickWand(MagickWand *),
*NewMagickWand(void),
*NewMagickWandFromImage(const Image *);
extern WandExport ssize_t
MagickGetIteratorIndex(MagickWand *);
extern WandExport void
ClearMagickWand(MagickWand *),
MagickWandGenesis(void),
MagickWandTerminus(void),
*MagickRelinquishMemory(void *),
MagickResetIterator(MagickWand *),
MagickSetFirstIterator(MagickWand *),
MagickSetLastIterator(MagickWand *);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif

View File

@@ -0,0 +1,32 @@
/*
Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
obtain a copy of the License at
https://www.imagemagick.org/script/license.php
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
MagickWand animate command-line methods.
*/
#ifndef MAGICKWAND_ANIMATE_H
#define MAGICKWAND_ANIMATE_H
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
extern WandExport MagickBooleanType
AnimateImageCommand(ImageInfo *,int,char **,char **,ExceptionInfo *);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif

View File

@@ -0,0 +1,32 @@
/*
Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
obtain a copy of the License at
https://www.imagemagick.org/script/license.php
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
MagickWand compare command-line method.
*/
#ifndef MAGICKWAND_COMPARE_H
#define MAGICKWAND_COMPARE_H
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
extern WandExport MagickBooleanType
CompareImagesCommand(ImageInfo *,int,char **,char **,ExceptionInfo *);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif

View File

@@ -0,0 +1,32 @@
/*
Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
obtain a copy of the License at
https://www.imagemagick.org/script/license.php
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
MagickWand composite command-line method.
*/
#ifndef MAGICKWAND_COMPOSITE_H
#define MAGICKWAND_COMPOSITE_H
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
extern WandExport MagickBooleanType
CompositeImageCommand(ImageInfo *,int,char **,char **,ExceptionInfo *);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif

View File

@@ -0,0 +1,32 @@
/*
Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
obtain a copy of the License at
https://www.imagemagick.org/script/license.php
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
MagickWand conjure command-line method.
*/
#ifndef MAGICKWAND_CONJURE_H
#define MAGICKWAND_CONJURE_H
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
extern WandExport MagickBooleanType
ConjureImageCommand(ImageInfo *,int,char **,char **,ExceptionInfo *);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif

View File

@@ -0,0 +1,32 @@
/*
Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
obtain a copy of the License at
https://www.imagemagick.org/script/license.php
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
MagickWand convert command-line method.
*/
#ifndef MAGICKWAND_CONVERT_H
#define MAGICKWAND_CONVERT_H
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
extern WandExport MagickBooleanType
ConvertImageCommand(ImageInfo *,int,char **,char **,ExceptionInfo *);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif

View File

@@ -0,0 +1,39 @@
/*
Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
obtain a copy of the License at
https://www.imagemagick.org/script/license.php
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
MagickCore deprecated methods.
*/
#ifndef MAGICKWAND_DEPRECATE_H
#define MAGICKWAND_DEPRECATE_H
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#include "MagickWand/pixel-wand.h"
#if !defined(MAGICKCORE_EXCLUDE_DEPRECATED)
extern WandExport MagickBooleanType
MagickGetImageAlphaColor(MagickWand *,PixelWand *),
MagickSetImageAlphaColor(MagickWand *,const PixelWand *);
#endif
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif

View File

@@ -0,0 +1,32 @@
/*
Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
obtain a copy of the License at
https://www.imagemagick.org/script/license.php
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
MagickWand display command-line method.
*/
#ifndef MAGICKWAND_DISPLAY_H
#define MAGICKWAND_DISPLAY_H
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
extern WandExport MagickBooleanType
DisplayImageCommand(ImageInfo *,int,char **,char **,ExceptionInfo *);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif

View File

@@ -0,0 +1,228 @@
/*
Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
obtain a copy of the License at
https://www.imagemagick.org/script/license.php
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
MagickWand drawing wand methods.
*/
#ifndef MAGICKWAND_DRAWING_WAND_H
#define MAGICKWAND_DRAWING_WAND_H
#include "MagickWand/pixel-wand.h"
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
typedef struct _DrawingWand
DrawingWand;
extern WandExport AlignType
DrawGetTextAlignment(const DrawingWand *);
extern WandExport char
*DrawGetClipPath(const DrawingWand *),
*DrawGetDensity(const DrawingWand *),
*DrawGetException(const DrawingWand *,ExceptionType *),
*DrawGetFont(const DrawingWand *),
*DrawGetFontFamily(const DrawingWand *),
*DrawGetTextEncoding(const DrawingWand *),
*DrawGetVectorGraphics(DrawingWand *);
extern WandExport ClipPathUnits
DrawGetClipUnits(const DrawingWand *);
extern WandExport DecorationType
DrawGetTextDecoration(const DrawingWand *);
extern WandExport DirectionType
DrawGetTextDirection(const DrawingWand *);
extern WandExport double
DrawGetFillOpacity(const DrawingWand *),
DrawGetFontSize(const DrawingWand *),
DrawGetOpacity(const DrawingWand *),
*DrawGetStrokeDashArray(const DrawingWand *,size_t *),
DrawGetStrokeDashOffset(const DrawingWand *),
DrawGetStrokeOpacity(const DrawingWand *),
DrawGetStrokeWidth(const DrawingWand *),
DrawGetTextKerning(DrawingWand *),
DrawGetTextInterlineSpacing(DrawingWand *),
DrawGetTextInterwordSpacing(DrawingWand *);
extern WandExport DrawInfo
*PeekDrawingWand(const DrawingWand *);
extern WandExport DrawingWand
*AcquireDrawingWand(const DrawInfo *,Image *),
*CloneDrawingWand(const DrawingWand *),
*DestroyDrawingWand(DrawingWand *),
*NewDrawingWand(void);
extern WandExport ExceptionInfo
*DrawCloneExceptionInfo(const DrawingWand *wand);
extern WandExport ExceptionType
DrawGetExceptionType(const DrawingWand *);
extern WandExport FillRule
DrawGetClipRule(const DrawingWand *),
DrawGetFillRule(const DrawingWand *);
extern WandExport GravityType
DrawGetGravity(const DrawingWand *);
extern WandExport LineCap
DrawGetStrokeLineCap(const DrawingWand *);
extern WandExport LineJoin
DrawGetStrokeLineJoin(const DrawingWand *);
extern WandExport MagickBooleanType
DrawClearException(DrawingWand *),
DrawComposite(DrawingWand *,const CompositeOperator,const double,const double,
const double,const double,MagickWand *),
DrawGetFontResolution(const DrawingWand *,double *,double *),
DrawGetStrokeAntialias(const DrawingWand *),
DrawGetTextAntialias(const DrawingWand *),
DrawPopPattern(DrawingWand *),
DrawPushPattern(DrawingWand *,const char *,const double,const double,
const double,const double),
DrawRender(DrawingWand *),
DrawSetClipPath(DrawingWand *,const char *),
DrawSetDensity(DrawingWand *,const char *),
DrawSetFillPatternURL(DrawingWand *,const char *),
DrawSetFont(DrawingWand *,const char *),
DrawSetFontFamily(DrawingWand *,const char *),
DrawSetFontResolution(DrawingWand *,const double,const double),
DrawSetStrokeDashArray(DrawingWand *,const size_t,const double *),
DrawSetStrokePatternURL(DrawingWand *,const char *),
DrawSetVectorGraphics(DrawingWand *,const char *),
IsDrawingWand(const DrawingWand *),
PopDrawingWand(DrawingWand *),
PushDrawingWand(DrawingWand *);
extern WandExport StretchType
DrawGetFontStretch(const DrawingWand *);
extern WandExport StyleType
DrawGetFontStyle(const DrawingWand *);
extern WandExport size_t
DrawGetFontWeight(const DrawingWand *),
DrawGetStrokeMiterLimit(const DrawingWand *);
extern WandExport void
ClearDrawingWand(DrawingWand *),
DrawAffine(DrawingWand *,const AffineMatrix *),
DrawAlpha(DrawingWand *,const double,const double,const PaintMethod),
DrawAnnotation(DrawingWand *,const double,const double,const unsigned char *),
DrawArc(DrawingWand *,const double,const double,const double,const double,
const double,const double),
DrawBezier(DrawingWand *,const size_t,const PointInfo *),
DrawGetBorderColor(const DrawingWand *,PixelWand *),
DrawCircle(DrawingWand *,const double,const double,const double,const double),
DrawColor(DrawingWand *,const double,const double,const PaintMethod),
DrawComment(DrawingWand *,const char *),
DrawEllipse(DrawingWand *,const double,const double,const double,const double,
const double,const double),
DrawGetFillColor(const DrawingWand *,PixelWand *),
DrawGetStrokeColor(const DrawingWand *,PixelWand *),
DrawSetTextKerning(DrawingWand *,const double),
DrawSetTextInterlineSpacing(DrawingWand *,const double),
DrawSetTextInterwordSpacing(DrawingWand *,const double),
DrawGetTextUnderColor(const DrawingWand *,PixelWand *),
DrawLine(DrawingWand *,const double, const double,const double,const double),
DrawPathClose(DrawingWand *),
DrawPathCurveToAbsolute(DrawingWand *,const double,const double,const double,
const double,const double,const double),
DrawPathCurveToRelative(DrawingWand *,const double,const double,const double,
const double,const double, const double),
DrawPathCurveToQuadraticBezierAbsolute(DrawingWand *,const double,
const double,const double,const double),
DrawPathCurveToQuadraticBezierRelative(DrawingWand *,const double,
const double,const double,const double),
DrawPathCurveToQuadraticBezierSmoothAbsolute(DrawingWand *,const double,
const double),
DrawPathCurveToQuadraticBezierSmoothRelative(DrawingWand *,const double,
const double),
DrawPathCurveToSmoothAbsolute(DrawingWand *,const double,const double,
const double,const double),
DrawPathCurveToSmoothRelative(DrawingWand *,const double,const double,
const double,const double),
DrawPathEllipticArcAbsolute(DrawingWand *,const double,const double,
const double,const MagickBooleanType,const MagickBooleanType,const double,
const double),
DrawPathEllipticArcRelative(DrawingWand *,const double,const double,
const double,const MagickBooleanType,const MagickBooleanType,const double,
const double),
DrawPathFinish(DrawingWand *),
DrawPathLineToAbsolute(DrawingWand *,const double,const double),
DrawPathLineToRelative(DrawingWand *,const double,const double),
DrawPathLineToHorizontalAbsolute(DrawingWand *,const double),
DrawPathLineToHorizontalRelative(DrawingWand *,const double),
DrawPathLineToVerticalAbsolute(DrawingWand *,const double),
DrawPathLineToVerticalRelative(DrawingWand *,const double),
DrawPathMoveToAbsolute(DrawingWand *,const double,const double),
DrawPathMoveToRelative(DrawingWand *,const double,const double),
DrawPathStart(DrawingWand *),
DrawPoint(DrawingWand *,const double,const double),
DrawPolygon(DrawingWand *,const size_t,const PointInfo *),
DrawPolyline(DrawingWand *,const size_t,const PointInfo *),
DrawPopClipPath(DrawingWand *),
DrawPopDefs(DrawingWand *),
DrawPushClipPath(DrawingWand *,const char *),
DrawPushDefs(DrawingWand *),
DrawRectangle(DrawingWand *,const double,const double,const double,
const double),
DrawResetVectorGraphics(DrawingWand *),
DrawRotate(DrawingWand *,const double),
DrawRoundRectangle(DrawingWand *,double,double,double,double,double,double),
DrawScale(DrawingWand *,const double,const double),
DrawSetBorderColor(DrawingWand *,const PixelWand *),
DrawSetClipRule(DrawingWand *,const FillRule),
DrawSetClipUnits(DrawingWand *,const ClipPathUnits),
DrawSetFillColor(DrawingWand *,const PixelWand *),
DrawSetFillOpacity(DrawingWand *,const double),
DrawSetFillRule(DrawingWand *,const FillRule),
DrawSetFontSize(DrawingWand *,const double),
DrawSetFontStretch(DrawingWand *,const StretchType),
DrawSetFontStyle(DrawingWand *,const StyleType),
DrawSetFontWeight(DrawingWand *,const size_t),
DrawSetGravity(DrawingWand *,const GravityType),
DrawSetOpacity(DrawingWand *,const double),
DrawSetStrokeAntialias(DrawingWand *,const MagickBooleanType),
DrawSetStrokeColor(DrawingWand *,const PixelWand *),
DrawSetStrokeDashOffset(DrawingWand *,const double dashoffset),
DrawSetStrokeLineCap(DrawingWand *,const LineCap),
DrawSetStrokeLineJoin(DrawingWand *,const LineJoin),
DrawSetStrokeMiterLimit(DrawingWand *,const size_t),
DrawSetStrokeOpacity(DrawingWand *, const double),
DrawSetStrokeWidth(DrawingWand *,const double),
DrawSetTextAlignment(DrawingWand *,const AlignType),
DrawSetTextAntialias(DrawingWand *,const MagickBooleanType),
DrawSetTextDecoration(DrawingWand *,const DecorationType),
DrawSetTextDirection(DrawingWand *,const DirectionType),
DrawSetTextEncoding(DrawingWand *,const char *),
DrawSetTextUnderColor(DrawingWand *,const PixelWand *),
DrawSetViewbox(DrawingWand *,const double,const double,const double,
const double),
DrawSkewX(DrawingWand *,const double),
DrawSkewY(DrawingWand *,const double),
DrawTranslate(DrawingWand *,const double,const double);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif

View File

@@ -0,0 +1,32 @@
/*
Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
obtain a copy of the License at
https://www.imagemagick.org/script/license.php
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
MagickWand identify command-line method.
*/
#ifndef MAGICKWAND_IDENTIFY_H
#define MAGICKWAND_IDENTIFY_H
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
extern WandExport MagickBooleanType
IdentifyImageCommand(ImageInfo *,int,char **,char **,ExceptionInfo *);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif

View File

@@ -0,0 +1,32 @@
/*
Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
obtain a copy of the License at
https://www.imagemagick.org/script/license.php
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
MagickWand import command-line method.
*/
#ifndef MAGICKWAND_IMPORT_H
#define MAGICKWAND_IMPORT_H
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
extern WandExport MagickBooleanType
ImportImageCommand(ImageInfo *,int,char **,char **,ExceptionInfo *);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif

View File

@@ -0,0 +1,38 @@
/*
Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
obtain a copy of the License at
https://www.imagemagick.org/script/license.php
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
MagickWand convert command-line method.
*/
#ifndef MAGICKWAND_MAGICK_CLI_H
#define MAGICKWAND_MAGICK_CLI_H
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
extern WandExport void
ProcessScriptOptions(MagickCLI *,const char *,int,char **,int);
extern WandExport int
ProcessCommandOptions(MagickCLI *,int,char **,int);
extern WandExport MagickBooleanType
MagickImageCommand(ImageInfo *,int,char **,char **,ExceptionInfo *);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif

View File

@@ -0,0 +1,398 @@
/*
Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
obtain a copy of the License at
https://www.imagemagick.org/script/license.php
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
MagickWand image Methods.
*/
#ifndef MAGICKWAND_MAGICK_IMAGE_H
#define MAGICKWAND_MAGICK_IMAGE_H
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
extern WandExport ChannelFeatures
*MagickGetImageFeatures(MagickWand *,const size_t);
extern WandExport ChannelType
MagickSetImageChannelMask(MagickWand *,const ChannelType);
extern WandExport ChannelStatistics
*MagickGetImageStatistics(MagickWand *);
extern WandExport char
*MagickGetImageFilename(MagickWand *),
*MagickGetImageFormat(MagickWand *),
*MagickGetImageSignature(MagickWand *),
*MagickIdentifyImage(MagickWand *);
extern WandExport ColorspaceType
MagickGetImageColorspace(MagickWand *);
extern WandExport CompositeOperator
MagickGetImageCompose(MagickWand *);
extern WandExport CompressionType
MagickGetImageCompression(MagickWand *);
extern WandExport DisposeType
MagickGetImageDispose(MagickWand *);
extern WandExport double
*MagickGetImageDistortions(MagickWand *,const MagickWand *,
const MetricType),
MagickGetImageFuzz(MagickWand *),
MagickGetImageGamma(MagickWand *),
MagickGetImageTotalInkDensity(MagickWand *);
extern WandExport EndianType
MagickGetImageEndian(MagickWand *);
extern WandExport GravityType
MagickGetImageGravity(MagickWand *);
extern WandExport Image
*MagickDestroyImage(Image *),
*GetImageFromMagickWand(const MagickWand *);
extern WandExport ImageType
MagickGetImageType(MagickWand *),
MagickIdentifyImageType(MagickWand *);
extern WandExport InterlaceType
MagickGetImageInterlaceScheme(MagickWand *);
extern WandExport PixelInterpolateMethod
MagickGetImageInterpolateMethod(MagickWand *);
extern WandExport MagickBooleanType
MagickAdaptiveBlurImage(MagickWand *,const double,const double),
MagickAdaptiveResizeImage(MagickWand *,const size_t,const size_t),
MagickAdaptiveSharpenImage(MagickWand *,const double,const double),
MagickAdaptiveThresholdImage(MagickWand *,const size_t,const size_t,
const double),
MagickAddImage(MagickWand *,const MagickWand *),
MagickAddNoiseImage(MagickWand *,const NoiseType,const double),
MagickAffineTransformImage(MagickWand *,const DrawingWand *),
MagickAnnotateImage(MagickWand *,const DrawingWand *,const double,
const double,const double,const char *),
MagickAnimateImages(MagickWand *,const char *),
MagickAutoGammaImage(MagickWand *),
MagickAutoLevelImage(MagickWand *),
MagickAutoOrientImage(MagickWand *),
MagickBlackThresholdImage(MagickWand *,const PixelWand *),
MagickBlueShiftImage(MagickWand *,const double),
MagickBlurImage(MagickWand *,const double,const double),
MagickBorderImage(MagickWand *,const PixelWand *,const size_t,const size_t,
const CompositeOperator compose),
MagickBrightnessContrastImage(MagickWand *,const double,const double),
MagickCharcoalImage(MagickWand *,const double,const double),
MagickChopImage(MagickWand *,const size_t,const size_t,const ssize_t,
const ssize_t),
MagickClampImage(MagickWand *),
MagickClipImage(MagickWand *),
MagickClipImagePath(MagickWand *,const char *,const MagickBooleanType),
MagickClutImage(MagickWand *,const MagickWand *,const PixelInterpolateMethod),
MagickColorDecisionListImage(MagickWand *,const char *),
MagickColorizeImage(MagickWand *,const PixelWand *,const PixelWand *),
MagickColorMatrixImage(MagickWand *,const KernelInfo *),
MagickCommentImage(MagickWand *,const char *),
MagickCompositeImage(MagickWand *,const MagickWand *,const CompositeOperator,
const MagickBooleanType,const ssize_t,const ssize_t),
MagickCompositeImageGravity(MagickWand *,const MagickWand *,
const CompositeOperator,const GravityType),
MagickCompositeLayers(MagickWand *,const MagickWand *,const CompositeOperator,
const ssize_t,const ssize_t),
MagickConstituteImage(MagickWand *,const size_t,const size_t,const char *,
const StorageType,const void *),
MagickContrastImage(MagickWand *,const MagickBooleanType),
MagickContrastStretchImage(MagickWand *,const double,const double),
MagickConvolveImage(MagickWand *,const KernelInfo *),
MagickCropImage(MagickWand *,const size_t,const size_t,const ssize_t,
const ssize_t),
MagickCycleColormapImage(MagickWand *,const ssize_t),
MagickDecipherImage(MagickWand *,const char *),
MagickDeskewImage(MagickWand *,const double),
MagickDespeckleImage(MagickWand *),
MagickDisplayImage(MagickWand *,const char *),
MagickDisplayImages(MagickWand *,const char *),
MagickDistortImage(MagickWand *,const DistortMethod,const size_t,
const double *,const MagickBooleanType),
MagickDrawImage(MagickWand *,const DrawingWand *),
MagickEdgeImage(MagickWand *,const double),
MagickEmbossImage(MagickWand *,const double,const double),
MagickEncipherImage(MagickWand *,const char *),
MagickEnhanceImage(MagickWand *),
MagickEqualizeImage(MagickWand *),
MagickEvaluateImage(MagickWand *,const MagickEvaluateOperator,const double),
MagickExportImagePixels(MagickWand *,const ssize_t,const ssize_t,
const size_t,const size_t,const char *,const StorageType,void *),
MagickExtentImage(MagickWand *,const size_t,const size_t,const ssize_t,
const ssize_t),
MagickFlipImage(MagickWand *),
MagickFloodfillPaintImage(MagickWand *,const PixelWand *,const double,
const PixelWand *,const ssize_t,const ssize_t,const MagickBooleanType),
MagickFlopImage(MagickWand *),
MagickForwardFourierTransformImage(MagickWand *,const MagickBooleanType),
MagickFrameImage(MagickWand *,const PixelWand *,const size_t,const size_t,
const ssize_t,const ssize_t,const CompositeOperator),
MagickFunctionImage(MagickWand *,const MagickFunction,const size_t,
const double *),
MagickGammaImage(MagickWand *,const double),
MagickGaussianBlurImage(MagickWand *,const double,const double),
MagickGetImageAlphaChannel(MagickWand *),
MagickGetImageBackgroundColor(MagickWand *,PixelWand *),
MagickGetImageBluePrimary(MagickWand *,double *,double *,double *),
MagickGetImageBorderColor(MagickWand *,PixelWand *),
MagickGetImageKurtosis(MagickWand *,double *,double *),
MagickGetImageMean(MagickWand *,double *,double *),
MagickGetImageRange(MagickWand *,double *,double *),
MagickGetImageColormapColor(MagickWand *,const size_t,PixelWand *),
MagickGetImageDistortion(MagickWand *,const MagickWand *,const MetricType,
double *),
MagickGetImageGreenPrimary(MagickWand *,double *,double *,double *),
MagickGetImageLength(MagickWand *,MagickSizeType *),
MagickGetImageMatteColor(MagickWand *,PixelWand *),
MagickGetImagePage(MagickWand *,size_t *,size_t *,ssize_t *,
ssize_t *),
MagickGetImagePixelColor(MagickWand *,const ssize_t,const ssize_t,
PixelWand *),
MagickGetImageRange(MagickWand *,double *,double *),
MagickGetImageRedPrimary(MagickWand *,double *,double *,double *),
MagickGetImageResolution(MagickWand *,double *,double *),
MagickGetImageWhitePoint(MagickWand *,double *,double *,double *),
MagickHaldClutImage(MagickWand *,const MagickWand *),
MagickHasNextImage(MagickWand *),
MagickHasPreviousImage(MagickWand *),
MagickImplodeImage(MagickWand *,const double,const PixelInterpolateMethod),
MagickImportImagePixels(MagickWand *,const ssize_t,const ssize_t,const size_t,
const size_t,const char *,const StorageType,const void *),
MagickInterpolativeResizeImage(MagickWand *,const size_t,const size_t,
const PixelInterpolateMethod),
MagickInverseFourierTransformImage(MagickWand *,MagickWand *,
const MagickBooleanType),
MagickLabelImage(MagickWand *,const char *),
MagickLevelImage(MagickWand *,const double,const double,const double),
MagickLinearStretchImage(MagickWand *,const double,const double),
MagickLiquidRescaleImage(MagickWand *,const size_t,const size_t,const double,
const double),
MagickLocalContrastImage(MagickWand *,const double,const double),
MagickMagnifyImage(MagickWand *),
MagickMedianConvolveImage(MagickWand *,const double),
MagickMinifyImage(MagickWand *),
MagickModeImage(MagickWand *,const double),
MagickModulateImage(MagickWand *,const double,const double,const double),
MagickMorphologyImage(MagickWand *,MorphologyMethod,const ssize_t,
KernelInfo *),
MagickMotionBlurImage(MagickWand *,const double,const double,const double),
MagickNegateImage(MagickWand *,const MagickBooleanType),
MagickNewImage(MagickWand *,const size_t,const size_t,const PixelWand *),
MagickNextImage(MagickWand *),
MagickNormalizeImage(MagickWand *),
MagickOilPaintImage(MagickWand *,const double,const double),
MagickOpaquePaintImage(MagickWand *,const PixelWand *,const PixelWand *,
const double,const MagickBooleanType),
MagickOptimizeImageTransparency(MagickWand *),
MagickOrderedDitherImage(MagickWand *,const char *),
MagickTransparentPaintImage(MagickWand *,const PixelWand *,
const double,const double,const MagickBooleanType invert),
MagickPingImage(MagickWand *,const char *),
MagickPingImageBlob(MagickWand *,const void *,const size_t),
MagickPingImageFile(MagickWand *,FILE *),
MagickPolaroidImage(MagickWand *,const DrawingWand *,const char *,
const double,const PixelInterpolateMethod),
MagickPosterizeImage(MagickWand *,const size_t,const DitherMethod),
MagickPreviousImage(MagickWand *),
MagickQuantizeImage(MagickWand *,const size_t,const ColorspaceType,
const size_t,const DitherMethod,const MagickBooleanType),
MagickQuantizeImages(MagickWand *,const size_t,const ColorspaceType,
const size_t,const DitherMethod,const MagickBooleanType),
MagickRotationalBlurImage(MagickWand *,const double),
MagickRaiseImage(MagickWand *,const size_t,const size_t,const ssize_t,
const ssize_t,const MagickBooleanType),
MagickRandomThresholdImage(MagickWand *,const double,const double),
MagickReadImage(MagickWand *,const char *),
MagickReadImageBlob(MagickWand *,const void *,const size_t),
MagickReadImageFile(MagickWand *,FILE *),
MagickReduceNoiseImage(MagickWand *,const double),
MagickRemapImage(MagickWand *,const MagickWand *,const DitherMethod),
MagickRemoveImage(MagickWand *),
MagickResampleImage(MagickWand *,const double,const double,const FilterType),
MagickResetImagePage(MagickWand *,const char *),
MagickResizeImage(MagickWand *,const size_t,const size_t,const FilterType),
MagickRollImage(MagickWand *,const ssize_t,const ssize_t),
MagickRotateImage(MagickWand *,const PixelWand *,const double),
MagickSampleImage(MagickWand *,const size_t,const size_t),
MagickScaleImage(MagickWand *,const size_t,const size_t),
MagickSegmentImage(MagickWand *,const ColorspaceType,const MagickBooleanType,
const double,const double),
MagickSelectiveBlurImage(MagickWand *,const double,const double,
const double),
MagickSeparateImage(MagickWand *,const ChannelType),
MagickSepiaToneImage(MagickWand *,const double),
MagickSetImage(MagickWand *,const MagickWand *),
MagickSetImageAlpha(MagickWand *,const double),
MagickSetImageAlphaChannel(MagickWand *,const AlphaChannelOption),
MagickSetImageBackgroundColor(MagickWand *,const PixelWand *),
MagickSetImageBluePrimary(MagickWand *,const double,const double,
const double),
MagickSetImageBorderColor(MagickWand *,const PixelWand *),
MagickSetImageColor(MagickWand *,const PixelWand *),
MagickSetImageColormapColor(MagickWand *,const size_t,
const PixelWand *),
MagickSetImageColorspace(MagickWand *,const ColorspaceType),
MagickSetImageCompose(MagickWand *,const CompositeOperator),
MagickSetImageCompression(MagickWand *,const CompressionType),
MagickSetImageDelay(MagickWand *,const size_t),
MagickSetImageDepth(MagickWand *,const size_t),
MagickSetImageDispose(MagickWand *,const DisposeType),
MagickSetImageCompressionQuality(MagickWand *,const size_t),
MagickSetImageEndian(MagickWand *,const EndianType),
MagickSetImageExtent(MagickWand *,const size_t,const size_t),
MagickSetImageFilename(MagickWand *,const char *),
MagickSetImageFormat(MagickWand *,const char *),
MagickSetImageFuzz(MagickWand *,const double),
MagickSetImageGamma(MagickWand *,const double),
MagickSetImageGravity(MagickWand *,const GravityType),
MagickSetImageGreenPrimary(MagickWand *,const double,const double,
const double),
MagickSetImageInterlaceScheme(MagickWand *,const InterlaceType),
MagickSetImageInterpolateMethod(MagickWand *,const PixelInterpolateMethod),
MagickSetImageIterations(MagickWand *,const size_t),
MagickSetImageMatte(MagickWand *,const MagickBooleanType),
MagickSetImageMatteColor(MagickWand *,const PixelWand *),
MagickSetImageOrientation(MagickWand *,const OrientationType),
MagickSetImagePage(MagickWand *,const size_t,const size_t,const ssize_t,
const ssize_t),
MagickSetImageRedPrimary(MagickWand *,const double,const double,
const double),
MagickSetImageRenderingIntent(MagickWand *,const RenderingIntent),
MagickSetImageResolution(MagickWand *,const double,const double),
MagickSetImageScene(MagickWand *,const size_t),
MagickSetImageTicksPerSecond(MagickWand *,const ssize_t),
MagickSetImageType(MagickWand *,const ImageType),
MagickSetImageUnits(MagickWand *,const ResolutionType),
MagickSetImageWhitePoint(MagickWand *,const double,const double,
const double),
MagickShadeImage(MagickWand *,const MagickBooleanType,const double,
const double),
MagickShadowImage(MagickWand *,const double,const double,const ssize_t,
const ssize_t),
MagickSharpenImage(MagickWand *,const double,const double),
MagickShaveImage(MagickWand *,const size_t,const size_t),
MagickShearImage(MagickWand *,const PixelWand *,const double,const double),
MagickSigmoidalContrastImage(MagickWand *,const MagickBooleanType,
const double,const double),
MagickSketchImage(MagickWand *,const double,const double,const double),
MagickSolarizeImage(MagickWand *,const double),
MagickSparseColorImage(MagickWand *,const SparseColorMethod,const size_t,
const double *),
MagickSpliceImage(MagickWand *,const size_t,const size_t,const ssize_t,
const ssize_t),
MagickSpreadImage(MagickWand *,const PixelInterpolateMethod,const double),
MagickStatisticImage(MagickWand *,const StatisticType,const size_t,
const size_t),
MagickStripImage(MagickWand *),
MagickSwirlImage(MagickWand *,const double,const PixelInterpolateMethod),
MagickTintImage(MagickWand *,const PixelWand *,const PixelWand *),
MagickTransformImageColorspace(MagickWand *,const ColorspaceType),
MagickTransposeImage(MagickWand *),
MagickTransverseImage(MagickWand *),
MagickThresholdImage(MagickWand *,const double),
MagickThresholdImageChannel(MagickWand *,const ChannelType,const double),
MagickThumbnailImage(MagickWand *,const size_t,const size_t),
MagickTrimImage(MagickWand *,const double),
MagickUniqueImageColors(MagickWand *),
MagickUnsharpMaskImage(MagickWand *,const double,const double,const double,
const double),
MagickVignetteImage(MagickWand *,const double,const double,const ssize_t,
const ssize_t),
MagickWaveImage(MagickWand *,const double,const double,
const PixelInterpolateMethod),
MagickWhiteThresholdImage(MagickWand *,const PixelWand *),
MagickWriteImage(MagickWand *,const char *),
MagickWriteImageFile(MagickWand *,FILE *),
MagickWriteImages(MagickWand *,const char *,const MagickBooleanType),
MagickWriteImagesFile(MagickWand *,FILE *);
extern WandExport MagickProgressMonitor
MagickSetImageProgressMonitor(MagickWand *,const MagickProgressMonitor,
void *);
extern WandExport MagickWand
*MagickAppendImages(MagickWand *,const MagickBooleanType),
*MagickChannelFxImage(MagickWand *,const char *),
*MagickCoalesceImages(MagickWand *),
*MagickCombineImages(MagickWand *,const ColorspaceType),
*MagickCompareImages(MagickWand *,const MagickWand *,const MetricType,
double *),
*MagickCompareImagesLayers(MagickWand *,const LayerMethod),
*MagickDeconstructImages(MagickWand *),
*MagickEvaluateImages(MagickWand *,const MagickEvaluateOperator),
*MagickFxImage(MagickWand *,const char *),
*MagickGetImage(MagickWand *),
*MagickGetImageMask(MagickWand *,const PixelMask),
*MagickGetImageRegion(MagickWand *,const size_t,const size_t,const ssize_t,
const ssize_t),
*MagickMergeImageLayers(MagickWand *,const LayerMethod),
*MagickMorphImages(MagickWand *,const size_t),
*MagickMontageImage(MagickWand *,const DrawingWand *,const char *,
const char *,const MontageMode,const char *),
*MagickOptimizeImageLayers(MagickWand *),
*MagickPreviewImages(MagickWand *wand,const PreviewType),
*MagickSimilarityImage(MagickWand *,const MagickWand *,const MetricType,
const double,RectangleInfo *,double *),
*MagickSmushImages(MagickWand *,const MagickBooleanType,const ssize_t),
*MagickSteganoImage(MagickWand *,const MagickWand *,const ssize_t),
*MagickStereoImage(MagickWand *,const MagickWand *),
*MagickTextureImage(MagickWand *,const MagickWand *);
extern WandExport OrientationType
MagickGetImageOrientation(MagickWand *);
extern WandExport PixelWand
**MagickGetImageHistogram(MagickWand *,size_t *);
extern WandExport RenderingIntent
MagickGetImageRenderingIntent(MagickWand *);
extern WandExport ResolutionType
MagickGetImageUnits(MagickWand *);
extern WandExport size_t
MagickGetImageColors(MagickWand *),
MagickGetImageCompressionQuality(MagickWand *),
MagickGetImageDelay(MagickWand *),
MagickGetImageDepth(MagickWand *),
MagickGetImageHeight(MagickWand *),
MagickGetImageIterations(MagickWand *),
MagickGetImageScene(MagickWand *),
MagickGetImageTicksPerSecond(MagickWand *),
MagickGetImageWidth(MagickWand *),
MagickGetNumberImages(MagickWand *);
extern WandExport unsigned char
*MagickGetImageBlob(MagickWand *,size_t *),
*MagickGetImagesBlob(MagickWand *,size_t *);
extern WandExport VirtualPixelMethod
MagickGetImageVirtualPixelMethod(MagickWand *),
MagickSetImageVirtualPixelMethod(MagickWand *,const VirtualPixelMethod);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif

View File

@@ -0,0 +1,142 @@
/*
Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
obtain a copy of the License at
https://www.imagemagick.org/script/license.php
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
MagickWand property, options, and profile methods.
*/
#ifndef MAGICKWAND_MAGICK_PROPERTY_H
#define MAGICKWAND_MAGICK_PROPERTY_H
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
extern WandExport char
*MagickGetFilename(const MagickWand *),
*MagickGetFormat(MagickWand *),
*MagickGetFont(MagickWand *),
*MagickGetHomeURL(void),
*MagickGetImageArtifact(MagickWand *,const char *),
**MagickGetImageArtifacts(MagickWand *,const char *,size_t *),
**MagickGetImageProfiles(MagickWand *,const char *,size_t *),
*MagickGetImageProperty(MagickWand *,const char *),
**MagickGetImageProperties(MagickWand *,const char *,size_t *),
*MagickGetOption(MagickWand *,const char *),
**MagickGetOptions(MagickWand *,const char *,size_t *),
*MagickQueryConfigureOption(const char *),
**MagickQueryConfigureOptions(const char *,size_t *),
**MagickQueryFonts(const char *,size_t *),
**MagickQueryFormats(const char *,size_t *);
extern WandExport ColorspaceType
MagickGetColorspace(MagickWand *);
extern WandExport CompressionType
MagickGetCompression(MagickWand *);
extern WandExport const char
*MagickGetCopyright(void),
*MagickGetPackageName(void),
*MagickGetQuantumDepth(size_t *),
*MagickGetQuantumRange(size_t *),
*MagickGetReleaseDate(void),
*MagickGetVersion(size_t *);
extern WandExport double
MagickGetPointsize(MagickWand *),
*MagickGetSamplingFactors(MagickWand *,size_t *),
*MagickQueryFontMetrics(MagickWand *,const DrawingWand *,const char *),
*MagickQueryMultilineFontMetrics(MagickWand *,const DrawingWand *,
const char *);
extern WandExport GravityType
MagickGetGravity(MagickWand *);
extern WandExport ImageType
MagickGetType(MagickWand *);
extern WandExport InterlaceType
MagickGetInterlaceScheme(MagickWand *);
extern WandExport PixelInterpolateMethod
MagickGetInterpolateMethod(MagickWand *);
extern WandExport OrientationType
MagickGetOrientation(MagickWand *);
extern WandExport MagickBooleanType
MagickDeleteImageArtifact(MagickWand *,const char *),
MagickDeleteImageProperty(MagickWand *,const char *),
MagickDeleteOption(MagickWand *,const char *),
MagickGetAntialias(const MagickWand *),
MagickGetPage(const MagickWand *,size_t *,size_t *,ssize_t *,ssize_t *),
MagickGetResolution(const MagickWand *,double *,double *),
MagickGetSize(const MagickWand *,size_t *,size_t *),
MagickGetSizeOffset(const MagickWand *,ssize_t *),
MagickProfileImage(MagickWand *,const char *,const void *,const size_t),
MagickSetAntialias(MagickWand *,const MagickBooleanType),
MagickSetBackgroundColor(MagickWand *,const PixelWand *),
MagickSetColorspace(MagickWand *,const ColorspaceType),
MagickSetCompression(MagickWand *,const CompressionType),
MagickSetCompressionQuality(MagickWand *,const size_t),
MagickSetDepth(MagickWand *,const size_t),
MagickSetExtract(MagickWand *,const char *),
MagickSetFilename(MagickWand *,const char *),
MagickSetFormat(MagickWand *,const char *),
MagickSetFont(MagickWand *,const char *),
MagickSetGravity(MagickWand *,const GravityType),
MagickSetImageArtifact(MagickWand *,const char *,const char *),
MagickSetImageProfile(MagickWand *,const char *,const void *,const size_t),
MagickSetImageProperty(MagickWand *,const char *,const char *),
MagickSetInterlaceScheme(MagickWand *,const InterlaceType),
MagickSetInterpolateMethod(MagickWand *,const PixelInterpolateMethod),
MagickSetOption(MagickWand *,const char *,const char *),
MagickSetOrientation(MagickWand *,const OrientationType),
MagickSetPage(MagickWand *,const size_t,const size_t,const ssize_t,
const ssize_t),
MagickSetPassphrase(MagickWand *,const char *),
MagickSetPointsize(MagickWand *,const double),
MagickSetResolution(MagickWand *,const double,const double),
MagickSetResourceLimit(const ResourceType type,const MagickSizeType limit),
MagickSetSamplingFactors(MagickWand *,const size_t,const double *),
MagickSetSize(MagickWand *,const size_t,const size_t),
MagickSetSizeOffset(MagickWand *,const size_t,const size_t,const ssize_t),
MagickSetType(MagickWand *,const ImageType);
extern WandExport MagickProgressMonitor
MagickSetProgressMonitor(MagickWand *,const MagickProgressMonitor,void *);
extern WandExport MagickSizeType
MagickGetResource(const ResourceType),
MagickGetResourceLimit(const ResourceType);
extern WandExport PixelWand
*MagickGetBackgroundColor(MagickWand *);
extern WandExport OrientationType
MagickGetOrientationType(MagickWand *);
extern WandExport size_t
MagickGetCompressionQuality(MagickWand *);
extern WandExport unsigned char
*MagickGetImageProfile(MagickWand *,const char *,size_t *),
*MagickRemoveImageProfile(MagickWand *,const char *,size_t *);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif

View File

@@ -0,0 +1,139 @@
/*
Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
obtain a copy of the License at
https://www.imagemagick.org/script/license.php
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
MagickWand method attributes.
*/
#ifndef MAGICKWAND_METHOD_ATTRIBUTE_H
#define MAGICKWAND_METHOD_ATTRIBUTE_H
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#if defined(__BORLANDC__) && defined(_DLL)
# pragma message("BCBMagick lib DLL export interface")
# define _MAGICKDLL_
# define _MAGICKLIB_
# define MAGICKCORE_MODULES_SUPPORT
# undef MAGICKCORE_BUILD_MODULES
#endif
#if defined(MAGICKWAND_WINDOWS_SUPPORT) && !defined(__CYGWIN__)
# define WandPrivate
# if defined(_MT) && defined(_DLL) && !defined(_MAGICKDLL_) && !defined(_LIB)
# define _MAGICKDLL_
# endif
# if defined(_MAGICKDLL_)
# if defined(_VISUALC_)
# pragma warning( disable: 4273 ) /* Disable the dll linkage warnings */
# endif
# if !defined(_MAGICKLIB_)
# if defined(__clang__) || defined(__GNUC__)
# define WandExport __attribute__ ((dllimport))
# else
# define WandExport __declspec(dllimport)
# endif
# if defined(_VISUALC_)
# pragma message( "MagickCore lib DLL import interface" )
# endif
# else
# if defined(__clang__) || defined(__GNUC__)
# define WandExport __attribute__ ((dllexport))
# else
# define WandExport __declspec(dllexport)
# endif
# if defined(_VISUALC_)
# pragma message( "MagickCore lib DLL export interface" )
# endif
# endif
# else
# define WandExport
# if defined(_VISUALC_)
# pragma message( "MagickCore lib static interface" )
# endif
# endif
# if defined(_DLL) && !defined(_LIB)
# if defined(_VISUALC_)
# pragma message( "MagickCore module DLL export interface" )
# endif
# else
# if defined(_VISUALC_)
# pragma message( "MagickCore module static interface" )
# endif
# endif
# if defined(_VISUALC_)
# pragma warning(disable : 4018)
# pragma warning(disable : 4068)
# pragma warning(disable : 4244)
# pragma warning(disable : 4142)
# pragma warning(disable : 4800)
# pragma warning(disable : 4786)
# pragma warning(disable : 4996)
# endif
#else
# if defined(__clang__) || (__GNUC__ >= 4)
# define WandExport __attribute__ ((visibility ("default")))
# define WandPrivate __attribute__ ((visibility ("hidden")))
# else
# define WandExport
# define WandPrivate
# endif
#endif
#define MagickWandSignature 0xabacadabUL
#if !defined(MagickPathExtent)
# define MagickPathExtent 4096
#endif
#if defined(MAGICKCORE_HAVE___ATTRIBUTE__)
# define wand_aligned(x) __attribute__((aligned(x)))
# define wand_attribute __attribute__
# define wand_unused(x) wand_unused_ ## x __attribute__((unused))
# define wand_unreferenced(x) /* nothing */
#elif defined(MAGICKWAND_WINDOWS_SUPPORT) && !defined(__CYGWIN__)
# define wand_aligned(x) __declspec(align(x))
# define wand_attribute(x) /* nothing */
# define wand_unused(x) x
# define wand_unreferenced(x) (x)
#else
# define wand_aligned(x) /* nothing */
# define wand_attribute(x) /* nothing */
# define wand_unused(x) x
# define wand_unreferenced(x) /* nothing */
#endif
#if !defined(__clang__) && (((__GNUC__) > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3)))
# define wand_alloc_size(x) __attribute__((__alloc_size__(x)))
# define wand_alloc_sizes(x,y) __attribute__((__alloc_size__(x,y)))
#else
# define wand_alloc_size(x) /* nothing */
# define wand_alloc_sizes(x,y) /* nothing */
#endif
#if defined(__clang__) || (((__GNUC__) > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3)))
# define wand_cold_spot __attribute__((__cold__))
# define wand_hot_spot __attribute__((__hot__))
#else
# define wand_cold_spot
# define wand_hot_spot
#endif
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif

View File

@@ -0,0 +1,43 @@
/*
Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
obtain a copy of the License at
https://www.imagemagick.org/script/license.php
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
MagickWand mogrify command-line method.
*/
#ifndef MAGICKWAND_MOGRIFY_H
#define MAGICKWAND_MOGRIFY_H
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
typedef MagickBooleanType
(*MagickCommand)(ImageInfo *,int,char **,char **,ExceptionInfo *);
extern WandExport MagickBooleanType
MagickCommandGenesis(ImageInfo *,MagickCommand,int,char **,char **,
ExceptionInfo *),
MogrifyImage(ImageInfo *,const int,const char **,Image **,ExceptionInfo *),
MogrifyImageCommand(ImageInfo *,int,char **,char **,ExceptionInfo *),
MogrifyImageInfo(ImageInfo *,const int,const char **,ExceptionInfo *),
MogrifyImageList(ImageInfo *,const int,const char **,Image **,
ExceptionInfo *),
MogrifyImages(ImageInfo *,const MagickBooleanType,const int,const char **,
Image **,ExceptionInfo *);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif

View File

@@ -0,0 +1,32 @@
/*
Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
obtain a copy of the License at
https://www.imagemagick.org/script/license.php
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
MagickWand montage command-line method.
*/
#ifndef MAGICKWAND_MONTAGE_H
#define MAGICKWAND_MONTAGE_H
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
extern WandExport MagickBooleanType
MontageImageCommand(ImageInfo *,int,char **,char **,ExceptionInfo *);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif

View File

@@ -0,0 +1,32 @@
/*
Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
obtain a copy of the License at
https://www.imagemagick.org/script/license.php
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
MagickWand command-line option process.
*/
#ifndef MAGICKWAND_OPERATION_H
#define MAGICKWAND_OPERATION_H
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
extern WandExport void
CLIOption(MagickCLI *,const char *,...);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif

View File

@@ -0,0 +1,68 @@
/*
Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
obtain a copy of the License at
https://www.imagemagick.org/script/license.php
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Pixel Iterator Methods.
*/
#ifndef MAGICKWAND_PIXEL_ITERATOR_H
#define MAGICKWAND_PIXEL_ITERATOR_H
#include "MagickWand/MagickWand.h"
#include "MagickWand/pixel-wand.h"
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
typedef struct _PixelIterator
PixelIterator;
extern WandExport char
*PixelGetIteratorException(const PixelIterator *,ExceptionType *);
extern WandExport ExceptionType
PixelGetIteratorExceptionType(const PixelIterator *);
extern WandExport MagickBooleanType
IsPixelIterator(const PixelIterator *),
PixelClearIteratorException(PixelIterator *),
PixelSetIteratorRow(PixelIterator *,const ssize_t),
PixelSyncIterator(PixelIterator *);
extern WandExport PixelIterator
*ClonePixelIterator(const PixelIterator *),
*DestroyPixelIterator(PixelIterator *),
*NewPixelIterator(MagickWand *),
*NewPixelRegionIterator(MagickWand *,const ssize_t,const ssize_t,const size_t,
const size_t);
extern WandExport PixelWand
**PixelGetCurrentIteratorRow(PixelIterator *,size_t *),
**PixelGetNextIteratorRow(PixelIterator *,size_t *),
**PixelGetPreviousIteratorRow(PixelIterator *,size_t *);
extern WandExport ssize_t
PixelGetIteratorRow(PixelIterator *);
extern WandExport void
ClearPixelIterator(PixelIterator *),
PixelResetIterator(PixelIterator *),
PixelSetFirstIteratorRow(PixelIterator *),
PixelSetLastIteratorRow(PixelIterator *);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif

View File

@@ -0,0 +1,117 @@
/*
Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
obtain a copy of the License at
https://www.imagemagick.org/script/license.php
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
MagickWand pixel wand methods.
*/
#ifndef MAGICKWAND_PIXEL_WAND_H
#define MAGICKWAND_PIXEL_WAND_H
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
typedef struct _PixelWand
PixelWand;
extern WandExport char
*PixelGetColorAsNormalizedString(const PixelWand *),
*PixelGetColorAsString(const PixelWand *),
*PixelGetException(const PixelWand *,ExceptionType *);
extern WandExport double
PixelGetAlpha(const PixelWand *),
PixelGetBlack(const PixelWand *),
PixelGetBlue(const PixelWand *),
PixelGetCyan(const PixelWand *),
PixelGetFuzz(const PixelWand *),
PixelGetGreen(const PixelWand *),
PixelGetMagenta(const PixelWand *),
PixelGetAlpha(const PixelWand *),
PixelGetRed(const PixelWand *),
PixelGetYellow(const PixelWand *);
extern WandExport ExceptionType
PixelGetExceptionType(const PixelWand *);
extern WandExport MagickBooleanType
IsPixelWand(const PixelWand *),
IsPixelWandSimilar(PixelWand *,PixelWand *,const double),
PixelClearException(PixelWand *),
PixelSetColor(PixelWand *,const char *);
extern WandExport PixelInfo
PixelGetPixel(const PixelWand *);
extern WandExport PixelWand
*ClonePixelWand(const PixelWand *),
**ClonePixelWands(const PixelWand **,const size_t),
*DestroyPixelWand(PixelWand *),
**DestroyPixelWands(PixelWand **,const size_t),
*NewPixelWand(void),
**NewPixelWands(const size_t);
extern WandExport Quantum
PixelGetAlphaQuantum(const PixelWand *),
PixelGetBlackQuantum(const PixelWand *),
PixelGetBlueQuantum(const PixelWand *),
PixelGetCyanQuantum(const PixelWand *),
PixelGetGreenQuantum(const PixelWand *),
PixelGetIndex(const PixelWand *),
PixelGetMagentaQuantum(const PixelWand *),
PixelGetAlphaQuantum(const PixelWand *),
PixelGetRedQuantum(const PixelWand *),
PixelGetYellowQuantum(const PixelWand *);
extern WandExport size_t
PixelGetColorCount(const PixelWand *);
extern WandExport void
ClearPixelWand(PixelWand *),
PixelGetHSL(const PixelWand *,double *,double *,double *),
PixelGetMagickColor(const PixelWand *,PixelInfo *),
PixelGetQuantumPacket(const PixelWand *,PixelInfo *),
PixelGetQuantumPixel(const Image *,const PixelWand *,Quantum *),
PixelSetAlpha(PixelWand *,const double),
PixelSetAlphaQuantum(PixelWand *,const Quantum),
PixelSetBlack(PixelWand *,const double),
PixelSetBlackQuantum(PixelWand *,const Quantum),
PixelSetBlue(PixelWand *,const double),
PixelSetBlueQuantum(PixelWand *,const Quantum),
PixelSetColorFromWand(PixelWand *,const PixelWand *),
PixelSetColorCount(PixelWand *,const size_t),
PixelSetCyan(PixelWand *,const double),
PixelSetCyanQuantum(PixelWand *,const Quantum),
PixelSetFuzz(PixelWand *,const double),
PixelSetGreen(PixelWand *,const double),
PixelSetGreenQuantum(PixelWand *,const Quantum),
PixelSetHSL(PixelWand *,const double,const double,const double),
PixelSetIndex(PixelWand *,const Quantum),
PixelSetMagenta(PixelWand *,const double),
PixelSetMagentaQuantum(PixelWand *,const Quantum),
PixelSetPixelColor(PixelWand *,const PixelInfo *),
PixelSetAlpha(PixelWand *,const double),
PixelSetAlphaQuantum(PixelWand *,const Quantum),
PixelSetPixelColor(PixelWand *,const PixelInfo *),
PixelSetQuantumPixel(const Image *,const Quantum *,PixelWand *),
PixelSetRed(PixelWand *,const double),
PixelSetRedQuantum(PixelWand *,const Quantum),
PixelSetYellow(PixelWand *,const double),
PixelSetYellowQuantum(PixelWand *,const Quantum);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif

View File

@@ -0,0 +1,32 @@
/*
Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
obtain a copy of the License at
https://www.imagemagick.org/script/license.php
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
MagickWand montage command-line method.
*/
#ifndef MAGICKWAND_STREAM_H
#define MAGICKWAND_STREAM_H
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
extern WandExport MagickBooleanType
StreamImageCommand(ImageInfo *,int,char **,char **,ExceptionInfo *);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif

View File

@@ -0,0 +1,73 @@
/*
Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
obtain a copy of the License at
https://www.imagemagick.org/script/license.php
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITTransferNS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
MagickWand wand view methods.
*/
#ifndef MAGICKWAND_WAND_VIEW_H
#define MAGICKWAND_WAND_VIEW_H
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
typedef struct _WandView
WandView;
typedef MagickBooleanType
(*DuplexTransferWandViewMethod)(const WandView *,const WandView *,WandView *,
const ssize_t,const int,void *),
(*GetWandViewMethod)(const WandView *,const ssize_t,const int,void *),
(*SetWandViewMethod)(WandView *,const ssize_t,const int,void *),
(*TransferWandViewMethod)(const WandView *,WandView *,const ssize_t,
const int,void *),
(*UpdateWandViewMethod)(WandView *,const ssize_t,const int,void *);
extern WandExport char
*GetWandViewException(const WandView *,ExceptionType *);
extern WandExport MagickBooleanType
DuplexTransferWandViewIterator(WandView *,WandView *,WandView *,
DuplexTransferWandViewMethod,void *),
GetWandViewIterator(WandView *,GetWandViewMethod,void *),
IsWandView(const WandView *),
SetWandViewIterator(WandView *,SetWandViewMethod,void *),
TransferWandViewIterator(WandView *,WandView *,TransferWandViewMethod,void *),
UpdateWandViewIterator(WandView *,UpdateWandViewMethod,void *);
extern WandExport MagickWand
*GetWandViewWand(const WandView *);
extern WandExport PixelWand
**GetWandViewPixels(const WandView *);
extern WandExport RectangleInfo
GetWandViewExtent(const WandView *);
extern WandExport void
SetWandViewDescription(WandView *,const char *),
SetWandViewThreads(WandView *,const size_t);
extern WandExport WandView
*CloneWandView(const WandView *),
*DestroyWandView(WandView *),
*NewWandView(MagickWand *),
*NewWandViewExtent(MagickWand *,const ssize_t,const ssize_t,const size_t,
const size_t);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif

View File

@@ -0,0 +1,46 @@
/*
Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
obtain a copy of the License at
https://www.imagemagick.org/script/license.php
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
MagickWand command-line option process.
*/
#ifndef MAGICKWAND_WAND_CLI_H
#define MAGICKWAND_WAND_CLI_H
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
typedef struct _MagickCLI
MagickCLI;
extern WandExport MagickCLI
*AcquireMagickCLI(ImageInfo *,ExceptionInfo *),
*DestroyMagickCLI(MagickCLI *);
extern WandExport MagickBooleanType
CLICatchException(MagickCLI *,const MagickBooleanType),
CLILogEvent(MagickCLI *,const LogEventType,const char *,const char *,
const size_t, const char *,...)
magick_attribute((__format__ (__printf__,6,7))),
CLIThrowException(MagickCLI *,const char *,const char *,const size_t,
const ExceptionType,const char *,const char *,...)
magick_attribute((__format__ (__printf__,7,8)));
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif