MagickWand  7.0.3
magick-property.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2019 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 *),
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
45 
46 extern WandExport CompressionType
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
60  *MagickQueryFontMetrics(MagickWand *,const DrawingWand *,const char *),
62  const char *);
63 
64 extern WandExport GravityType
66 
67 extern WandExport ImageType
69 
70 extern WandExport InterlaceType
72 
73 extern WandExport PixelInterpolateMethod
75 
76 extern WandExport OrientationType
78 
79 extern WandExport MagickBooleanType
80  MagickDeleteImageArtifact(MagickWand *,const char *),
81  MagickDeleteImageProperty(MagickWand *,const char *),
82  MagickDeleteOption(MagickWand *,const char *),
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),
91  MagickSetColorspace(MagickWand *,const ColorspaceType),
92  MagickSetCompression(MagickWand *,const CompressionType),
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
128 
129 extern WandExport OrientationType
131 
132 extern WandExport size_t
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
WandExport MagickBooleanType MagickGetResolution(const MagickWand *wand, double *x, double *y)
WandExport char * MagickGetFilename(const MagickWand *wand)
WandExport InterlaceType MagickGetInterlaceScheme(MagickWand *wand)
WandExport OrientationType MagickGetOrientation(MagickWand *wand)
WandExport MagickBooleanType MagickSetGravity(MagickWand *wand, const GravityType type)
WandExport MagickBooleanType MagickGetSize(const MagickWand *wand, size_t *columns, size_t *rows)
WandExport MagickBooleanType MagickGetSizeOffset(const MagickWand *wand, ssize_t *offset)
WandExport unsigned char * MagickRemoveImageProfile(MagickWand *wand, const char *name, size_t *length)
WandExport MagickBooleanType MagickSetOrientation(MagickWand *wand, const OrientationType orientation)
WandExport MagickBooleanType MagickDeleteOption(MagickWand *wand, const char *option)
WandExport MagickBooleanType MagickProfileImage(MagickWand *wand, const char *name, const void *profile, const size_t length)
WandExport MagickProgressMonitor MagickSetProgressMonitor(MagickWand *wand, const MagickProgressMonitor progress_monitor, void *client_data)
WandExport MagickBooleanType MagickSetPage(MagickWand *wand, const size_t width, const size_t height, const ssize_t x, const ssize_t y)
WandExport CompressionType MagickGetCompression(MagickWand *wand)
WandExport MagickBooleanType MagickSetCompression(MagickWand *wand, const CompressionType compression)
WandExport MagickBooleanType MagickDeleteImageArtifact(MagickWand *wand, const char *artifact)
WandExport MagickBooleanType MagickSetFormat(MagickWand *wand, const char *format)
WandExport MagickBooleanType MagickDeleteImageProperty(MagickWand *wand, const char *property)
WandExport MagickBooleanType MagickSetCompressionQuality(MagickWand *wand, const size_t quality)
WandExport double * MagickQueryMultilineFontMetrics(MagickWand *, const DrawingWand *, const char *)
Definition: magick-wand.c:621
#define WandExport
WandExport char * MagickGetFormat(MagickWand *wand)
WandExport const char * MagickGetQuantumDepth(size_t *depth)
WandExport MagickBooleanType MagickSetPointsize(MagickWand *wand, const double pointsize)
WandExport double * MagickQueryFontMetrics(MagickWand *, const DrawingWand *, const char *)
WandExport MagickBooleanType MagickSetSecurityPolicy(MagickWand *wand, const char *policy)
WandExport size_t MagickGetCompressionQuality(MagickWand *wand)
WandExport MagickBooleanType MagickSetInterlaceScheme(MagickWand *wand, const InterlaceType interlace_scheme)
WandExport MagickBooleanType MagickSetDepth(MagickWand *wand, const size_t depth)
WandExport MagickBooleanType MagickSetFont(MagickWand *wand, const char *font)
WandExport MagickBooleanType MagickSetAntialias(MagickWand *wand, const MagickBooleanType antialias)
WandExport PixelInterpolateMethod MagickGetInterpolateMethod(MagickWand *wand)
WandExport MagickBooleanType MagickSetImageProfile(MagickWand *wand, const char *name, const void *profile, const size_t length)
WandExport ColorspaceType MagickGetColorspace(MagickWand *wand)
WandExport MagickSizeType MagickGetResource(const ResourceType type)
WandExport MagickBooleanType MagickSetImageArtifact(MagickWand *wand, const char *artifact, const char *value)
WandExport char * MagickGetFont(MagickWand *wand)
WandExport char ** MagickGetOptions(MagickWand *wand, const char *pattern, size_t *number_options)
WandExport MagickBooleanType MagickGetPage(const MagickWand *wand, size_t *width, size_t *height, ssize_t *x, ssize_t *y)
WandExport const char * MagickGetVersion(size_t *version)
WandExport char * MagickGetImageArtifact(MagickWand *wand, const char *artifact)
WandExport MagickBooleanType MagickSetSamplingFactors(MagickWand *wand, const size_t number_factors, const double *sampling_factors)
WandExport char * MagickQueryConfigureOption(const char *)
WandExport MagickSizeType MagickGetResourceLimit(const ResourceType type)
WandExport PixelWand * MagickGetBackgroundColor(MagickWand *wand)
WandExport char * MagickGetOption(MagickWand *wand, const char *key)
WandExport MagickBooleanType MagickSetExtract(MagickWand *wand, const char *geometry)
WandExport MagickBooleanType MagickSetInterpolateMethod(MagickWand *wand, const PixelInterpolateMethod method)
WandExport MagickBooleanType MagickSetPassphrase(MagickWand *wand, const char *passphrase)
WandExport OrientationType MagickGetOrientationType(MagickWand *)
WandExport MagickBooleanType MagickSetResourceLimit(const ResourceType type, const MagickSizeType limit)
WandExport char ** MagickQueryFonts(const char *, size_t *)
WandExport char ** MagickQueryConfigureOptions(const char *, size_t *)
WandExport const char * MagickGetCopyright(void)
WandExport char ** MagickGetImageProperties(MagickWand *wand, const char *pattern, size_t *number_properties)
WandExport MagickBooleanType MagickSetFilename(MagickWand *wand, const char *filename)
WandExport double MagickGetPointsize(MagickWand *wand)
WandExport MagickBooleanType MagickSetSizeOffset(MagickWand *wand, const size_t columns, const size_t rows, const ssize_t offset)
WandExport MagickBooleanType MagickSetType(MagickWand *wand, const ImageType image_type)
WandExport void MagickSetSeed(const unsigned long seed)
WandExport MagickBooleanType MagickSetColorspace(MagickWand *wand, const ColorspaceType colorspace)
WandExport MagickBooleanType MagickSetImageProperty(MagickWand *wand, const char *property, const char *value)
WandExport char ** MagickGetImageArtifacts(MagickWand *wand, const char *pattern, size_t *number_artifacts)
WandExport MagickBooleanType MagickSetOption(MagickWand *wand, const char *key, const char *value)
WandExport const char * MagickGetReleaseDate(void)
WandExport MagickBooleanType MagickGetAntialias(const MagickWand *wand)
WandExport const char * MagickGetPackageName(void)
WandExport char * MagickGetHomeURL(void)
WandExport unsigned char * MagickGetImageProfile(MagickWand *wand, const char *name, size_t *length)
WandExport char ** MagickGetImageProfiles(MagickWand *wand, const char *pattern, size_t *number_profiles)
WandExport ImageType MagickGetType(MagickWand *wand)
WandExport MagickBooleanType MagickSetResolution(MagickWand *wand, const double x_resolution, const double y_resolution)
WandExport char ** MagickQueryFormats(const char *, size_t *)
Definition: magick-wand.c:749
WandExport GravityType MagickGetGravity(MagickWand *wand)
WandExport MagickBooleanType MagickSetBackgroundColor(MagickWand *wand, const PixelWand *background)
WandExport double * MagickGetSamplingFactors(MagickWand *wand, size_t *number_factors)
WandExport char * MagickGetImageProperty(MagickWand *wand, const char *property)
WandExport const char * MagickGetQuantumRange(size_t *range)
WandExport MagickBooleanType MagickSetSize(MagickWand *wand, const size_t columns, const size_t rows)