list - Working with Image Lists
Image * CloneImageList( const Image *images, ExceptionInfo *exception );
unsigned int DeleteImageList( Image *images, const unsigned long offset );
void DestroyImageList( Image *image );
Image * GetImageList( const Image *images, const unsigned long offset, ExceptionInfo *exception );
size_t GetImageListIndex( const Image *images );
size_t GetImageListSize( const Image *images );
Image * GetNextImage( Image *images );
Image ** ImageListToArray( const Image *images, ExceptionInfo *exception );
Image * NewImageList( void );
Image * PopImageList( Image ** images );
unsigned int PushImageList( Image *images, const Image *image, ExceptionInfo *exception );
Image * ReverseImageList( const Image *images, ExceptionInfo *exception );
unsigned int SetImageList( Image *images, const Image *image, const unsigned long offset, ExceptionInfo *exception );
Image * ShiftImageList( Image ** images );
Image * SpliceImageList( Image *images, const unsigned long offset, const unsigned long length, const Image *splices, ExceptionInfo *exception );
unsigned int UnshiftImageList( Image *images, const Image *image, ExceptionInfo *exception );
CloneImageList() returns a duplicate of the image list.
The format of the CloneImageList method is:
Image *CloneImageList ( const Image *images, ExceptionInfo *exception );
A description of each parameter follows:
DeleteImageList() deletes an image at the specified position in the list.
The format of the DeleteImageList method is:
unsigned int DeleteImageList ( Image *images, const unsigned long offset );
A description of each parameter follows:
DestroyImageList() destroys an image list.
The format of the DestroyImageList method is:
void DestroyImageList ( Image *image );
A description of each parameter follows:
GetImageList() returns an image at the specified position in the list.
The format of the GetImageList method is:
Image *GetImageList ( const Image *images, const unsigned long offset, ExceptionInfo *exception );
A description of each parameter follows:
GetImageListIndex() returns the position in the list of the specified image.
The format of the GetImageListIndex method is:
size_t GetImageListIndex ( const Image *images );
A description of each parameter follows:
GetImageListSize() returns the number of images in the list.
The format of the GetImageListSize method is:
size_t GetImageListSize ( const Image *images );
A description of each parameter follows:
GetNextImage() returns the next image in a list.
The format of the GetNextImage method is:
Image *GetNextImage ( Image *images );
A description of each parameter follows:
ImageListToArray() is a convenience method that converts an image list to a sequential array. For example,
group = ImageListToArray ( images, exception ); for ( i = 0; i < n; i++ ) puts ( group[i]->filename ) ;;
The format of the ImageListToArray method is:
Image **ImageListToArray ( const Image *images, ExceptionInfo *exception );
A description of each parameter follows:
NewImageList() creates an empty image list.
The format of the NewImageList method is:
Image *NewImageList ( void );
PopImageList() removes the last image in the list.
The format of the PopImageList method is:
Image *PopImageList ( Image **images );
A description of each parameter follows:
PushImageList() add an image to the end of the list.
The format of the PushImageList method is:
unsigned int PushImageList ( Image *images, const Image *image, ExceptionInfo *exception );
A description of each parameter follows:
ReverseImageList() reverses the image list.
The format of the ReverseImageList method is:
Image *ReverseImageList ( const Image *images, ExceptionInfo *exception );
A description of each parameter follows:
SetImageList() inserts an image into the list at the specified position.
The format of the SetImageList method is:
unsigned int SetImageList ( Image *images, const Image *image, const unsigned long offset, ExceptionInfo *exception );
A description of each parameter follows:
ShiftImageList() removes an image from the beginning of the list.
The format of the ShiftImageList method is:
Image *ShiftImageList ( Image **images );
A description of each parameter follows:
SpliceImageList() removes the images designated by offset and length from the list and replaces them with the specified list.
The format of the SpliceImageList method is:
Image *SpliceImageList ( Image *images, const unsigned long offset, const unsigned long length, const Image *splices, ExceptionInfo *exception );
A description of each parameter follows:
UnshiftImageList() adds the image to the beginning of the list.
The format of the UnshiftImageList method is:
unsigned int UnshiftImageList ( Image *images, const Image *image, ExceptionInfo *exception );
A description of each parameter follows: