MagickCore  7.0.10
list.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2020 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:206
MagickExport Image * GetImageFromList(const Image *images, const ssize_t index)
Definition: list.c:618
MagickExport Image * RemoveFirstImageFromList(Image **images)
Definition: list.c:1075
MagickExport void InsertImageInList(Image **images, Image *insert)
Definition: list.c:915
MagickExport void DeleteImages(Image **images, const char *scenes, ExceptionInfo *exception)
Definition: list.c:370
MagickExport Image * SpliceImageIntoList(Image **images, const size_t length, const Image *splice)
Definition: list.c:1341
MagickExport Image * DuplicateImages(Image *images, const size_t number_duplicates, const char *scenes, ExceptionInfo *exception)
Definition: list.c:523
Definition: image.h:151
MagickExport Image * GetPreviousImageInList(const Image *images)
Definition: list.c:816
#define magick_attribute(x)
MagickExport Image * GetFirstImageInList(const Image *images)
Definition: list.c:574
MagickExport Image * RemoveImageFromList(Image **images)
Definition: list.c:1016
MagickExport Image * NewImageList(void)
Definition: list.c:951
MagickExport void ReplaceImageInListReturnLast(Image **images, Image *replace)
Definition: list.c:1237
MagickExport Image * SplitImageList(Image *images)
Definition: list.c:1392
MagickExport Image * SyncNextImageInList(const Image *images)
Definition: list.c:1470
MagickExport Image * GetLastImageInList(const Image *images)
Definition: list.c:750
MagickExport Image * DestroyImageList(Image *images)
Definition: list.c:475
MagickExport Image * RemoveLastImageFromList(Image **images)
Definition: list.c:1126
MagickExport Image * CloneImageList(const Image *images, ExceptionInfo *exception)
Definition: list.c:128
MagickExport Image ** ImageListToArray(const Image *images, ExceptionInfo *exception)
Definition: list.c:857
MagickExport void ReplaceImageInList(Image **images, Image *replace)
Definition: list.c:1179
MagickExport ssize_t GetImageIndexInList(const Image *images)
Definition: list.c:670
MagickExport Image * GetNextImageInList(const Image *images)
Definition: list.c:784
MagickExport void AppendImageToList(Image **images, const Image *append)
Definition: list.c:80
MagickExport void SyncImageList(Image *images)
Definition: list.c:1424
MagickExport void PrependImageToList(Image **images, Image *prepend)
Definition: list.c:980
#define MagickExport
MagickExport void DeleteImageFromList(Image **images)
Definition: list.c:324
MagickExport size_t GetImageListLength(const Image *images)
Definition: list.c:709
MagickExport void ReverseImageList(Image **images)
Definition: list.c:1288