MagickCore  6.7.5
image.h File Reference
Include dependency graph for image.h:

Go to the source code of this file.

Data Structures

struct  _PrimaryInfo
struct  _SegmentInfo
struct  _ChromaticityInfo
struct  _Image
struct  _ImageInfo

Defines

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

Typedefs

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

Enumerations

enum  AlphaChannelType {
  UndefinedAlphaChannel, ActivateAlphaChannel, BackgroundAlphaChannel, CopyAlphaChannel,
  DeactivateAlphaChannel, ExtractAlphaChannel, OpaqueAlphaChannel, RemoveAlphaChannel,
  SetAlphaChannel, ShapeAlphaChannel, TransparentAlphaChannel
}
enum  ImageType {
  UndefinedType, BilevelType, GrayscaleType, GrayscaleMatteType,
  PaletteType, PaletteMatteType, TrueColorType, TrueColorMatteType,
  ColorSeparationType, ColorSeparationMatteType, OptimizeType, PaletteBilevelMatteType
}
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 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 ImageCombineImages (const Image *, ExceptionInfo *)
MagickExport ImageDestroyImage (Image *)
MagickExport ImageGetImageClipMask (const Image *, ExceptionInfo *)
MagickExport ImageGetImageMask (const Image *, ExceptionInfo *)
MagickExport ImageNewMagickImage (const ImageInfo *, const size_t, const size_t, const PixelInfo *, ExceptionInfo *)
MagickExport ImageReferenceImage (Image *)
MagickExport ImageSeparateImage (const Image *, const ChannelType, ExceptionInfo *)
MagickExport ImageSeparateImages (const Image *, ExceptionInfo *)
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 GetImageAlphaChannel (const Image *)
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 SetImageAlpha (Image *, const Quantum, ExceptionInfo *)
MagickExport MagickBooleanType SetImageAlphaChannel (Image *, const AlphaChannelType, 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 Image *, ExceptionInfo *)
MagickExport MagickBooleanType SetImageStorageClass (Image *, const ClassType, ExceptionInfo *)
MagickExport MagickBooleanType SetImageType (Image *, const ImageType, 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 (const Image *, const VirtualPixelMethod)
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 *)

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

Define Documentation


Typedef Documentation

typedef struct _PrimaryInfo PrimaryInfo
typedef struct _SegmentInfo SegmentInfo

Enumeration Type Documentation

Enumerator:
UndefinedAlphaChannel 
ActivateAlphaChannel 
BackgroundAlphaChannel 
CopyAlphaChannel 
DeactivateAlphaChannel 
ExtractAlphaChannel 
OpaqueAlphaChannel 
RemoveAlphaChannel 
SetAlphaChannel 
ShapeAlphaChannel 
TransparentAlphaChannel 

Definition at line 30 of file image.h.

enum ImageType
Enumerator:
UndefinedType 
BilevelType 
GrayscaleType 
GrayscaleMatteType 
PaletteType 
PaletteMatteType 
TrueColorType 
TrueColorMatteType 
ColorSeparationType 
ColorSeparationMatteType 
OptimizeType 
PaletteBilevelMatteType 

Definition at line 45 of file image.h.

Enumerator:
UndefinedInterlace 
NoInterlace 
LineInterlace 
PlaneInterlace 
PartitionInterlace 
GIFInterlace 
JPEGInterlace 
PNGInterlace 

Definition at line 61 of file image.h.

Enumerator:
UndefinedOrientation 
TopLeftOrientation 
TopRightOrientation 
BottomRightOrientation 
BottomLeftOrientation 
LeftTopOrientation 
RightTopOrientation 
RightBottomOrientation 
LeftBottomOrientation 

Definition at line 73 of file image.h.

Enumerator:
UndefinedResolution 
PixelsPerInchResolution 
PixelsPerCentimeterResolution 

Definition at line 86 of file image.h.

Enumerator:
UndefinedTransmitType 
FileTransmitType 
BlobTransmitType 
StreamTransmitType 
ImageTransmitType 

Definition at line 110 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 Image * CombineImages ( const Image ,
ExceptionInfo  
)
MagickExport Image * DestroyImage ( Image )
MagickExport void DestroyImagePixels ( Image )
MagickExport void DisassociateImageStream ( Image )
MagickExport MagickBooleanType GetImageAlphaChannel ( const Image )
MagickExport Image * GetImageClipMask ( const Image ,
ExceptionInfo  
)
MagickExport void GetImageInfo ( ImageInfo )
MagickExport FILE* GetImageInfoFile ( const ImageInfo )

Definition at line 1413 of file image.c.

References _ImageInfo::file.

MagickExport Image * GetImageMask ( const Image ,
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 Image * SeparateImage ( const Image ,
const ChannelType  ,
ExceptionInfo  
)
MagickExport Image * SeparateImages ( const Image ,
ExceptionInfo  
)
MagickExport MagickBooleanType SetImageAlpha ( Image ,
const Quantum  ,
ExceptionInfo  
)
MagickExport MagickBooleanType SetImageAlphaChannel ( Image ,
const AlphaChannelType  ,
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 Image ,
ExceptionInfo  
)
MagickExport MagickBooleanType SetImageStorageClass ( Image ,
const ClassType  ,
ExceptionInfo  
)
MagickExport MagickBooleanType SetImageType ( Image ,
const ImageType  ,
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 120 of file image.c.

Referenced by RenderPostscript(), DrawBoundingRectangles(), and AcquireImage().

MagickExport const char DefaultTileGeometry[]

Definition at line 107 of file image.c.

Referenced by GetMontageInfo().

MagickExport const char DefaultTileLabel[]

Definition at line 108 of file image.c.

Referenced by PreviewImage().

MagickExport const char LoadImagesTag[]

Definition at line 111 of file image.c.

MagickExport const char LoadImageTag[]

Definition at line 110 of file image.c.

Referenced by HuffmanDecodeImage(), and HuffmanEncodeImage().

MagickExport const char PSDensityGeometry[]

Definition at line 113 of file image.c.

MagickExport const char PSPageGeometry[]

Definition at line 114 of file image.c.

MagickExport const char SaveImagesTag[]

Definition at line 116 of file image.c.

MagickExport const char SaveImageTag[]

Definition at line 115 of file image.c.