2 Copyright 1999-2010 ImageMagick Studio LLC, a non-profit organization
3 dedicated to making software imaging solutions freely available.
5 You may not use this file except in compliance with the License.
6 obtain a copy of the License at
8 http://www.imagemagick.org/script/license.php
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.
16 MagickWand property, options, and profile methods.
19 #ifndef _MAGICKWAND_MAGICK_PROPERTY_H
20 #define _MAGICKWAND_MAGICK_PROPERTY_H
22 #if defined(__cplusplus) || defined(c_plusplus)
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 *,unsigned long *),
33 **MagickGetImageProfiles(MagickWand *,const char *,unsigned long *),
34 *MagickGetImageProperty(MagickWand *,const char *),
35 **MagickGetImageProperties(MagickWand *,const char *,unsigned long *),
36 *MagickGetOption(MagickWand *,const char *),
37 **MagickGetOptions(MagickWand *,const char *,unsigned long *),
38 *MagickQueryConfigureOption(const char *),
39 **MagickQueryConfigureOptions(const char *,unsigned long *),
40 **MagickQueryFonts(const char *,unsigned long *),
41 **MagickQueryFormats(const char *,unsigned long *);
43 extern WandExport ColorspaceType
44 MagickGetColorspace(MagickWand *);
46 extern WandExport CompressionType
47 MagickGetCompression(MagickWand *);
49 extern WandExport const char
50 *MagickGetCopyright(void),
51 *MagickGetPackageName(void),
52 *MagickGetQuantumDepth(unsigned long *),
53 *MagickGetQuantumRange(unsigned long *),
54 *MagickGetReleaseDate(void),
55 *MagickGetVersion(unsigned long *);
57 extern WandExport double
58 MagickGetPointsize(MagickWand *),
59 *MagickGetSamplingFactors(MagickWand *,unsigned long *),
60 *MagickQueryFontMetrics(MagickWand *,const DrawingWand *,const char *),
61 *MagickQueryMultilineFontMetrics(MagickWand *,const DrawingWand *,
64 extern WandExport GravityType
65 MagickGetGravity(MagickWand *);
67 extern WandExport ImageType
68 MagickGetType(MagickWand *);
70 extern WandExport InterlaceType
71 MagickGetInterlaceScheme(MagickWand *);
73 extern WandExport InterpolatePixelMethod
74 MagickGetInterpolateMethod(MagickWand *);
76 extern WandExport OrientationType
77 MagickGetOrientation(MagickWand *);
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 *,unsigned long *,unsigned long *,long *,
86 MagickGetSize(const MagickWand *,unsigned long *,unsigned long *),
87 MagickGetSizeOffset(const MagickWand *,long *),
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 unsigned long),
94 MagickSetDepth(MagickWand *,const unsigned long),
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 InterpolatePixelMethod),
105 MagickSetOption(MagickWand *,const char *,const char *),
106 MagickSetOrientation(MagickWand *,const OrientationType),
107 MagickSetPage(MagickWand *,const unsigned long,const unsigned long,
108 const long,const long),
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 unsigned long,const double *),
114 MagickSetSize(MagickWand *,const unsigned long,const unsigned long),
115 MagickSetSizeOffset(MagickWand *,const unsigned long,const unsigned long,
117 MagickSetType(MagickWand *,const ImageType);
119 extern WandExport MagickProgressMonitor
120 MagickSetProgressMonitor(MagickWand *,const MagickProgressMonitor,void *);
122 extern WandExport MagickSizeType
123 MagickGetResource(const ResourceType),
124 MagickGetResourceLimit(const ResourceType);
126 extern WandExport PixelWand
127 *MagickGetBackgroundColor(MagickWand *);
129 extern WandExport OrientationType
130 MagickGetOrientationType(MagickWand *);
132 extern WandExport unsigned char
133 *MagickGetImageProfile(MagickWand *,const char *,size_t *),
134 *MagickRemoveImageProfile(MagickWand *,const char *,size_t *);
136 extern WandExport unsigned long
137 MagickGetCompressionQuality(MagickWand *);
139 #if defined(__cplusplus) || defined(c_plusplus)