/*
- Copyright 1999-2012 ImageMagick Studio LLC, a non-profit organization
+ Copyright 1999-2014 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
#ifndef _MAGICKCORE_IMAGE_H
#define _MAGICKCORE_IMAGE_H
+#include "MagickCore/color.h"
+#include "MagickCore/pixel.h"
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
-#include <MagickCore/color.h>
-#include <MagickCore/pixel.h>
-
#define OpaqueAlpha ((Quantum) QuantumRange)
#define TransparentAlpha ((Quantum) 0)
extract_info;
double
- fuzz; /* current color fuzz attribute - make image_info */
+ fuzz; /* current color fuzz attribute - move to image_info */
FilterTypes
filter; /* resize/distort filter to apply */
+ PixelIntensityMethod
+ intensity; /* method to generate an intensity value from a pixel */
+
InterlaceType
interlace;
size_t
scene, /* index of image in multi-image file */
- delay; /* Animation delay time */
+ delay, /* Animation delay time */
+ duration; /* Total animation duration sum(delay*iterations) */
ssize_t
ticks_per_second; /* units for delay time, default 100 for GIF */
ping; /* no image data read, just attributes */
MagickBooleanType
- mask;
+ read_mask,
+ write_mask;
PixelTrait
alpha_trait; /* is transparency channel defined and active */
ProfileInfo
*generic_profile;
+ void
+ *properties, /* general settings, to save with image */
+ *artifacts; /* general operational/coder settings, not saved */
+
char
filename[MaxTextExtent], /* images input filename */
magick_filename[MaxTextExtent], /* given image filename (with read mods) */
BlobInfo
*blob; /* image file as in-memory string of 'extent' */
+ time_t
+ timestamp;
+
MagickBooleanType
debug; /* debug output attribute */
SemaphoreInfo
*semaphore;
- void
- *properties, /* general settings, to save with iamge */
- *artifacts; /* general operational/coder settings, not saved */
-
- struct _ImageInfo
+ const struct _ImageInfo
*image_info; /* (Optional) Image belongs to this ImageInfo 'list'
* For access to 'global options' when no per-image
* attribute, properity, or artifact has been set.
extern MagickExport MagickBooleanType
ClipImage(Image *,ExceptionInfo *),
ClipImagePath(Image *,const char *,const MagickBooleanType,ExceptionInfo *),
- GetImageAlphaChannel(const Image *),
IsTaintImage(const Image *),
IsHighDynamicRangeImage(const Image *,ExceptionInfo *),
IsImageObject(const Image *),
ModifyImage(Image **,ExceptionInfo *),
ResetImagePage(Image *,const char *),
SetImageAlpha(Image *,const Quantum,ExceptionInfo *),
- SetImageAlphaChannel(Image *,const AlphaChannelOption,ExceptionInfo *),
SetImageBackgroundColor(Image *,ExceptionInfo *),
SetImageColor(Image *,const PixelInfo *,ExceptionInfo *),
SetImageExtent(Image *,const size_t,const size_t,ExceptionInfo *),