MagickCore  7.0.3
list.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2019 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
27  *CloneImages(const Image *,const char *,ExceptionInfo *),
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
MagickExport Image * CloneImages(const Image *images, const char *scenes, ExceptionInfo *exception)
Definition: list.c:204
MagickExport Image * GetImageFromList(const Image *images, const ssize_t index)
Definition: list.c:605
MagickExport Image * RemoveFirstImageFromList(Image **images)
Definition: list.c:1062
MagickExport void InsertImageInList(Image **images, Image *insert)
Definition: list.c:902
MagickExport void DeleteImages(Image **images, const char *scenes, ExceptionInfo *exception)
Definition: list.c:357
MagickExport Image * SpliceImageIntoList(Image **images, const size_t length, const Image *splice)
Definition: list.c:1328
MagickExport Image * DuplicateImages(Image *images, const size_t number_duplicates, const char *scenes, ExceptionInfo *exception)
Definition: list.c:510
Definition: image.h:151
MagickExport Image * GetPreviousImageInList(const Image *images)
Definition: list.c:803
#define magick_attribute(x)
MagickExport Image * GetFirstImageInList(const Image *images)
Definition: list.c:561
MagickExport Image * RemoveImageFromList(Image **images)
Definition: list.c:1003
MagickExport Image * NewImageList(void)
Definition: list.c:938
MagickExport void ReplaceImageInListReturnLast(Image **images, Image *replace)
Definition: list.c:1224
MagickExport Image * SplitImageList(Image *images)
Definition: list.c:1379
MagickExport Image * SyncNextImageInList(const Image *images)
Definition: list.c:1457
MagickExport Image * GetLastImageInList(const Image *images)
Definition: list.c:737
MagickExport Image * DestroyImageList(Image *images)
Definition: list.c:462
MagickExport Image * RemoveLastImageFromList(Image **images)
Definition: list.c:1113
MagickExport Image * CloneImageList(const Image *images, ExceptionInfo *exception)
Definition: list.c:126
MagickExport Image ** ImageListToArray(const Image *images, ExceptionInfo *exception)
Definition: list.c:844
MagickExport void ReplaceImageInList(Image **images, Image *replace)
Definition: list.c:1166
MagickExport ssize_t GetImageIndexInList(const Image *images)
Definition: list.c:657
MagickExport Image * GetNextImageInList(const Image *images)
Definition: list.c:771
MagickExport void AppendImageToList(Image **images, const Image *append)
Definition: list.c:78
MagickExport void SyncImageList(Image *images)
Definition: list.c:1411
MagickExport void PrependImageToList(Image **images, Image *prepend)
Definition: list.c:967
#define MagickExport
MagickExport void DeleteImageFromList(Image **images)
Definition: list.c:311
MagickExport size_t GetImageListLength(const Image *images)
Definition: list.c:696
MagickExport void ReverseImageList(Image **images)
Definition: list.c:1275