MagickCore  7.0.7
Convert, Edit, Or Compose Bitmap Images
magick.h File Reference
#include <stdarg.h>
#include "MagickCore/semaphore.h"
Include dependency graph for magick.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _MagickInfo
 

Typedefs

typedef ImageDecodeImageHandler(const ImageInfo *, ExceptionInfo *)
 
typedef MagickBooleanType EncodeImageHandler(const ImageInfo *, Image *, ExceptionInfo *)
 
typedef MagickBooleanType IsImageFormatHandler(const unsigned char *, const size_t)
 
typedef struct _MagickInfo MagickInfo
 

Enumerations

enum  MagickFormatType { UndefinedFormatType, ImplicitFormatType, ExplicitFormatType }
 
enum  MagickInfoFlag {
  CoderNoFlag = 0x0000, CoderAdjoinFlag = 0x0001, CoderBlobSupportFlag = 0x0002, CoderDecoderThreadSupportFlag = 0x0004,
  CoderEncoderThreadSupportFlag = 0x0008, CoderEndianSupportFlag = 0x0010, CoderRawSupportFlag = 0x0020, CoderSeekableStreamFlag = 0x0040,
  CoderStealthFlag = 0x0080, CoderUseExtensionFlag = 0x0100, CoderDecoderSeekableStreamFlag = 0x0200, CoderEncoderSeekableStreamFlag = 0x0400
}
 

Functions

MagickExport char ** GetMagickList (const char *, size_t *, ExceptionInfo *)
 
MagickExport const char * GetMagickDescription (const MagickInfo *)
 
MagickExport const char * GetMagickMimeType (const MagickInfo *)
 
MagickExport DecodeImageHandlerGetImageDecoder (const MagickInfo *)
 
MagickExport EncodeImageHandlerGetImageEncoder (const MagickInfo *)
 
MagickExport int GetMagickPrecision (void)
 
MagickExport int SetMagickPrecision (const int)
 
MagickExport MagickBooleanType GetImageMagick (const unsigned char *, const size_t, char *)
 
MagickExport MagickBooleanType GetMagickAdjoin (const MagickInfo *)
 
MagickExport MagickBooleanType GetMagickBlobSupport (const MagickInfo *)
 
MagickExport MagickBooleanType GetMagickDecoderSeekableStream (const MagickInfo *)
 
MagickExport MagickBooleanType GetMagickDecoderThreadSupport (const MagickInfo *)
 
MagickExport MagickBooleanType GetMagickEncoderSeekableStream (const MagickInfo *)
 
MagickExport MagickBooleanType GetMagickEncoderThreadSupport (const MagickInfo *)
 
MagickExport MagickBooleanType GetMagickEndianSupport (const MagickInfo *)
 
MagickExport MagickBooleanType GetMagickRawSupport (const MagickInfo *)
 
MagickExport MagickBooleanType GetMagickStealth (const MagickInfo *)
 
MagickExport MagickBooleanType GetMagickUseExtension (const MagickInfo *)
 
MagickExport MagickBooleanType IsMagickCoreInstantiated (void)
 
MagickExport MagickBooleanType RegisterMagickInfo (MagickInfo *)
 
MagickExport MagickBooleanType UnregisterMagickInfo (const char *)
 
const MagickExport MagickInfoGetMagickInfo (const char *, ExceptionInfo *)
 
const MagickExport MagickInfo ** GetMagickInfoList (const char *, size_t *, ExceptionInfo *)
 
MagickExport MagickInfoAcquireMagickInfo (const char *, const char *, const char *)
 
MagickExport void MagickCoreGenesis (const char *, const MagickBooleanType)
 
MagickExport void MagickCoreTerminus (void)
 

Typedef Documentation

◆ DecodeImageHandler

typedef Image* DecodeImageHandler(const ImageInfo *, ExceptionInfo *)

Definition at line 53 of file magick.h.

◆ EncodeImageHandler

typedef MagickBooleanType EncodeImageHandler(const ImageInfo *, Image *, ExceptionInfo *)

Definition at line 56 of file magick.h.

◆ IsImageFormatHandler

typedef MagickBooleanType IsImageFormatHandler(const unsigned char *, const size_t)

