MagickCore 7.1.2-34
Convert, Edit, Or Compose Bitmap Images
Loading...
Searching...
No Matches
list.h
1/*
2 Copyright @ 1999 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/license/
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
25typedef enum
26{
27 UndefinedShuffle,
28 RandomShuffle,
29 AscendingShuffle,
30 DescendingShuffle
31} ShuffleType;
32
33extern MagickExport Image
34 *CloneImageList(const Image *,ExceptionInfo *),
35 *CloneImages(const Image *,const char *,ExceptionInfo *),
36 *DestroyImageList(Image *),
37 *DuplicateImages(Image *,const size_t,const char *,ExceptionInfo *),
38 *GetFirstImageInList(const Image *) magick_attribute((__pure__)),
39 *GetImageFromList(const Image *,const ssize_t) magick_attribute((__pure__)),
40 *GetLastImageInList(const Image *) magick_attribute((__pure__)),
41 *GetNextImageInList(const Image *) magick_attribute((__pure__)),
42 *GetPreviousImageInList(const Image *) magick_attribute((__pure__)),
43 **ImageListToArray(const Image *,ExceptionInfo *),
44 *NewImageList(void) magick_attribute((__const__)),
45 *RemoveImageFromList(Image **),
46 *RemoveLastImageFromList(Image **),
47 *RemoveFirstImageFromList(Image **),
48 *ShuffleImages(Image **,const ShuffleType,ExceptionInfo *),
49 *SpliceImageIntoList(Image **,const size_t,const Image *),
50 *SplitImageList(Image *),
51 *SyncNextImageInList(const Image *);
52
53extern MagickExport size_t
54 GetImageListLength(const Image *) magick_attribute((__pure__));
55
56extern MagickExport ssize_t
57 GetImageIndexInList(const Image *) magick_attribute((__pure__));
58
59extern MagickExport void
60 AppendImageToList(Image **,const Image *),
61 DeleteImageFromList(Image **),
62 DeleteImages(Image **,const char *,ExceptionInfo *),
63 InsertImageInList(Image **,Image *),
64 PrependImageToList(Image **,Image *),
65 ReplaceImageInList(Image **,Image *),
66 ReplaceImageInListReturnLast(Image **,Image *),
67 ReverseImageList(Image **),
68 SyncImageList(Image *);
69
70#if defined(__cplusplus) || defined(c_plusplus)
71}
72#endif
73
74#endif