blob: e626b5a3e0b330be0978d8331a28500c52b0f820 [file] [log] [blame]
cristy3ed852e2009-09-05 21:47:34 +00001/*
2 Copyright 1999-2009 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.
6 obtain a copy of the License at
7
8 http://www.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)
23extern "C" {
24#endif
25
26extern WandExport char
27 *MagickGetFilename(const MagickWand *),
28 *MagickGetFormat(MagickWand *),
29 *MagickGetFont(MagickWand *),
30 *MagickGetHomeURL(void),
cristy6a97fda2009-10-11 20:42:55 +000031 *MagickGetImageArtifact(MagickWand *,const char *),
32 **MagickGetImageArtifacts(MagickWand *,const char *,unsigned long *),
cristy3ed852e2009-09-05 21:47:34 +000033 **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 *);
42
43extern WandExport ColorspaceType
44 MagickGetColorspace(MagickWand *);
45
46extern WandExport CompressionType
47 MagickGetCompression(MagickWand *);
48
49extern WandExport const char
50 *MagickGetCopyright(void),
51 *MagickGetPackageName(void),
52 *MagickGetQuantumDepth(unsigned long *),
53 *MagickGetQuantumRange(unsigned long *),
54 *MagickGetReleaseDate(void),
55 *MagickGetVersion(unsigned long *);
56
57extern WandExport double
58 MagickGetPointsize(MagickWand *),
59 *MagickGetSamplingFactors(MagickWand *,unsigned long *),
60 *MagickQueryFontMetrics(MagickWand *,const DrawingWand *,const char *),
61 *MagickQueryMultilineFontMetrics(MagickWand *,const DrawingWand *,
62 const char *);
63
64extern WandExport GravityType
65 MagickGetGravity(MagickWand *);
66
67extern WandExport ImageType
68 MagickGetType(MagickWand *);
69
70extern WandExport InterlaceType
71 MagickGetInterlaceScheme(MagickWand *);
72
73extern WandExport InterpolatePixelMethod
74 MagickGetInterpolateMethod(MagickWand *);
75
76extern WandExport OrientationType
77 MagickGetOrientation(MagickWand *);
78
79extern WandExport MagickBooleanType
cristy6a97fda2009-10-11 20:42:55 +000080 MagickDeleteImageArtifact(MagickWand *,const char *),
cristy3ed852e2009-09-05 21:47:34 +000081 MagickDeleteImageProperty(MagickWand *,const char *),
cristy6a97fda2009-10-11 20:42:55 +000082 MagickDeleteOption(MagickWand *,const char *),
cristy3ed852e2009-09-05 21:47:34 +000083 MagickGetAntialias(const MagickWand *),
84 MagickGetPage(const MagickWand *,unsigned long *,unsigned long *,long *,
85 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),
cristy6a0fa192009-10-08 19:54:53 +000095 MagickSetExtract(MagickWand *,const char *),
cristy3ed852e2009-09-05 21:47:34 +000096 MagickSetFilename(MagickWand *,const char *),
97 MagickSetFormat(MagickWand *,const char *),
98 MagickSetFont(MagickWand *,const char *),
99 MagickSetGravity(MagickWand *,const GravityType),
cristy6a97fda2009-10-11 20:42:55 +0000100 MagickSetImageArtifact(MagickWand *,const char *,const char *),
cristy3ed852e2009-09-05 21:47:34 +0000101 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,
116 const long),
117 MagickSetType(MagickWand *,const ImageType);
118
119extern WandExport MagickProgressMonitor
120 MagickSetProgressMonitor(MagickWand *,const MagickProgressMonitor,void *);
121
122extern WandExport MagickSizeType
123 MagickGetResource(const ResourceType),
124 MagickGetResourceLimit(const ResourceType);
125
126extern WandExport PixelWand
127 *MagickGetBackgroundColor(MagickWand *);
128
129extern WandExport OrientationType
130 MagickGetOrientationType(MagickWand *);
131
132extern WandExport unsigned char
133 *MagickGetImageProfile(MagickWand *,const char *,size_t *),
134 *MagickRemoveImageProfile(MagickWand *,const char *,size_t *);
135
136extern WandExport unsigned long
137 MagickGetCompressionQuality(MagickWand *);
138
139#if defined(__cplusplus) || defined(c_plusplus)
140}
141#endif
142
143#endif