Definition at line 59 of file magick.h.

◆ MagickInfo

typedef struct _MagickInfo MagickInfo

Enumeration Type Documentation

◆ MagickFormatType

Enumerator
UndefinedFormatType 
ImplicitFormatType 
ExplicitFormatType 

Definition at line 28 of file magick.h.

◆ MagickInfoFlag

Enumerator
CoderNoFlag 
CoderAdjoinFlag 
CoderBlobSupportFlag 
CoderDecoderThreadSupportFlag 
CoderEncoderThreadSupportFlag 
CoderEndianSupportFlag 
CoderRawSupportFlag 
CoderSeekableStreamFlag 
CoderStealthFlag 
CoderUseExtensionFlag 
CoderDecoderSeekableStreamFlag 
CoderEncoderSeekableStreamFlag 

Definition at line 35 of file magick.h.

Function Documentation

◆ AcquireMagickInfo()

◆ GetImageDecoder()

MagickExport DecodeImageHandler* GetImageDecoder ( const MagickInfo )

Definition at line 212 of file magick.c.

References _MagickInfo::decoder, MagickCoreSignature, and _MagickInfo::signature.

Referenced by ReadImage().

◆ GetImageEncoder()

MagickExport EncodeImageHandler* GetImageEncoder ( const MagickInfo )

Definition at line 241 of file magick.c.

References _MagickInfo::encoder, MagickCoreSignature, and _MagickInfo::signature.

Referenced by WriteImage().

◆ GetImageMagick()

MagickExport MagickBooleanType GetImageMagick ( const unsigned char *  ,
const size_t  ,
char *   
)

◆ GetMagickAdjoin()

MagickExport MagickBooleanType GetMagickAdjoin ( const MagickInfo )

◆ GetMagickBlobSupport()

MagickExport MagickBooleanType GetMagickBlobSupport ( const MagickInfo )

◆ GetMagickDecoderSeekableStream()

MagickExport MagickBooleanType GetMagickDecoderSeekableStream ( const MagickInfo )

◆ GetMagickDecoderThreadSupport()

MagickExport MagickBooleanType GetMagickDecoderThreadSupport ( const MagickInfo )

◆ GetMagickDescription()

MagickExport const char* GetMagickDescription ( const MagickInfo )

◆ GetMagickEncoderSeekableStream()

MagickExport MagickBooleanType GetMagickEncoderSeekableStream ( const MagickInfo )

◆ GetMagickEncoderThreadSupport()

MagickExport MagickBooleanType GetMagickEncoderThreadSupport ( const MagickInfo )

◆ GetMagickEndianSupport()

MagickExport MagickBooleanType GetMagickEndianSupport ( const MagickInfo )

◆ GetMagickInfo()

const MagickExport MagickInfo* GetMagickInfo ( const char *  ,
ExceptionInfo  
)

◆ GetMagickInfoList()

◆ GetMagickList()

◆ GetMagickMimeType()

MagickExport const char * GetMagickMimeType ( const MagickInfo )

Definition at line 839 of file magick.c.

References MagickCoreSignature, _MagickInfo::mime_type, and _MagickInfo::signature.

Referenced by IdentifyImage().

◆ GetMagickPrecision()

MagickExport int GetMagickPrecision ( void  )

◆ GetMagickRawSupport()

MagickExport MagickBooleanType GetMagickRawSupport ( const MagickInfo )

◆ GetMagickStealth()

MagickExport MagickBooleanType GetMagickStealth ( const MagickInfo )

◆ GetMagickUseExtension()

MagickExport MagickBooleanType GetMagickUseExtension ( const MagickInfo )

◆ IsMagickCoreInstantiated()

MagickExport MagickBooleanType IsMagickCoreInstantiated ( void  )

◆ MagickCoreGenesis()

MagickExport void MagickCoreGenesis ( const char *  ,
const MagickBooleanType   
)

◆ MagickCoreTerminus()

◆ RegisterMagickInfo()

MagickExport MagickBooleanType RegisterMagickInfo ( MagickInfo )

◆ SetMagickPrecision()

MagickExport int SetMagickPrecision ( const int  )

◆ UnregisterMagickInfo()