MagickWand: magick-image.h Source File

# magick-image.h

Go to the documentation of this file.

    00001 /*
    00002   Copyright 1999-2010 ImageMagick Studio LLC, a non-profit organization
    00003   dedicated to making software imaging solutions freely available.
    00004
    00005   You may not use this file except in compliance with the License.
    00006   obtain a copy of the License at
    00007
    00008     http://www.imagemagick.org/script/license.php
    00009
    00010   Unless required by applicable law or agreed to in writing, software
    00011   distributed under the License is distributed on an "AS IS" BASIS,
    00012   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00013   See the License for the specific language governing permissions and
    00014   limitations under the License.
    00015
    00016   MagickWand image Methods.
    00017 */
    00018
    00019 #ifndef _MAGICKWAND_MAGICK_IMAGE_H
    00020 #define _MAGICKWAND_MAGICK_IMAGE_H
    00021
    00022 #if defined(__cplusplus) || defined(c_plusplus)
    00023 extern "C" {
    00024 #endif
    00025
    00026 extern WandExport ChannelStatistics
    00027   *MagickGetImageChannelStatistics(MagickWand *);
    00028
    00029 extern WandExport char
    00030   *MagickGetImageFilename(MagickWand *),
    00031   *MagickGetImageFormat(MagickWand *),
    00032   *MagickGetImageSignature(MagickWand *),
    00033   *MagickIdentifyImage(MagickWand *);
    00034
    00035 extern WandExport CompositeOperator
    00036   MagickGetImageCompose(MagickWand *);
    00037
    00038 extern WandExport ColorspaceType
    00039   MagickGetImageColorspace(MagickWand *);
    00040
    00041 extern WandExport CompressionType
    00042   MagickGetImageCompression(MagickWand *);
    00043
    00044 extern WandExport DisposeType
    00045   MagickGetImageDispose(MagickWand *);
    00046
    00047 extern WandExport double
    00048   MagickGetImageGamma(MagickWand *),
    00049   MagickGetImageTotalInkDensity(MagickWand *);
    00050
    00051 extern WandExport Image
    00052   *MagickDestroyImage(Image *),
    00053   *GetImageFromMagickWand(MagickWand *);
    00054
    00055 extern WandExport ImageType
    00056   MagickGetImageType(MagickWand *);
    00057
    00058 extern WandExport InterlaceType
    00059   MagickGetImageInterlaceScheme(MagickWand *);
    00060
    00061 extern WandExport InterpolatePixelMethod
    00062   MagickGetImageInterpolateMethod(MagickWand *);
    00063
    00064 extern WandExport MagickBooleanType
    00065   MagickAdaptiveBlurImage(MagickWand *,const double,const double),
    00066   MagickAdaptiveBlurImageChannel(MagickWand *,const ChannelType,const double,
    00067     const double),
    00068   MagickAdaptiveResizeImage(MagickWand *,const unsigned long,
    00069     const unsigned long),
    00070   MagickAdaptiveSharpenImage(MagickWand *,const double,const double),
    00071   MagickAdaptiveSharpenImageChannel(MagickWand *,const ChannelType,const double,
    00072     const double),
    00073   MagickAdaptiveThresholdImage(MagickWand *,const unsigned long,
    00074     const unsigned long,const long),
    00075   MagickAddImage(MagickWand *,const MagickWand *),
    00076   MagickAddNoiseImage(MagickWand *,const NoiseType),
    00077   MagickAddNoiseImageChannel(MagickWand *,const ChannelType,const NoiseType),
    00078   MagickAffineTransformImage(MagickWand *,const DrawingWand *),
    00079   MagickAnnotateImage(MagickWand *,const DrawingWand *,const double,
    00080     const double,const double,const char *),
    00081   MagickAnimateImages(MagickWand *,const char *),
    00082   MagickBlackThresholdImage(MagickWand *,const PixelWand *),
    00083   MagickBlurImage(MagickWand *,const double,const double),
    00084   MagickBlurImageChannel(MagickWand *,const ChannelType,const double,
    00085     const double),
    00086   MagickBorderImage(MagickWand *,const PixelWand *,const unsigned long,
    00087     const unsigned long),
    00088   MagickCharcoalImage(MagickWand *,const double,const double),
    00089   MagickChopImage(MagickWand *,const unsigned long,const unsigned long,
    00090     const long,const long),
    00091   MagickClipImage(MagickWand *),
    00092   MagickClipImagePath(MagickWand *,const char *,const MagickBooleanType),
    00093   MagickClutImage(MagickWand *,const MagickWand *),
    00094   MagickClutImageChannel(MagickWand *,const ChannelType,const MagickWand *),
    00095   MagickColorizeImage(MagickWand *,const PixelWand *,const PixelWand *),
    00096   MagickCommentImage(MagickWand *,const char *),
    00097   MagickCompositeImage(MagickWand *,const MagickWand *,const CompositeOperator,
    00098     const long,const long),
    00099   MagickCompositeImageChannel(MagickWand *,const ChannelType,const MagickWand *,    const CompositeOperator,const long,const long),
    00100   MagickConstituteImage(MagickWand *,const unsigned long,const unsigned long,
    00101     const char *,const StorageType,const void *),
    00102   MagickContrastImage(MagickWand *,const MagickBooleanType),
    00103   MagickContrastStretchImage(MagickWand *,const double,const double),
    00104   MagickContrastStretchImageChannel(MagickWand *,const ChannelType,const double,
    00105     const double),
    00106   MagickConvolveImage(MagickWand *,const unsigned long,const double *),
    00107   MagickConvolveImageChannel(MagickWand *,const ChannelType,const unsigned long,
    00108     const double *),
    00109   MagickCropImage(MagickWand *,const unsigned long,const unsigned long,
    00110     const long,const long),
    00111   MagickCycleColormapImage(MagickWand *,const long),
    00112   MagickDespeckleImage(MagickWand *),
    00113   MagickDisplayImage(MagickWand *,const char *),
    00114   MagickDisplayImages(MagickWand *,const char *),
    00115   MagickDistortImage(MagickWand *,const DistortImageMethod,const unsigned long,
    00116     const double *,const MagickBooleanType),
    00117   MagickDrawImage(MagickWand *,const DrawingWand *),
    00118   MagickEdgeImage(MagickWand *,const double),
    00119   MagickEmbossImage(MagickWand *,const double,const double),
    00120   MagickEnhanceImage(MagickWand *),
    00121   MagickEqualizeImage(MagickWand *),
    00122   MagickEqualizeImageChannel(MagickWand *,const ChannelType),
    00123   MagickEvaluateImage(MagickWand *,const MagickEvaluateOperator,const double),
    00124   MagickEvaluateImageChannel(MagickWand *,const ChannelType,
    00125     const MagickEvaluateOperator,const double),
    00126   MagickExtentImage(MagickWand *,const unsigned long,const unsigned long,
    00127     const long,const long),
    00128   MagickFlipImage(MagickWand *),
    00129   MagickFloodfillPaintImage(MagickWand *,const ChannelType,const PixelWand *,
    00130     const double,const PixelWand *,const long,const long,
    00131     const MagickBooleanType),
    00132   MagickFlopImage(MagickWand *),
    00133   MagickFrameImage(MagickWand *,const PixelWand *,const unsigned long,
    00134     const unsigned long,const long,const long),
    00135   MagickGammaImage(MagickWand *,const double),
    00136   MagickGammaImageChannel(MagickWand *,const ChannelType,const double),
    00137   MagickGaussianBlurImage(MagickWand *,const double,const double),
    00138   MagickGaussianBlurImageChannel(MagickWand *,const ChannelType,const double,
    00139     const double),
    00140   MagickGetImageBackgroundColor(MagickWand *,PixelWand *),
    00141   MagickGetImageBluePrimary(MagickWand *,double *,double *),
    00142   MagickGetImageBorderColor(MagickWand *,PixelWand *),
    00143   MagickGetImageChannelDistortion(MagickWand *,const MagickWand *,
    00144     const ChannelType, const MetricType,double *),
    00145   MagickGetImageDistortion(MagickWand *,const MagickWand *,const MetricType,
    00146     double *),
    00147   MagickGetImageChannelMean(MagickWand *,const ChannelType,double *,double *),
    00148   MagickGetImageChannelRange(MagickWand *,const ChannelType,double *,double *),
    00149   MagickGetImageColormapColor(MagickWand *,const unsigned long,PixelWand *),
    00150   MagickGetImageGreenPrimary(MagickWand *,double *,double *),
    00151   MagickGetImageMatte(MagickWand *),
    00152   MagickGetImageMatteColor(MagickWand *,PixelWand *),
    00153   MagickGetImageLength(MagickWand *,MagickSizeType *),
    00154   MagickGetImagePage(MagickWand *,unsigned long *,unsigned long *,long *,
    00155     long *),
    00156   MagickGetImagePixelColor(MagickWand *,const long,const long,PixelWand *),
    00157   MagickGetImagePixels(MagickWand *,const long,const long,const unsigned long,
    00158     const unsigned long,const char *,const StorageType,void *),
    00159   MagickGetImageRange(MagickWand *,double *,double *),
    00160   MagickGetImageRedPrimary(MagickWand *,double *,double *),
    00161   MagickGetImageResolution(MagickWand *,double *,double *),
    00162   MagickGetImageWhitePoint(MagickWand *,double *,double *),
    00163   MagickHasNextImage(MagickWand *),
    00164   MagickHasPreviousImage(MagickWand *),
    00165   MagickImplodeImage(MagickWand *,const double),
    00166   MagickLabelImage(MagickWand *,const char *),
    00167   MagickLevelImage(MagickWand *,const double,const double,const double),
    00168   MagickLevelImageChannel(MagickWand *,const ChannelType,const double,
    00169     const double,const double),
    00170   MagickLinearStretchImage(MagickWand *,const double,const double),
    00171   MagickMagnifyImage(MagickWand *),
    00172   MagickMapImage(MagickWand *,const MagickWand *,const MagickBooleanType),
    00173   MagickMedianFilterImage(MagickWand *,const double),
    00174   MagickMinifyImage(MagickWand *),
    00175   MagickModulateImage(MagickWand *,const double,const double,const double),
    00176   MagickMotionBlurImage(MagickWand *,const double,const double,const double),
    00177   MagickNegateImage(MagickWand *,const MagickBooleanType),
    00178   MagickNegateImageChannel(MagickWand *,const ChannelType,
    00179     const MagickBooleanType),
    00180   MagickNewImage(MagickWand *,const unsigned long,const unsigned long,
    00181     const PixelWand *),
    00182   MagickNextImage(MagickWand *),
    00183   MagickNormalizeImage(MagickWand *),
    00184   MagickNormalizeImageChannel(MagickWand *,const ChannelType),
    00185   MagickOilPaintImage(MagickWand *,const double),
    00186   MagickOpaquePaintImage(MagickWand *,const PixelWand *,const PixelWand *,
    00187     const double,const MagickBooleanType),
    00188   MagickOpaquePaintImageChannel(MagickWand *,const ChannelType,
    00189     const PixelWand *,const PixelWand *,const double,const MagickBooleanType),
    00190   MagickOrderedPosterizeImage(MagickWand *,const char *),
    00191   MagickOrderedPosterizeImageChannel(MagickWand *,const ChannelType,
    00192     const char *),
    00193   MagickTransparentPaintImage(MagickWand *,const PixelWand *,
    00194     const double,const double,const MagickBooleanType invert),
    00195   MagickPingImage(MagickWand *,const char *),
    00196   MagickPingImageBlob(MagickWand *,const void *,const size_t),
    00197   MagickPingImageFile(MagickWand *,FILE *),
    00198   MagickPolaroidImage(MagickWand *,const DrawingWand *,const double),
    00199   MagickPosterizeImage(MagickWand *,const unsigned long,
    00200     const MagickBooleanType),
    00201   MagickPreviousImage(MagickWand *),
    00202   MagickQuantizeImage(MagickWand *,const unsigned long,const ColorspaceType,
    00203     const unsigned long,const MagickBooleanType,const MagickBooleanType),
    00204   MagickQuantizeImages(MagickWand *,const unsigned long,const ColorspaceType,
    00205     const unsigned long,const MagickBooleanType,const MagickBooleanType),
    00206   MagickRadialBlurImage(MagickWand *,const double),
    00207   MagickRadialBlurImageChannel(MagickWand *,const ChannelType,const double),
    00208   MagickRaiseImage(MagickWand *,const unsigned long,const unsigned long,
    00209     const long,const long,const MagickBooleanType),
    00210   MagickRandomThresholdImage(MagickWand *,const double,const double),
    00211   MagickRandomThresholdImageChannel(MagickWand *,const ChannelType,const double,
    00212     const double),
    00213   MagickReadImage(MagickWand *,const char *),
    00214   MagickReadImageBlob(MagickWand *,const void *,const size_t),
    00215   MagickReadImageFile(MagickWand *,FILE *),
    00216   MagickRecolorImage(MagickWand *,const unsigned long,const double *),
    00217   MagickReduceNoiseImage(MagickWand *,const double),
    00218   MagickRemoveImage(MagickWand *),
    00219   MagickResampleImage(MagickWand *,const double,const double,const FilterTypes,
    00220     const double),
    00221   MagickResizeImage(MagickWand *,const unsigned long,const unsigned long,
    00222     const FilterTypes,const double),
    00223   MagickRollImage(MagickWand *,const long,const long),
    00224   MagickRotateImage(MagickWand *,const PixelWand *,const double),
    00225   MagickSampleImage(MagickWand *,const unsigned long,const unsigned long),
    00226   MagickScaleImage(MagickWand *,const unsigned long,const unsigned long),
    00227   MagickSegmentImage(MagickWand *,const ColorspaceType,const MagickBooleanType,
    00228     const double,const double),
    00229   MagickSeparateImageChannel(MagickWand *,const ChannelType),
    00230   MagickSepiaToneImage(MagickWand *,const double),
    00231   MagickSetImage(MagickWand *,const MagickWand *),
    00232   MagickSetImageAlphaChannel(MagickWand *,const AlphaChannelType),
    00233   MagickSetImageBackgroundColor(MagickWand *,const PixelWand *),
    00234   MagickSetImageBias(MagickWand *,const double),
    00235   MagickSetImageBluePrimary(MagickWand *,const double,const double),
    00236   MagickSetImageBorderColor(MagickWand *,const PixelWand *),
    00237   MagickSetImageChannelDepth(MagickWand *,const ChannelType,
    00238     const unsigned long),
    00239   MagickSetImageClipMask(MagickWand *,const MagickWand *),
    00240   MagickSetImageColormapColor(MagickWand *,const unsigned long,
    00241     const PixelWand *),
    00242   MagickSetImageCompose(MagickWand *,const CompositeOperator),
    00243   MagickSetImageCompression(MagickWand *,const CompressionType),
    00244   MagickSetImageDelay(MagickWand *,const unsigned long),
    00245   MagickSetImageDepth(MagickWand *,const unsigned long),
    00246   MagickSetImageDispose(MagickWand *,const DisposeType),
    00247   MagickTransformImageColorspace(MagickWand *,const ColorspaceType),
    00248   MagickSetImageCompressionQuality(MagickWand *,const unsigned long),
    00249   MagickSetImageGreenPrimary(MagickWand *,const double,const double),
    00250   MagickSetImageGamma(MagickWand *,const double),
    00251   MagickSetImageExtent(MagickWand *,const unsigned long,const unsigned long),
    00252   MagickSetImageFilename(MagickWand *,const char *),
    00253   MagickSetImageFormat(MagickWand *,const char *),
    00254   MagickSetImageInterlaceScheme(MagickWand *,const InterlaceType),
    00255   MagickSetImageInterpolateMethod(MagickWand *,
    00256     const InterpolatePixelMethod),
    00257   MagickSetImageIterations(MagickWand *,const unsigned long),
    00258   MagickSetImageMatte(MagickWand *,const MagickBooleanType),
    00259   MagickSetImageMatteColor(MagickWand *,const PixelWand *),
    00260   MagickSetImageOpacity(MagickWand *,const double),
    00261   MagickSetImageOrientation(MagickWand *,const OrientationType),
    00262   MagickSetImagePage(MagickWand *,const unsigned long,const unsigned long,
    00263     const long,const long),
    00264   MagickResetImagePage(MagickWand *,const char *),
    00265   MagickSetImagePixels(MagickWand *,const long,const long,const unsigned long,
    00266     const unsigned long,const char *,const StorageType,const void *),
    00267   MagickSetImageRedPrimary(MagickWand *,const double,const double),
    00268   MagickSetImageRenderingIntent(MagickWand *,const RenderingIntent),
    00269   MagickSetImageResolution(MagickWand *,const double,const double),
    00270   MagickSetImageScene(MagickWand *,const unsigned long),
    00271   MagickSetImageTicksPerSecond(MagickWand *,const long),
    00272   MagickSetImageType(MagickWand *,const ImageType),
    00273   MagickSetImageUnits(MagickWand *,const ResolutionType),
    00274   MagickSetImageWhitePoint(MagickWand *,const double,const double),
    00275   MagickShadeImage(MagickWand *,const MagickBooleanType,const double,const
    00276     double),
    00277   MagickShadowImage(MagickWand *,const double,const double,const long,
    00278     const long),
    00279   MagickSharpenImage(MagickWand *,const double,const double),
    00280   MagickSharpenImageChannel(MagickWand *,const ChannelType,const double,
    00281     const double),
    00282   MagickShaveImage(MagickWand *,const unsigned long,const unsigned long),
    00283   MagickShearImage(MagickWand *,const PixelWand *,const double,const double),
    00284   MagickSigmoidalContrastImage(MagickWand *,const MagickBooleanType,
    00285     const double,const double),
    00286   MagickSigmoidalContrastImageChannel(MagickWand *,const ChannelType,
    00287     const MagickBooleanType,const double,const double),
    00288   MagickSketchImage(MagickWand *,const double,const double,const double),
    00289   MagickSolarizeImage(MagickWand *,const double),
    00290   MagickSpliceImage(MagickWand *,const unsigned long,const unsigned long,
    00291     const long,const long),
    00292   MagickSpreadImage(MagickWand *,const double),
    00293   MagickStripImage(MagickWand *),
    00294   MagickSwirlImage(MagickWand *,const double),
    00295   MagickTintImage(MagickWand *,const PixelWand *,const PixelWand *),
    00296   MagickTransposeImage(MagickWand *),
    00297   MagickTransverseImage(MagickWand *),
    00298   MagickThresholdImage(MagickWand *,const double),
    00299   MagickThresholdImageChannel(MagickWand *,const ChannelType,const double),
    00300   MagickThumbnailImage(MagickWand *,const unsigned long,const unsigned long),
    00301   MagickTrimImage(MagickWand *,const double),
    00302   MagickUniqueImageColors(MagickWand *),
    00303   MagickUnsharpMaskImage(MagickWand *,const double,const double,const double,
    00304     const double),
    00305   MagickUnsharpMaskImageChannel(MagickWand *,const ChannelType,const double,
    00306     const double,const double,const double),
    00307   MagickVignetteImage(MagickWand *,const double,const double,
    00308     const long,const long),
    00309   MagickWaveImage(MagickWand *,const double,const double),
    00310   MagickWhiteThresholdImage(MagickWand *,const PixelWand *),
    00311   MagickWriteImage(MagickWand *,const char *),
    00312   MagickWriteImageFile(MagickWand *,FILE *),
    00313   MagickWriteImages(MagickWand *,const char *,const MagickBooleanType),
    00314   MagickWriteImagesFile(MagickWand *,FILE *);
    00315
    00316 WandExport MagickProgressMonitor
    00317   MagickSetImageProgressMonitor(MagickWand *,const MagickProgressMonitor,
    00318     void *);
    00319
    00320 extern WandExport MagickWand
    00321   *MagickAppendImages(MagickWand *,const MagickBooleanType),
    00322   *MagickAverageImages(MagickWand *),
    00323   *MagickCoalesceImages(MagickWand *),
    00324   *MagickCombineImages(MagickWand *,const ChannelType),
    00325   *MagickCompareImageChannels(MagickWand *,const MagickWand *,const ChannelType,
    00326     const MetricType,double *),
    00327   *MagickCompareImages(MagickWand *,const MagickWand *,const MetricType,
    00328     double *),
    00329   *MagickCompareImageLayers(MagickWand *,const ImageLayerMethod),
    00330   *MagickDeconstructImages(MagickWand *),
    00331   *MagickFxImage(MagickWand *,const char *),
    00332   *MagickFxImageChannel(MagickWand *,const ChannelType,const char *),
    00333   *MagickGetImage(MagickWand *),
    00334   *MagickGetImageClipMask(MagickWand *),
    00335   *MagickGetImageRegion(MagickWand *,const unsigned long,const unsigned long,
    00336     const long,const long),
    00337   *MagickMergeImageLayers(MagickWand *,const ImageLayerMethod),
    00338   *MagickMorphImages(MagickWand *,const unsigned long),
    00339   *MagickMontageImage(MagickWand *,const DrawingWand *,const char *,
    00340     const char *,const MontageMode,const char *),
    00341   *MagickOptimizeImageLayers(MagickWand *),
    00342   *MagickPreviewImages(MagickWand *wand,const PreviewType),
    00343   *MagickSteganoImage(MagickWand *,const MagickWand *,const long),
    00344   *MagickStereoImage(MagickWand *,const MagickWand *),
    00345   *MagickTextureImage(MagickWand *,const MagickWand *),
    00346   *MagickTransformImage(MagickWand *,const char *,const char *),
    00347   *NewMagickWandFromImage(const Image *);
    00348
    00349 extern WandExport OrientationType
    00350   MagickGetImageOrientation(MagickWand *);
    00351
    00352 extern WandExport PixelWand
    00353   **MagickGetImageHistogram(MagickWand *,unsigned long *);
    00354
    00355 extern WandExport RenderingIntent
    00356   MagickGetImageRenderingIntent(MagickWand *);
    00357
    00358 extern WandExport ResolutionType
    00359   MagickGetImageUnits(MagickWand *);
    00360
    00361 extern WandExport unsigned char
    00362   *MagickGetImageBlob(MagickWand *,size_t *),
    00363   *MagickGetImagesBlob(MagickWand *,size_t *);
    00364
    00365 extern WandExport unsigned long
    00366   MagickGetImageColors(MagickWand *),
    00367   MagickGetImageCompressionQuality(MagickWand *),
    00368   MagickGetImageDelay(MagickWand *),
    00369   MagickGetImageChannelDepth(MagickWand *,const ChannelType),
    00370   MagickGetImageDepth(MagickWand *),
    00371   MagickGetImageHeight(MagickWand *),
    00372   MagickGetImageIterations(MagickWand *),
    00373   MagickGetImageScene(MagickWand *),
    00374   MagickGetImageTicksPerSecond(MagickWand *),
    00375   MagickGetImageWidth(MagickWand *),
    00376   MagickGetNumberImages(MagickWand *);
    00377
    00378 extern WandExport VirtualPixelMethod
    00379   MagickGetImageVirtualPixelMethod(MagickWand *);
    00380
    00381 #if defined(__cplusplus) || defined(c_plusplus)
    00382 }
    00383 #endif
    00384
    00385 #endif