Image Magick
ImageMagick-6.1.1/magick/deprecate.h
Go to the documentation of this file.00001
00002
00003
00004
#ifndef _MAGICK_DEPRECATE_H
00005
#define _MAGICK_DEPRECATE_H
00006
00007
#if defined(__cplusplus) || defined(c_plusplus)
00008
extern "C" {
00009
#endif
00010
00011
#include "magick/blob.h"
00012
#include "magick/constitute.h"
00013
00014
#if !defined(magick_attribute)
00015
# if !defined(__GNUC__)
00016 # define magick_attribute(x)
00017
# else
00018
# define magick_attribute __attribute__
00019
# endif
00020
#endif
00021
00022 #define Downscale(quantum) ScaleQuantumToChar(quantum)
00023 #define False 0
00024 #define Intensity(color) PixelIntensityToQuantum(color)
00025 #define LiberateUniqueFileResource(resource) \
00026
RelinquishUniqueFileResource(resource)
00027 #define LiberateMagickResource(resource) RelinquishMagickResource(resource)
00028 #define LiberateSemaphore(semaphore) RelinquishSemaphore(semaphore)
00029 #define RunlengthEncodedCompression RLECompression
00030 #define True 1
00031 #define Upscale(value) ScaleCharToQuantum(value)
00032 #define XDownscale(value) ScaleShortToQuantum(value)
00033 #define XUpscale(quantum) ScaleQuantumToShort(quantum)
00034
00035
typedef struct _DoublePixelPacket
00036 {
00037
double
00038 red,
00039
green,
00040
blue,
00041
opacity,
00042
index;
00043 }
DoublePixelPacket;
00044
00045
#if !defined(__WINDOWS__)
00046
#if (SIZEOF_LONG_LONG == 8)
00047
typedef long long ExtendedSignedIntegralType;
00048
typedef unsigned long long ExtendedUnsignedIntegralType;
00049
#else
00050 typedef long ExtendedSignedIntegralType;
00051 typedef unsigned long ExtendedUnsignedIntegralType;
00052
#endif
00053
#else
00054
typedef __int64
ExtendedSignedIntegralType;
00055
typedef unsigned __int64
ExtendedUnsignedIntegralType;
00056
#endif
00057
#if defined(HAVE_LONG_DOUBLE)
00058
typedef long double ExtendedRationalType;
00059
#else
00060 typedef double ExtendedRationalType;
00061
#endif
00062
00063
typedef MagickBooleanType
00064 (*MonitorHandler)(
const char *,
const MagickOffsetType,
const MagickSizeType,
00065
ExceptionInfo *);
00066
00067
extern MagickExport char
00068 *
AllocateString(
const char *),
00069 *
PostscriptGeometry(
const char *);
00070
00071
extern MagickExport Image
00072 *
GetImageList(
const Image *,
const long,
ExceptionInfo *),
00073 *
GetNextImage(
const Image *),
00074 *
GetPreviousImage(
const Image *),
00075 *
PopImageList(
Image **),
00076 *
ShiftImageList(
Image **),
00077 *
SpliceImageList(
Image *,
const long,
const unsigned long,
const Image *,
00078
ExceptionInfo *);
00079
00080
extern MagickExport long
00081
GetImageListIndex(
const Image *);
00082
00083
extern MagickExport IndexPacket
00084
ValidateColormapIndex(
Image *,
const unsigned long);
00085
00086
extern MagickExport int
00087
GetImageGeometry(
Image *,
const char *,
const unsigned int,
RectangleInfo *),
00088
ParseImageGeometry(
const char *,
long *,
long *,
unsigned long *,
00089
unsigned long *);
00090
00091
extern MagickExport MagickBooleanType
00092
MagickMonitor(
const char *,
const MagickOffsetType,
const MagickSizeType,
00093
void *),
00094
OpaqueImage(
Image *,
const PixelPacket,
const PixelPacket),
00095
TransparentImage(
Image *,
const PixelPacket,
const Quantum);
00096
00097
extern MagickExport MonitorHandler
00098
GetMonitorHandler(
void),
00099
SetMonitorHandler(MonitorHandler);
00100
00101
extern MagickExport MagickOffsetType
00102
SizeBlob(
const Image *image);
00103
00104
extern MagickExport unsigned int
00105
ChannelImage(
Image *,
const ChannelType),
00106
ChannelThresholdImage(
Image *,
const char *),
00107
DispatchImage(
const Image *,
const long,
const long,
const unsigned long,
00108
const unsigned long,
const char *,
const StorageType,
void *,
ExceptionInfo *),
00109
FuzzyColorMatch(
const PixelPacket *,
const PixelPacket *,
const double),
00110
GetNumberScenes(
const Image *),
00111
GetMagickGeometry(
const char *,
long *,
long *,
unsigned long *,
unsigned long *),
00112
IsSubimage(
const char *,
const unsigned int),
00113
PushImageList(
Image **,
const Image *,
ExceptionInfo *),
00114
QuantizationError(
Image *),
00115
RandomChannelThresholdImage(
Image *,
const char *,
const char *,
00116
ExceptionInfo *),
00117
SetImageList(
Image **,
const Image *,
const long,
ExceptionInfo *),
00118
TransformColorspace(
Image *,
const ColorspaceType),
00119
ThresholdImage(
Image *,
const double),
00120
ThresholdImageChannel(
Image *,
const char *),
00121
UnshiftImageList(
Image **,
const Image *,
ExceptionInfo *);
00122
00123
extern MagickExport unsigned long
00124
GetImageListSize(
const Image *);
00125
00126
extern MagickExport void
00127 *
AcquireMemory(
const size_t),
00128 *
CloneMemory(
void *,
const void *,
const size_t),
00129
DeleteImageFromList(
Image **),
00130
DestroyImages(
Image *),
00131 *
GetConfigureBlob(
const char *,
char *,size_t *,
ExceptionInfo *),
00132
IdentityAffine(
AffineMatrix *),
00133
LiberateMemory(
void **),
00134
LiberateSemaphoreInfo(
void **),
00135
FormatString(
char *,
const char *,...) magick_attribute((format (printf,2,3))),
00136 ReacquireMemory(
void **,const size_t),
00137 SetCacheThreshold(const
unsigned long),
00138 Strip(
char *),
00139 TemporaryFilename(
char *);
00140
00141 #if defined(__cplusplus) || defined(c_plusplus)
00142 }
00143 #endif
00144
00145 #endif
Generated on Mon Oct 25 13:40:52 2004 for ImageMagick by
1.3.7
ImageMagick Copyright © 2004, ImageMagick Studio LLC