MagickCore  7.0.9
image.h File Reference
Include dependency graph for image.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _PrimaryInfo
 
struct  _SegmentInfo
 
struct  _ChromaticityInfo
 
struct  _Image
 
struct  _ImageInfo
 

Macros

#define OpaqueAlpha   ((Quantum) QuantumRange)
 
#define TransparentAlpha   ((Quantum) 0)
 

Typedefs

typedef struct _PrimaryInfo PrimaryInfo
 
typedef struct _SegmentInfo SegmentInfo
 
typedef struct _ChromaticityInfo ChromaticityInfo
 

Enumerations

enum  AlphaChannelOption {
  UndefinedAlphaChannel, ActivateAlphaChannel, AssociateAlphaChannel, BackgroundAlphaChannel,
  CopyAlphaChannel, DeactivateAlphaChannel, DiscreteAlphaChannel, DisassociateAlphaChannel,
  ExtractAlphaChannel, OffAlphaChannel, OnAlphaChannel, OpaqueAlphaChannel,
  RemoveAlphaChannel, SetAlphaChannel, ShapeAlphaChannel, TransparentAlphaChannel
}
 
enum  ImageType {
  UndefinedType, BilevelType, GrayscaleType, GrayscaleAlphaType,
  PaletteType, PaletteAlphaType, TrueColorType, TrueColorAlphaType,
  ColorSeparationType, ColorSeparationAlphaType, OptimizeType, PaletteBilevelAlphaType
}
 
enum  InterlaceType {
  UndefinedInterlace, NoInterlace, LineInterlace, PlaneInterlace,
  PartitionInterlace, GIFInterlace, JPEGInterlace, PNGInterlace
}
 
enum  OrientationType {
  UndefinedOrientation, TopLeftOrientation, TopRightOrientation, BottomRightOrientation,
  BottomLeftOrientation, LeftTopOrientation, RightTopOrientation, RightBottomOrientation,
  LeftBottomOrientation
}
 
enum  ResolutionType { UndefinedResolution, PixelsPerInchResolution, PixelsPerCentimeterResolution }
 
enum  TransmitType {
  UndefinedTransmitType, FileTransmitType, BlobTransmitType, StreamTransmitType,
  ImageTransmitType
}
 

Functions

MagickExport ChannelType SetImageChannelMask (Image *, const ChannelType)
 
MagickExport ExceptionType CatchImageException (Image *)
 
MagickExport FILE * GetImageInfoFile (const ImageInfo *)
 
MagickExport ImageAcquireImage (const ImageInfo *, ExceptionInfo *)
 
MagickExport ImageAppendImages (const Image *, const MagickBooleanType, ExceptionInfo *)
 
MagickExport ImageCloneImage (const Image *, const size_t, const size_t, const MagickBooleanType, ExceptionInfo *)
 
MagickExport ImageDestroyImage (Image *)
 
MagickExport ImageGetImageMask (const Image *, const PixelMask, ExceptionInfo *)
 
MagickExport ImageNewMagickImage (const ImageInfo *, const size_t, const size_t, const PixelInfo *, ExceptionInfo *)
 
MagickExport ImageReferenceImage (Image *)
 
MagickExport ImageSmushImages (const Image *, const MagickBooleanType, const ssize_t, ExceptionInfo *)
 
MagickExport ImageInfoAcquireImageInfo (void)
 
MagickExport ImageInfoCloneImageInfo (const ImageInfo *)
 
MagickExport ImageInfoDestroyImageInfo (ImageInfo *)
 
MagickExport MagickBooleanType ClipImage (Image *, ExceptionInfo *)
 
MagickExport MagickBooleanType ClipImagePath (Image *, const char *, const MagickBooleanType, ExceptionInfo *)
 
MagickExport MagickBooleanType CopyImagePixels (Image *, const Image *, const RectangleInfo *, const OffsetInfo *, ExceptionInfo *)
 
MagickExport MagickBooleanType IsTaintImage (const Image *)
 
MagickExport MagickBooleanType IsHighDynamicRangeImage (const Image *, ExceptionInfo *)
 
MagickExport MagickBooleanType IsImageObject (const Image *)
 
MagickExport MagickBooleanType ListMagickInfo (FILE *, ExceptionInfo *)
 
MagickExport MagickBooleanType ModifyImage (Image **, ExceptionInfo *)
 
MagickExport MagickBooleanType ResetImagePage (Image *, const char *)
 
MagickExport MagickBooleanType ResetImagePixels (Image *, ExceptionInfo *)
 
MagickExport MagickBooleanType SetImageAlpha (Image *, const Quantum, ExceptionInfo *)
 
MagickExport MagickBooleanType SetImageBackgroundColor (Image *, ExceptionInfo *)
 
