Imagick - Methods to Read or List ImageMagick Image formats9/


NAME



:magick - Methods to Read or List ImageMagick Image formats




(

SYNOPSIS



,void DestroyMagickInfo( );

'void ListMagickInfo( /FILE *file );

SMagickInfo * RegisterMagickInfo( MagickInfo *entry );

LMagickInfo * SetMagickInfo( const char *tag );

Tunsigned int UnregisterMagickInfo( const char *tag );




B

FUNCTION DESCRIPTIONS






:

DestroyMagickInfo



GMethod DestroyMagickInfo deallocates memory associated MagickInfo list.

.The format of the DestroyMagickInfo method is:5

void DestroyMagickInfo ( );





2

GetMagickList



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

*The format of the GetMagickInfo method is:

3

    MagickInfo *GetMagickInfo(const char *tag)


=A description of each parameter follows:

=

magick_info:


HMethod GetMagickInfo returns a pointer MagickInfo structure that matchesthe specified tag.

tag:


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






4

ListMagickInfo



8Method ListMagickInfo lists the image formats to a file.

+The format of the ListMagickInfo method is:=

void ListMagickInfo ( FILE *file );


=A description of each parameter follows.

!

file:


$A pointer to a $FILE structure.






<

RegisterMagickInfo



FMethod 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 @I/O, and a brief description of the format.

/The format of the RegisterMagickInfo method is:—

MagickInfo *RegisterMagickInfo ( MagickInfo *entry );


=A description of each parameter follows:

(

magick_info:


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

o


entry:






2

SetMagickInfo



IMethod SetMagickInfo allocates a MagickInfo structure and initializes themembers to default values.

*The format of the SetMagickInfo method is:l

MagickInfo *SetMagickInfo ( const char *tag );


=A description of each parameter follows:

(

magick_info:


EMethod SetMagickInfo returns the allocated and initialized MagickInfo structure.

tag:


Ga character string that represents the image format associated with theMagickInfo structure.






@

UnregisterMagickInfo



GMethod UnregisterMagickInfo removes a tag from the magick info list. ItCreturns False if the tag does not exist in the list otherwise True.

1The format of the UnregisterMagickInfo method is:P

unsigned int UnregisterMagickInfo ( const char *tag );


=A description of each parameter follows:

#

status:


JMethod UnregisterMagickInfo returns False if the tag does not exist in thelist otherwise True.

tag:


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