[
About ImageMagick
] [ Command-line Tools Processing Options Usage Program Interfaces MagickWand MagickCore PerlMagick Magick++ Architecture ] [ Install from Source Unix Windows Binary Releases Unix Mac OS X Windows Resources ] [ Download ] [ Site Map Links ] [ Sponsors: ] |
AppendImageToList() appends the second image list to the end of the first list. The given image list pointer is left unchanged, unless it was empty. The format of the AppendImageToList method is: AppendImageToList(Image *images,const Image *image) A description of each parameter follows: imagesthe image list to be appended to. imagethe appended image or image list. 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: imagesthe image list. exceptionReturn any errors or warnings in this structure. CloneImages() clones one or more images from an image sequence, using a comma separated list of image numbers or ranges. The numbers start at 0 for the first image in the list, while negative numbers refer to images starting counting from the end of the range. Images may be refered to multiple times to clone them multiple times. Images refered beyond the available number of images in list are ignored. Images referenced may be reversed, and results in a clone of those images also being made with a reversed order. The format of the CloneImages method is: Image *CloneImages(const Image *images,const char *scenes, ExceptionInfo *exception) A description of each parameter follows: imagesthe image sequence. scenesThis character string specifies which scenes to clone (e.g. 1,3-5,7-3,2). exceptionReturn any errors or warnings in this structure. DeleteImageFromList() deletes an image from the list. List pointer is moved to the next image, if one is present. See RemoveImageFromList(). The format of the DeleteImageFromList method is: DeleteImageFromList(Image **images) A description of each parameter follows: imagesthe image list. DeleteImages() deletes one or more images from an image sequence, using a comma separated list of image numbers or ranges. The numbers start at 0 for the first image, while negative numbers refer to images starting counting from the end of the range. Images may be refered to multiple times without problems. Image refered beyond the available number of images in list are ignored. If the referenced images are in the reverse order, that range will be completely ignored. Unlike CloneImages(). The format of the DeleteImages method is: DeleteImages(Image **images,const char *scenes,ExceptionInfo *exception) A description of each parameter follows: imagesthe image sequence. scenesThis character string specifies which scenes to delete (e.g. 1,3-5,-2-6,2). exceptionReturn any errors or warnings in this structure. DestroyImageList() destroys an image list. The format of the DestroyImageList method is: Image *DestroyImageList(Image *image) A description of each parameter follows: imagethe image sequence. GetFirstImageInList() returns a pointer to the first image in the list. The format of the GetFirstImageInList method is: Image *GetFirstImageInList(const Image *images) A description of each parameter follows: imagesthe image list. GetImageFromList() returns an image at the specified offset from the list. The format of the GetImageFromList method is: Image *GetImageFromList(const Image *images,const long index) A description of each parameter follows: imagesthe image list. indexthe position within the list. GetImageIndexInList() returns the offset in the list of the specified image. The format of the GetImageIndexInList method is: long GetImageIndexInList(const Image *images) A description of each parameter follows: imagesthe image list. GetImageListLength() returns the length of the list (the number of images in the list). The format of the GetImageListLength method is: unsigned long GetImageListLength(const Image *images) A description of each parameter follows: imagesthe image list. GetLastImageInList() returns a pointer to the last image in the list. The format of the GetLastImageInList method is: Image *GetLastImageInList(const Image *images) A description of each parameter follows: imagesthe image list. GetNextImageInList() returns the next image in the list. The format of the GetNextImageInList method is: Image *GetNextImageInList(const Image *images) A description of each parameter follows: imagesthe image list. GetPreviousImageInList() returns the previous image in the list. The format of the GetPreviousImageInList method is: Image *GetPreviousImageInList(const Image *images) A description of each parameter follows: imagesthe image list. ImageListToArray() is a convenience method that converts an image list to a sequential array. For example, group = ImageListToArray(images, exception); while (i = 0; group[i] != (Image *) NULL; i++) printf("s\n", group[i]->filename); printf("d images\n", i); group = RelinquishMagickMemory(group); The format of the ImageListToArray method is: Image **ImageListToArray(const Image *images,ExceptionInfo *exception) A description of each parameter follows: imagethe image list. exceptionReturn any errors or warnings in this structure. InsertImageInList() inserts the second image or image list into the first image list immediatally after the image pointed to. The given image list pointer is unchanged unless previously empty. The format of the InsertImageInList method is: InsertImageInList(Image **images,Image *image) A description of each parameter follows: imagesthe image list to insert into. imagethe image list to insert. NewImageList() creates an empty image list. The format of the NewImageList method is: Image *NewImageList(void) PrependImageToList() prepends the image to the beginning of the list. The format of the PrependImageToList method is: PrependImageToList(Image *images,Image *image) A description of each parameter follows: imagesthe image list. imagethe image. RemoveImageFromList() removes and returns the image pointed to. The given image list pointer is set to point to the next image in list if it exists, otherwise it is set to the previous image, or NULL if list was emptied. The format of the RemoveImageFromList method is: Image *RemoveImageFromList(Image **images) A description of each parameter follows: imagesthe image list. RemoveFirstImageFromList() removes and returns the first image in the list. If the given image list pointer pointed to the removed first image, it is set to the new first image of list, or NULL if list was emptied, otherwise it is left as is. The format of the RemoveFirstImageFromList method is: Image *RemoveFirstImageFromList(Image **images) A description of each parameter follows: imagesthe image list. RemoveLastImageFromList() removes and returns the last image from the list. If the given image list pointer pointed to the removed last image, it is set to the new last image of list, or NULL if list was emptied, otherwise it is left as is. The format of the RemoveLastImageFromList method is: Image *RemoveLastImageFromList(Image **images) A description of each parameter follows: imagesthe image list. ReplaceImageInList() replaces an image in the list. Old image is destroyed. The given image list pointer is set to point to the just inserted image. The format of the ReplaceImageInList method is: ReplaceImageInList(Image **images,Image *image) A description of each parameter follows: imagesthe image list. imagethe image. ReverseImageList() reverses the order of an image list. The list pointer is reset to that start of the re-ordered list. The format of the ReverseImageList method is: void ReverseImageList(Image **images) A description of each parameter follows: imagesthe image list. SpliceImageIntoList() removes 'length' images from the list and replaces them with the specified splice. Removed images are returned. The format of the SpliceImageIntoList method is: SpliceImageIntoList(Image **images,const unsigned unsigned long, const Image *splice) A description of each parameter follows: imagesthe image list. lengththe length of the image list to remove. spliceReplace the removed image list with this list. SplitImageList() splits an image into two lists, after given image The list that was split off is returned, which may be empty. The format of the SplitImageList method is: Image *SplitImageList(Image *images) A description of each parameter follows: imagesthe image list. |