MagickExport MagickBooleanType SetImageColor (Image *, const PixelInfo *, ExceptionInfo *)
 
MagickExport MagickBooleanType SetImageExtent (Image *, const size_t, const size_t, ExceptionInfo *)
 
MagickExport MagickBooleanType SetImageInfo (ImageInfo *, const unsigned int, ExceptionInfo *)
 
MagickExport MagickBooleanType SetImageMask (Image *, const PixelMask type, const Image *, ExceptionInfo *)
 
MagickExport MagickBooleanType SetImageRegionMask (Image *, const PixelMask type, const RectangleInfo *, ExceptionInfo *)
 
MagickExport MagickBooleanType SetImageStorageClass (Image *, const ClassType, ExceptionInfo *)
 
MagickExport MagickBooleanType StripImage (Image *, ExceptionInfo *)
 
MagickExport MagickBooleanType SyncImage (Image *, ExceptionInfo *)
 
MagickExport MagickBooleanType SyncImageSettings (const ImageInfo *, Image *, ExceptionInfo *)
 
MagickExport MagickBooleanType SyncImagesSettings (ImageInfo *, Image *, ExceptionInfo *)
 
MagickExport size_t InterpretImageFilename (const ImageInfo *, Image *, const char *, int, char *, ExceptionInfo *)
 
MagickExport ssize_t GetImageReferenceCount (Image *)
 
MagickExport VirtualPixelMethod GetImageVirtualPixelMethod (const Image *)
 
MagickExport VirtualPixelMethod SetImageVirtualPixelMethod (Image *, const VirtualPixelMethod, ExceptionInfo *)
 
MagickExport void AcquireNextImage (const ImageInfo *, Image *, ExceptionInfo *)
 
MagickExport void DestroyImagePixels (Image *)
 
MagickExport void DisassociateImageStream (Image *)
 
MagickExport void GetImageInfo (ImageInfo *)
 
MagickExport void SetImageInfoBlob (ImageInfo *, const void *, const size_t)
 
MagickExport void SetImageInfoFile (ImageInfo *, FILE *)
 
MagickExport void SetImageInfoCustomStream (ImageInfo *, CustomStreamInfo *)
 

Variables

MagickExport const char DefaultTileGeometry []
 
MagickExport const char DefaultTileLabel []
 
MagickExport const char LoadImageTag []
 
MagickExport const char LoadImagesTag []
 
MagickExport const char PSDensityGeometry []
 
MagickExport const char PSPageGeometry []
 
MagickExport const char SaveImageTag []
 
MagickExport const char SaveImagesTag []
 
MagickExport const double DefaultResolution
 

Macro Definition Documentation

Typedef Documentation

typedef struct _PrimaryInfo PrimaryInfo
typedef struct _SegmentInfo SegmentInfo

Enumeration Type Documentation

Enumerator
UndefinedAlphaChannel 
ActivateAlphaChannel 
AssociateAlphaChannel 
BackgroundAlphaChannel 
CopyAlphaChannel 
DeactivateAlphaChannel 
DiscreteAlphaChannel 
DisassociateAlphaChannel 
ExtractAlphaChannel 
OffAlphaChannel 
OnAlphaChannel 
OpaqueAlphaChannel 
RemoveAlphaChannel 
SetAlphaChannel 
ShapeAlphaChannel 
TransparentAlphaChannel 

Definition at line 28 of file image.h.

enum ImageType
Enumerator
UndefinedType 
BilevelType 
GrayscaleType 
GrayscaleAlphaType 
PaletteType 
PaletteAlphaType 
TrueColorType 
TrueColorAlphaType 
ColorSeparationType 
ColorSeparationAlphaType 
OptimizeType 
PaletteBilevelAlphaType 

Definition at line 48 of file image.h.

Enumerator
UndefinedInterlace 
NoInterlace 
LineInterlace 
PlaneInterlace 
PartitionInterlace 
GIFInterlace 
JPEGInterlace 
PNGInterlace 

Definition at line 64 of file image.h.

Enumerator
UndefinedOrientation 
TopLeftOrientation 
TopRightOrientation 
BottomRightOrientation 
BottomLeftOrientation 
LeftTopOrientation 
RightTopOrientation 
RightBottomOrientation 
LeftBottomOrientation 

Definition at line 76 of file image.h.

Enumerator
UndefinedResolution 
PixelsPerInchResolution 
PixelsPerCentimeterResolution 

Definition at line 89 of file image.h.

Enumerator
UndefinedTransmitType 
FileTransmitType 
BlobTransmitType 
StreamTransmitType 
ImageTransmitType 

Definition at line 113 of file image.h.

Function Documentation

