#endif
#include <MagickCore/color.h>
+#include <MagickCore/pixel.h>
#define OpaqueAlpha ((Quantum) QuantumRange)
-#define TransparentAlpha ((Quantum) 0UL)
+#define TransparentAlpha ((Quantum) 0)
typedef enum
{
SetAlphaChannel,
ShapeAlphaChannel,
TransparentAlphaChannel
-} AlphaChannelType;
+} AlphaChannelOption;
typedef enum
{
orientation; /* photo orientation of image */
MagickBooleanType
- taint, /* has image been modified since reading */
- matte; /* is transparency channel defined and active */
+ taint; /* has image been modified since reading */
size_t
columns, /* physical size of image */
MagickBooleanType
mask;
+ PixelTrait
+ alpha_trait; /* is transparency channel defined and active */
+
size_t
number_channels,
number_meta_channels,
SemaphoreInfo
*semaphore;
+
struct _Image
- *previous, /* Image sequence list links */
- *list,
+ *list, /* Undo/Redo image processing list (for display) */
+ *previous, /* Image list links */
*next;
size_t
orientation; /* orientation setting */
MagickBooleanType
- temporary,
+ temporary, /* image file to be deleted after read "empemeral:" */
adjoin, /* save images to seperate scene files */
affirm,
antialias;
signature;
};
+extern MagickExport ChannelType
+ SetImageChannelMask(Image *,const ChannelType);
+
extern MagickExport const char
DefaultTileGeometry[],
DefaultTileLabel[],
ModifyImage(Image **,ExceptionInfo *),
ResetImagePage(Image *,const char *),
SetImageAlpha(Image *,const Quantum,ExceptionInfo *),
- SetImageAlphaChannel(Image *,const AlphaChannelType,ExceptionInfo *),
+ SetImageAlphaChannel(Image *,const AlphaChannelOption,ExceptionInfo *),
SetImageBackgroundColor(Image *,ExceptionInfo *),
SetImageColor(Image *,const PixelInfo *,ExceptionInfo *),
SetImageExtent(Image *,const size_t,const size_t,ExceptionInfo *),
SetImageInfo(ImageInfo *,const unsigned int,ExceptionInfo *),
SetImageMask(Image *,const Image *,ExceptionInfo *),
SetImageStorageClass(Image *,const ClassType,ExceptionInfo *),
- SetImageType(Image *,const ImageType,ExceptionInfo *),
StripImage(Image *,ExceptionInfo *),
SyncImage(Image *,ExceptionInfo *),
SyncImageSettings(const ImageInfo *,Image *,ExceptionInfo *),