MagickWand  7.1.0
Convert, Edit, Or Compose Bitmap Images
magick-property.h
1 /*
2  Copyright @ 2003 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  MagickWand property, options, and profile methods.
17 */
18 
19 #ifndef MAGICKWAND_MAGICK_PROPERTY_H
20 #define MAGICKWAND_MAGICK_PROPERTY_H
21 
22 #if defined(__cplusplus) || defined(c_plusplus)
23 extern "C" {
24 #endif
25 
26 extern WandExport char
27  *MagickGetFilename(const MagickWand *),
28  *MagickGetFormat(MagickWand *),
29  *MagickGetFont(MagickWand *),
30  *MagickGetHomeURL(void),
31  *MagickGetImageArtifact(MagickWand *,const char *),
32  **MagickGetImageArtifacts(MagickWand *,const char *,size_t *),
33  **MagickGetImageProfiles(MagickWand *,const char *,size_t *),
34  *MagickGetImageProperty(MagickWand *,const char *),
35  **MagickGetImageProperties(MagickWand *,const char *,size_t *),
36  *MagickGetOption(MagickWand *,const char *),
37  **MagickGetOptions(MagickWand *,const char *,size_t *),
38  *MagickQueryConfigureOption(const char *),
39  **MagickQueryConfigureOptions(const char *,size_t *),
40  **MagickQueryFonts(const char *,size_t *),
41  **MagickQueryFormats(const char *,size_t *);
42 
43 extern WandExport ColorspaceType
44  MagickGetColorspace(MagickWand *);
45 
46 extern WandExport CompressionType
47  MagickGetCompression(MagickWand *);
48 
49 extern WandExport const char
50  *MagickGetCopyright(void),
51  *MagickGetPackageName(void),
52  *MagickGetQuantumDepth(size_t *),
53  *MagickGetQuantumRange(size_t *),
54  *MagickGetReleaseDate(void),
55  *MagickGetVersion(size_t *);
56 
57 extern WandExport double
58  MagickGetPointsize(MagickWand *),
59  *MagickGetSamplingFactors(MagickWand *,size_t *),
60  *MagickQueryFontMetrics(MagickWand *,const DrawingWand *,const char *),
61  *MagickQueryMultilineFontMetrics(MagickWand *,const DrawingWand *,
62  const char *);
63 
64 extern WandExport GravityType
65  MagickGetGravity(MagickWand *);
66 
67 extern WandExport ImageType
68  MagickGetType(MagickWand *);
69 
70 extern WandExport InterlaceType
71  MagickGetInterlaceScheme(MagickWand *);
72 
73 extern WandExport PixelInterpolateMethod
74  MagickGetInterpolateMethod(MagickWand *);
75 
76 extern WandExport OrientationType
77  MagickGetOrientation(MagickWand *);
78 
79 extern WandExport MagickBooleanType
80  MagickDeleteImageArtifact(MagickWand *,const char *),
81  MagickDeleteImageProperty(MagickWand *,const char *),
82  MagickDeleteOption(MagickWand *,const char *),
83  MagickGetAntialias(const MagickWand *),
84  MagickGetPage(const MagickWand *,size_t *,size_t *,ssize_t *,ssize_t *),
85  MagickGetResolution(const MagickWand *,double *,double *),
86  MagickGetSize(const MagickWand *,size_t *,size_t *),
87  MagickGetSizeOffset(const MagickWand *,ssize_t *),
88  MagickProfileImage(MagickWand *,const char *,const void *,const size_t),
89  MagickSetAntialias(MagickWand *,const MagickBooleanType),
90  MagickSetBackgroundColor(MagickWand *,const PixelWand *),
91  MagickSetColorspace(MagickWand *,const ColorspaceType),
92  MagickSetCompression(MagickWand *,const CompressionType),
93  MagickSetCompressionQuality(MagickWand *,const size_t),
94  MagickSetDepth(MagickWand *,const size_t),
95  MagickSetExtract(MagickWand *,const char *),
96  MagickSetFilename(MagickWand *,const char *),
97  MagickSetFormat(MagickWand *,const char *),
98  MagickSetFont(MagickWand *,const char *),
99  MagickSetGravity(MagickWand *,const GravityType),
100  MagickSetImageArtifact(MagickWand *,const char *,const char *),
101  MagickSetImageProfile(MagickWand *,const char *,const void *,const size_t),
102  MagickSetImageProperty(MagickWand *,const char *,const char *),
103  MagickSetInterlaceScheme(MagickWand *,const InterlaceType),
104  MagickSetInterpolateMethod(MagickWand *,const PixelInterpolateMethod),
105  MagickSetOption(MagickWand *,const char *,const char *),
106  MagickSetOrientation(MagickWand *,const OrientationType),
107  MagickSetPage(MagickWand *,const size_t,const size_t,const ssize_t,
108  const ssize_t),
109  MagickSetPassphrase(MagickWand *,const char *),
110  MagickSetPointsize(MagickWand *,const double),
111  MagickSetResolution(MagickWand *,const double,const double),
112  MagickSetResourceLimit(const ResourceType type,const MagickSizeType limit),
113  MagickSetSamplingFactors(MagickWand *,const size_t,const double *),
114  MagickSetSecurityPolicy(MagickWand *,const char *),
115  MagickSetSize(MagickWand *,const size_t,const size_t),
116  MagickSetSizeOffset(MagickWand *,const size_t,const size_t,const ssize_t),
117  MagickSetType(MagickWand *,const ImageType);
118 
119 extern WandExport MagickProgressMonitor
120  MagickSetProgressMonitor(MagickWand *,const MagickProgressMonitor,void *);
121 
122 extern WandExport MagickSizeType
123  MagickGetResource(const ResourceType),
124  MagickGetResourceLimit(const ResourceType);
125 
126 extern WandExport PixelWand
127  *MagickGetBackgroundColor(MagickWand *);
128 
129 extern WandExport OrientationType
130  MagickGetOrientationType(MagickWand *);
131 
132 extern WandExport size_t
133  MagickGetCompressionQuality(MagickWand *);
134 
135 extern WandExport unsigned char
136  *MagickGetImageProfile(MagickWand *,const char *,size_t *),
137  *MagickRemoveImageProfile(MagickWand *,const char *,size_t *);
138 
139 extern WandExport void
140  MagickSetSeed(const unsigned long);
141 
142 #if defined(__cplusplus) || defined(c_plusplus)
143 }
144 #endif
145 
146 #endif