Imagick - Methods to Read or List ImageMagick Image formats9W




"NAME

A

magick - Methods to Read or List ImageMagick Image formats



2page index




&SYNOPSIS

3

void DestroyMagickInfo( );

F

MagickInfo * GetMagickInfo( const char *tag );

*

void ListMagickInfo( &FILE *file );

M

MagickInfo * RegisterMagickInfo( MagickInfo *entry );

F

MagickInfo * SetMagickInfo( const char *tag );

N

unsigned int UnregisterMagickInfo( const char *tag );



2page index


$

FUNCTION *DESCRIPTIONS



:

DestroyMagickInfo

N

Method DestroyMagickInfo deallocates memory associated MagickInfo list.

5

The format of the DestroyMagickInfo method is:

8
void DestroyMagickInfo ( );

2

GetMagickInfo

j

Method GetMagickInfo returns a pointer MagickInfo structure that matches the specified tag. If tag is MNULL, the head of the image format list is returned.

1

The format of the GetMagickInfo method is:

o
MagickInfo *GetMagickInfo ( const char *tag );

AA description of each parameter follows:


L

magick_info:

[Method GetMagickInfo returns a pointer MagickInfo structure that matches the specified tag.

<

tag:

Ga character string that represents the image format we are looking for.



4

ListMagickInfo

?

Method ListMagickInfo lists the image formats to a file.

2

The format of the ListMagickInfo method is:

@
void ListMagickInfo ( FILE *file );

AA description of each parameter follows.


>

file:

$A pointer to a $FILE structure.



<

RegisterMagickInfo

J

Method RegisterMagickInfo adds attributes for a particular image format to the list of supported formats. The attributes include the image format tag, a method to read and/or write the format, whether the format supports the saving of more than one frame to the same file or blob, whether the format supports native in-memory DI/O, and a brief description of the format.

6

The format of the RegisterMagickInfo method is:

š
MagickInfo *RegisterMagickInfo ( MagickInfo *entry );

AA description of each parameter follows:


(

magick_info:

fMethod RegisterMagickInfo returns a pointer MagickInfo structure that contains the specified tag info.

@

entry:

AA pointer to a structure of type MagickInfo.



2

SetMagickInfo

k

Method SetMagickInfo allocates a MagickInfo structure and initializes the members to default values.

1

The format of the SetMagickInfo method is:

o
MagickInfo *SetMagickInfo ( const char *tag );

AA description of each parameter follows:


(

magick_info:

PMethod SetMagickInfo returns the allocated and initialized MagickInfo structure.

tag:

]a character string that represents the image format associated with the MagickInfo structure.



@

UnregisterMagickInfo

Method UnregisterMagickInfo removes a tag from the magick info list. It returns False if the tag does not exist in the list otherwise True.

8

The format of the UnregisterMagickInfo method is:

S
unsigned int UnregisterMagickInfo ( const char *tag );

AA description of each parameter follows:


B

status:

_Method UnregisterMagickInfo returns False if the tag does not exist in the list otherwise True.

tag:

Ga character string that represents the image format we are looking for.
9

page index