MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
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 *)
 

Macro Definition Documentation

◆ OpaqueAlpha

#define OpaqueAlpha   ((Quantum) QuantumRange)

Definition at line 25 of file image.h.

◆ TransparentAlpha

#define TransparentAlpha   ((Quantum) 0)

Definition at line 26 of file image.h.

Typedef Documentation

◆ ChromaticityInfo

◆ PrimaryInfo

typedef struct _PrimaryInfo PrimaryInfo

◆ SegmentInfo

typedef struct _SegmentInfo SegmentInfo

Enumeration Type Documentation

◆ AlphaChannelOption

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.

◆ ImageType

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

Definition at line 48 of file image.h.

◆ InterlaceType

Enumerator
UndefinedInterlace 
NoInterlace 
LineInterlace 
PlaneInterlace 
PartitionInterlace 
GIFInterlace 
JPEGInterlace 
PNGInterlace 

Definition at line 64 of file image.h.

◆ OrientationType

Enumerator
UndefinedOrientation 
TopLeftOrientation 
TopRightOrientation 
BottomRightOrientation 
BottomLeftOrientation 
LeftTopOrientation 
RightTopOrientation 
RightBottomOrientation 
LeftBottomOrientation 

Definition at line 76 of file image.h.

◆ ResolutionType

Enumerator
UndefinedResolution 
PixelsPerInchResolution 
PixelsPerCentimeterResolution 

Definition at line 89 of file image.h.

◆ TransmitType

Enumerator
UndefinedTransmitType 
FileTransmitType 
BlobTransmitType 
StreamTransmitType 
ImageTransmitType 

Definition at line 113 of file image.h.

Function Documentation

◆ AcquireImage()

MagickExport Image * AcquireImage ( const ImageInfo ,
ExceptionInfo  
)

◆ AcquireImageInfo()

MagickExport ImageInfo * AcquireImageInfo ( void  )

◆ AcquireNextImage()

MagickExport void AcquireNextImage ( const ImageInfo ,
Image ,
ExceptionInfo  
)

◆ AppendImages()

MagickExport Image * AppendImages ( const Image ,
const  MagickBooleanType,
ExceptionInfo  
)

◆ CatchImageException()

◆ ClipImage()

MagickExport MagickBooleanType ClipImage ( Image ,
ExceptionInfo  
)

◆ ClipImagePath()

MagickExport MagickBooleanType ClipImagePath ( Image ,
const char *  ,
const  MagickBooleanType,
ExceptionInfo  
)

◆ CloneImage()

MagickExport Image * CloneImage ( const Image ,
const  size_t,
const  size_t,
const  MagickBooleanType,
ExceptionInfo  
)

◆ CloneImageInfo()

MagickExport ImageInfo * CloneImageInfo ( const ImageInfo )

◆ CopyImagePixels()

MagickExport MagickBooleanType CopyImagePixels ( Image ,
const Image ,
const RectangleInfo ,
const OffsetInfo ,
ExceptionInfo  
)

◆ DestroyImage()

MagickExport Image * DestroyImage ( Image )

◆ DestroyImageInfo()

◆ DestroyImagePixels()

MagickExport void DestroyImagePixels ( Image )

◆ DisassociateImageStream()

MagickExport void DisassociateImageStream ( Image )

◆ GetImageInfo()

MagickExport void GetImageInfo ( ImageInfo )

◆ GetImageInfoFile()

MagickExport FILE * GetImageInfoFile ( const ImageInfo image_info)

Definition at line 1409 of file image.c.

References _ImageInfo::file.

◆ GetImageMask()

MagickExport Image * GetImageMask ( const Image ,
const  PixelMask,
ExceptionInfo  
)

◆ GetImageReferenceCount()

◆ GetImageVirtualPixelMethod()

MagickExport VirtualPixelMethod GetImageVirtualPixelMethod ( const Image )

◆ InterpretImageFilename()

MagickExport size_t InterpretImageFilename ( const ImageInfo image_info,
Image image,
const char *  format,
int  value,
char *  filename,
ExceptionInfo exception 
)

◆ IsHighDynamicRangeImage()

MagickExport MagickBooleanType IsHighDynamicRangeImage ( const Image ,
ExceptionInfo  
)

◆ IsImageObject()

MagickExport MagickBooleanType IsImageObject ( const Image )

◆ IsTaintImage()

MagickExport MagickBooleanType IsTaintImage ( const Image )

◆ ListMagickInfo()

MagickExport MagickBooleanType ListMagickInfo ( FILE *  ,
ExceptionInfo  
)

◆ ModifyImage()

MagickExport MagickBooleanType ModifyImage ( Image **  ,
ExceptionInfo  
)

◆ NewMagickImage()

MagickExport Image * NewMagickImage ( const ImageInfo ,
const  size_t,
const  size_t,
const PixelInfo ,
ExceptionInfo  
)

◆ ReferenceImage()

MagickExport Image * ReferenceImage ( Image )

◆ ResetImagePage()

MagickExport MagickBooleanType ResetImagePage ( Image ,
const char *   
)

◆ ResetImagePixels()

MagickExport MagickBooleanType ResetImagePixels ( Image ,
ExceptionInfo  
)

◆ SetImageAlpha()

MagickExport MagickBooleanType SetImageAlpha ( Image ,
const  Quantum,
ExceptionInfo  
)

◆ SetImageBackgroundColor()

MagickExport MagickBooleanType SetImageBackgroundColor ( Image ,
ExceptionInfo  
)

◆ SetImageChannelMask()

MagickExport ChannelType SetImageChannelMask ( Image image,
const  ChannelType 
)

◆ SetImageColor()

MagickExport MagickBooleanType SetImageColor ( Image ,
const PixelInfo ,
ExceptionInfo  
)

◆ SetImageExtent()

MagickExport MagickBooleanType SetImageExtent ( Image ,
const  size_t,
const  size_t,
ExceptionInfo  
)

◆ SetImageInfo()

MagickExport MagickBooleanType SetImageInfo ( ImageInfo ,
const unsigned int  ,
ExceptionInfo  
)

◆ SetImageInfoBlob()

MagickExport void SetImageInfoBlob ( ImageInfo ,
const void *  ,
const  size_t 
)

◆ SetImageInfoCustomStream()

MagickExport void SetImageInfoCustomStream ( ImageInfo image_info,
CustomStreamInfo custom_stream 
)

◆ SetImageInfoFile()

MagickExport void SetImageInfoFile ( ImageInfo ,
FILE *   
)

◆ SetImageMask()

MagickExport MagickBooleanType SetImageMask ( Image ,
const PixelMask  type,
const Image ,
ExceptionInfo  
)

◆ SetImageRegionMask()

MagickExport MagickBooleanType SetImageRegionMask ( Image ,
const PixelMask  type,
const RectangleInfo ,
ExceptionInfo  
)

◆ SetImageStorageClass()

MagickExport MagickBooleanType SetImageStorageClass ( Image ,
const  ClassType,
ExceptionInfo  
)

◆ SetImageVirtualPixelMethod()

◆ SmushImages()

◆ StripImage()

MagickExport MagickBooleanType StripImage ( Image ,
ExceptionInfo  
)

◆ SyncImage()

MagickExport MagickBooleanType SyncImage ( Image ,
ExceptionInfo  
)

◆ SyncImageSettings()

MagickExport MagickBooleanType SyncImageSettings ( const ImageInfo ,
Image ,
ExceptionInfo  
)

◆ SyncImagesSettings()