blob: 8134a3edbbb5855e8ab12d3620418c1f518cc627 [file] [log] [blame]
cristy3ed852e2009-09-05 21:47:34 +00001/*
cristy16af1cb2009-12-11 21:38:29 +00002 Copyright 1999-2010 ImageMagick Studio LLC, a non-profit organization
cristy3ed852e2009-09-05 21:47:34 +00003 dedicated to making software imaging solutions freely available.
4
5 You may not use this file except in compliance with the License.
6 obtain a copy of the License at
7
8 http://www.imagemagick.org/script/license.php
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15
16 MagickCore image list methods.
17*/
18#ifndef _MAGICKCORE_LIST_H
19#define _MAGICKCORE_LIST_H
20
21#if defined(__cplusplus) || defined(c_plusplus)
22extern "C" {
23#endif
24
25extern MagickExport Image
26 *CloneImageList(const Image *,ExceptionInfo *),
27 *CloneImages(const Image *,const char *,ExceptionInfo *),
28 *DestroyImageList(Image *),
29 *GetFirstImageInList(const Image *),
cristybb503372010-05-27 20:51:26 +000030 *GetImageFromList(const Image *,const ssize_t),
cristy3ed852e2009-09-05 21:47:34 +000031 *GetLastImageInList(const Image *),
32 *GetNextImageInList(const Image *),
33 *GetPreviousImageInList(const Image *),
34 **ImageListToArray(const Image *,ExceptionInfo *),
35 *NewImageList(void),
36 *RemoveImageFromList(Image **),
37 *RemoveLastImageFromList(Image **),
38 *RemoveFirstImageFromList(Image **),
cristybb503372010-05-27 20:51:26 +000039 *SpliceImageIntoList(Image **,const size_t,const Image *),
cristy3ed852e2009-09-05 21:47:34 +000040 *SplitImageList(Image *),
41 *SyncNextImageInList(const Image *);
42
cristybb503372010-05-27 20:51:26 +000043extern MagickExport ssize_t
cristy3ed852e2009-09-05 21:47:34 +000044 GetImageIndexInList(const Image *);
45
cristybb503372010-05-27 20:51:26 +000046extern MagickExport size_t
cristy3ed852e2009-09-05 21:47:34 +000047 GetImageListLength(const Image *);
48
49extern MagickExport void
50 AppendImageToList(Image **,const Image *),
51 DeleteImageFromList(Image **),
52 DeleteImages(Image **,const char *,ExceptionInfo *),
53 InsertImageInList(Image **,Image *),
54 PrependImageToList(Image **,Image *),
55 ReplaceImageInList(Image **,Image *),
56 ReverseImageList(Image **),
57 SyncImageList(Image *);
58
59#if defined(__cplusplus) || defined(c_plusplus)
60}
61#endif
62
63#endif