blob: 34a5113d2641f2de5d2f7b78bdef481f2fdc5768 [file] [log] [blame]
cristy3ed852e2009-09-05 21:47:34 +00001/*
cristyfe676ee2013-11-18 13:03:38 +00002 Copyright 1999-2014 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 *),
cristybf95deb2011-03-23 00:25:36 +000029 *DuplicateImages(Image *,const size_t,const char *,ExceptionInfo *),
cristy3ed852e2009-09-05 21:47:34 +000030 *GetFirstImageInList(const Image *),
cristybb503372010-05-27 20:51:26 +000031 *GetImageFromList(const Image *,const ssize_t),
cristy3ed852e2009-09-05 21:47:34 +000032 *GetLastImageInList(const Image *),
33 *GetNextImageInList(const Image *),
34 *GetPreviousImageInList(const Image *),
35 **ImageListToArray(const Image *,ExceptionInfo *),
36 *NewImageList(void),
37 *RemoveImageFromList(Image **),
38 *RemoveLastImageFromList(Image **),
39 *RemoveFirstImageFromList(Image **),
cristybb503372010-05-27 20:51:26 +000040 *SpliceImageIntoList(Image **,const size_t,const Image *),
cristy3ed852e2009-09-05 21:47:34 +000041 *SplitImageList(Image *),
42 *SyncNextImageInList(const Image *);
43
cristybb503372010-05-27 20:51:26 +000044extern MagickExport size_t
cristy3ed852e2009-09-05 21:47:34 +000045 GetImageListLength(const Image *);
46
cristy5ed838e2010-05-31 00:05:35 +000047extern MagickExport ssize_t
48 GetImageIndexInList(const Image *);
49
cristy3ed852e2009-09-05 21:47:34 +000050extern MagickExport void
51 AppendImageToList(Image **,const Image *),
52 DeleteImageFromList(Image **),
53 DeleteImages(Image **,const char *,ExceptionInfo *),
54 InsertImageInList(Image **,Image *),
cristy3ed852e2009-09-05 21:47:34 +000055 PrependImageToList(Image **,Image *),
56 ReplaceImageInList(Image **,Image *),
anthony472d3e42011-03-27 05:14:07 +000057 ReplaceImageInListReturnLast(Image **,Image *),
cristy3ed852e2009-09-05 21:47:34 +000058 ReverseImageList(Image **),
59 SyncImageList(Image *);
60
61#if defined(__cplusplus) || defined(c_plusplus)
62}
63#endif
64
65#endif