MagickCore  7.1.0
Convert, Edit, Or Compose Bitmap Images
list.h
1 /*
2  Copyright @ 2002 ImageMagick Studio LLC, a non-profit organization
3  dedicated to making software imaging solutions freely available.
4 
5  You may not use this file except in compliance with the License. You may
6  obtain a copy of the License at
7 
8  https://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)
22 extern "C" {
23 #endif
24 
25 extern MagickExport Image
26  *CloneImageList(const Image *,ExceptionInfo *),
27  *CloneImages(const Image *,const char *,ExceptionInfo *),
28  *DestroyImageList(Image *),
29  *DuplicateImages(Image *,const size_t,const char *,ExceptionInfo *),
30  *GetFirstImageInList(const Image *) magick_attribute((__pure__)),
31  *GetImageFromList(const Image *,const ssize_t) magick_attribute((__pure__)),
32  *GetLastImageInList(const Image *) magick_attribute((__pure__)),
33  *GetNextImageInList(const Image *) magick_attribute((__pure__)),
34  *GetPreviousImageInList(const Image *) magick_attribute((__pure__)),
35  **ImageListToArray(const Image *,ExceptionInfo *),
36  *NewImageList(void) magick_attribute((__const__)),
37  *RemoveImageFromList(Image **),
38  *RemoveLastImageFromList(Image **),
39  *RemoveFirstImageFromList(Image **),
40  *SpliceImageIntoList(Image **,const size_t,const Image *),
41  *SplitImageList(Image *),
42  *SyncNextImageInList(const Image *);
43 
44 extern MagickExport size_t
45  GetImageListLength(const Image *) magick_attribute((__pure__));
46 
47 extern MagickExport ssize_t
48  GetImageIndexInList(const Image *) magick_attribute((__pure__));
49 
50 extern MagickExport void
51  AppendImageToList(Image **,const Image *),
52  DeleteImageFromList(Image **),
53  DeleteImages(Image **,const char *,ExceptionInfo *),
54  InsertImageInList(Image **,Image *),
55  PrependImageToList(Image **,Image *),
56  ReplaceImageInList(Image **,Image *),
57  ReplaceImageInListReturnLast(Image **,Image *),
58  ReverseImageList(Image **),
59  SyncImageList(Image *);
60 
61 #if defined(__cplusplus) || defined(c_plusplus)
62 }
63 #endif
64 
65 #endif
Definition: image.h:152