www.pudn.com > PtOpenGuiSourceCode.zip > deprecate.h


/* 
  Deprecated methods. 
*/ 
#ifndef _MAGICK_DEPRECATE_H 
#define _MAGICK_DEPRECATE_H 
 
#if defined(__cplusplus) || defined(c_plusplus) 
extern "C" { 
#endif 
 
/* 
  Deprecated defines. 
*/ 
#define Downscale(quantum)  ScaleQuantumToChar(quantum) 
#define Intensity(color)  PixelIntensityToQuantum(color) 
#define RunlengthEncodedCompression RLECompression 
#define Upscale(value)  ScaleCharToQuantum(value) 
#define XDownscale(value)  ScaleShortToQuantum(value) 
#define XUpscale(quantum)  ScaleQuantumToShort(quantum) 
 
extern MagickExport char 
  *PostscriptGeometry(const char *); 
 
extern MagickExport ExtendedSignedIntegralType 
  SizeBlob(const Image *image); 
 
extern MagickExport Image 
  *GetImageList(const Image *,const long,ExceptionInfo *), 
  *GetNextImage(const Image *), 
  *GetPreviousImage(const Image *), 
  *PopImageList(Image **), 
  *ShiftImageList(Image **), 
  *SpliceImageList(Image *,const long,const unsigned long,const Image *, 
    ExceptionInfo *); 
 
extern MagickExport long 
  GetImageListIndex(const Image *); 
 
extern MagickExport IndexPacket 
  ValidateColormapIndex(Image *,const unsigned long); 
 
extern MagickExport int 
  GetImageGeometry(const Image *,const char *,const unsigned int, 
    RectangleInfo *), 
  ParseImageGeometry(const char *,long *,long *,unsigned long *, 
    unsigned long *); 
 
extern MagickExport unsigned int 
  ChannelThresholdImage(Image *,const char *), 
  DeleteImageList(Image *,const long offset), 
  GetNumberScenes(const Image *), 
  GetMagickGeometry(const char *,long *,long *,unsigned long *,unsigned long *), 
  PushImageList(Image **,const Image *,ExceptionInfo *), 
  QuantizationError(Image *), 
  SetImageList(Image **,const Image *,const long,ExceptionInfo *), 
  UnshiftImageList(Image **,const Image *,ExceptionInfo *); 
 
extern MagickExport unsigned long 
  GetImageListSize(const Image *); 
 
extern MagickExport void 
  DestroyImages(Image *), 
  SetCacheThreshold(const unsigned long); 
 
#if defined(__cplusplus) || defined(c_plusplus) 
} 
#endif 
 
#endif