MagickExport Image* AcquireImage ( const ImageInfo ,
ExceptionInfo  
)
MagickExport ImageInfo* AcquireImageInfo ( void  )
MagickExport void AcquireNextImage ( const ImageInfo ,
Image ,
ExceptionInfo  
)
MagickExport Image * AppendImages ( const Image ,
const MagickBooleanType  ,
ExceptionInfo  
)
MagickExport MagickBooleanType ClipImage ( Image ,
ExceptionInfo  
)
MagickExport MagickBooleanType ClipImagePath ( Image ,
const char *  ,
const MagickBooleanType  ,
ExceptionInfo  
)
MagickExport Image * CloneImage ( const Image ,
const size_t  ,
const size_t  ,
const MagickBooleanType  ,
ExceptionInfo  
)
MagickExport ImageInfo * CloneImageInfo ( const ImageInfo )
MagickExport MagickBooleanType CopyImagePixels ( Image ,
const Image ,
const RectangleInfo ,
const OffsetInfo ,
ExceptionInfo  
)
MagickExport Image * DestroyImage ( Image )
MagickExport void DestroyImagePixels ( Image )
MagickExport void DisassociateImageStream ( Image )
MagickExport void GetImageInfo ( ImageInfo )
MagickExport FILE* GetImageInfoFile ( const ImageInfo )

Definition at line 1407 of file image.c.

References _ImageInfo::file.

MagickExport Image * GetImageMask ( const Image ,
const PixelMask  ,
ExceptionInfo  
)
MagickExport VirtualPixelMethod GetImageVirtualPixelMethod ( const Image )
MagickExport size_t InterpretImageFilename ( const ImageInfo ,
Image ,
const char *  ,
int  ,
char *  ,
ExceptionInfo  
)
MagickExport MagickBooleanType IsHighDynamicRangeImage ( const Image ,
ExceptionInfo  
)
MagickExport MagickBooleanType IsImageObject ( const Image )
MagickExport MagickBooleanType IsTaintImage ( const Image )
MagickExport MagickBooleanType ListMagickInfo ( FILE *  ,
ExceptionInfo  
)
MagickExport MagickBooleanType ModifyImage ( Image **  ,
ExceptionInfo  
)
MagickExport Image * NewMagickImage ( const ImageInfo ,
const size_t  ,
const size_t  ,
const PixelInfo ,
ExceptionInfo  
)
MagickExport Image * ReferenceImage ( Image )
MagickExport MagickBooleanType ResetImagePage ( Image ,
const char *   
)
MagickExport MagickBooleanType ResetImagePixels ( Image ,
ExceptionInfo  
)
MagickExport MagickBooleanType SetImageAlpha ( Image ,
const Quantum  ,
ExceptionInfo  
)
MagickExport MagickBooleanType SetImageBackgroundColor ( Image ,
ExceptionInfo  
)
MagickExport MagickBooleanType SetImageColor ( Image ,
const PixelInfo ,
ExceptionInfo  
)
MagickExport MagickBooleanType SetImageExtent ( Image ,
const size_t  ,
const size_t  ,
ExceptionInfo  
)
MagickExport MagickBooleanType SetImageInfo ( ImageInfo ,
const unsigned int  ,
ExceptionInfo  
)
MagickExport void SetImageInfoBlob ( ImageInfo ,
const void *  ,
const size_t   
)
MagickExport void SetImageInfoFile ( ImageInfo ,
FILE *   
)
MagickExport MagickBooleanType SetImageMask ( Image ,
const PixelMask  type,
const Image ,
ExceptionInfo  
)
MagickExport MagickBooleanType SetImageRegionMask ( Image ,
const PixelMask  type,
const RectangleInfo ,
ExceptionInfo  
)
MagickExport MagickBooleanType SetImageStorageClass ( Image ,
const ClassType  ,
ExceptionInfo  
)
MagickExport MagickBooleanType StripImage ( Image ,
ExceptionInfo  
)
MagickExport MagickBooleanType SyncImage ( Image ,
ExceptionInfo  
)
MagickExport MagickBooleanType SyncImageSettings ( const ImageInfo ,
Image ,
ExceptionInfo  
)

Variable Documentation

MagickExport const double DefaultResolution

Definition at line 127 of file image.c.

MagickExport const char DefaultTileGeometry[]

Definition at line 114 of file image.c.

MagickExport const char DefaultTileLabel[]

Definition at line 115 of file image.c.

MagickExport const char LoadImagesTag[]

Definition at line 118 of file image.c.

MagickExport const char LoadImageTag[]

Definition at line 117 of file image.c.

MagickExport const char PSDensityGeometry[]

Definition at line 120 of file image.c.

MagickExport const char PSPageGeometry[]

Definition at line 121 of file image.c.

MagickExport const char SaveImagesTag[]

Definition at line 123 of file image.c.

MagickExport const char SaveImageTag[]

Definition at line 122 of file image.c.