typedef enum
{
UndefinedInterpolatePixel,
- AverageInterpolatePixel,
- BicubicInterpolatePixel,
- BilinearInterpolatePixel,
- FilterInterpolatePixel,
- IntegerInterpolatePixel,
- MeshInterpolatePixel,
- NearestNeighborInterpolatePixel,
- SplineInterpolatePixel
+ AverageInterpolatePixel, /* Average 4 nearest neighbours */
+ Average9InterpolatePixel, /* Average 9 nearest neighbours */
+ Average16InterpolatePixel, /* Average 16 nearest neighbours */
+ BackgroundInterpolatePixel, /* Just return background color */
+ BilinearInterpolatePixel, /* Triangular filter interpolation */
+ BlendInterpolatePixel, /* blend of nearest 1, 2 or 4 pixels */
+ CatromInterpolatePixel, /* Catmull-Rom interpolation */
+ IntegerInterpolatePixel, /* Integer (floor) interpolation */
+ MeshInterpolatePixel, /* Triangular Mesh interpolation */
+ NearestInterpolatePixel, /* Nearest Neighbour Only */
+ SplineInterpolatePixel /* Cubic Spline (blurred) interpolation */
+ /* FilterInterpolatePixel, ** Use resize filter - (very slow) */
} PixelInterpolateMethod;
typedef enum
RedPixelChannel = 0,
CyanPixelChannel = 0,
GrayPixelChannel = 0,
+ LPixelChannel = 0,
YPixelChannel = 0,
+ aPixelChannel = 1,
GreenPixelChannel = 1,
MagentaPixelChannel = 1,
CbPixelChannel = 1,
+ bPixelChannel = 2,
BluePixelChannel = 2,
YellowPixelChannel = 2,
CrPixelChannel = 2,
ColorspaceType
colorspace;
- MagickBooleanType
- matte;
+ PixelTrait
+ alpha_trait;
double
fuzz;
MagickSizeType
count;
- double
+ MagickRealType
red,
green,
blue,
typedef struct _CacheView
CacheView_;
-extern MagickExport ChannelType
- SetPixelChannelMask(Image *,const ChannelType);
-
extern MagickExport MagickBooleanType
- ExportImagePixels(const Image *,const ssize_t,const ssize_t,const size_t,
+ ExportImagePixels(Image *,const ssize_t,const ssize_t,const size_t,
const size_t,const char *,const StorageType,void *,ExceptionInfo *),
ImportImagePixels(Image *,const ssize_t,const ssize_t,const size_t,
const size_t,const char *,const StorageType,const void *,ExceptionInfo *),
extern MagickExport void
InitializePixelChannelMap(Image *),
GetPixelInfo(const Image *,PixelInfo *),
- SetPixelChannelMapMask(Image *,const ChannelType);
+ SetPixelChannelMask(Image *,const ChannelType);
#if defined(__cplusplus) || defined(c_plusplus)
}