MagickCore  7.0.10
Convert, Edit, Or Compose Bitmap Images
attribute.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2020 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  MagickCore methods to set or get image attributes.
17 */
18 #ifndef MAGICKCORE_ATTRIBUTE_H
19 #define MAGICKCORE_ATTRIBUTE_H
20 
21 #include "MagickCore/image.h"
22 #include "MagickCore/exception.h"
23 
24 #if defined(__cplusplus) || defined(c_plusplus)
25 extern "C" {
26 #endif
27 
29  GetImageType(const Image *),
32 
35  IsImageGray(const Image *),
36  IsImageMonochrome(const Image *),
38  SetImageDepth(Image *,const size_t,ExceptionInfo *),
40 
42  *GetImageConvexHull(const Image *,size_t *,ExceptionInfo *),
44 
47 
48 extern MagickExport size_t
51 
52 #if defined(__cplusplus) || defined(c_plusplus)
53 }
54 #endif
55 
56 #endif
MagickExport MagickBooleanType SetImageDepth(Image *image, const size_t depth, ExceptionInfo *exception)
Definition: attribute.c:1790
MagickExport ImageType IdentifyImageGray(const Image *image, ExceptionInfo *exception)
Definition: attribute.c:1431
Definition: exception.h:101
MagickExport PointInfo * GetImageMinimumBoundingBox(Image *image, size_t *number_vertices, ExceptionInfo *exception)
Definition: attribute.c:1163
MagickExport MagickBooleanType IdentifyImageMonochrome(const Image *image, ExceptionInfo *exception)
Definition: attribute.c:1513
Definition: image.h:151
MagickExport MagickBooleanType SetImageType(Image *image, const ImageType type, ExceptionInfo *exception)
Definition: attribute.c:2004
MagickBooleanType
Definition: magick-type.h:169
MagickExport ImageType GetImageType(const Image *image)
Definition: attribute.c:1376
MagickExport PointInfo * GetImageConvexHull(const Image *image, size_t *number_vertices, ExceptionInfo *exception)
Definition: attribute.c:712
MagickExport size_t GetImageQuantumDepth(const Image *image, const MagickBooleanType constrain)
Definition: attribute.c:1327
MagickExport ImageType IdentifyImageType(const Image *image, ExceptionInfo *exception)
Definition: attribute.c:1594
Definition: geometry.h:127
MagickExport MagickBooleanType IsImageGray(const Image *image)
Definition: attribute.c:1649
MagickExport size_t GetImageDepth(const Image *image, ExceptionInfo *exception)
Definition: attribute.c:834
MagickExport MagickBooleanType IsImageMonochrome(const Image *image)
Definition: attribute.c:1681
MagickExport RectangleInfo GetImageBoundingBox(const Image *image, ExceptionInfo *exception)
Definition: attribute.c:386
ImageType
Definition: image.h:48
#define MagickExport
Definition: method-attribute.h:80
Definition: geometry.h:120
MagickExport MagickBooleanType IsImageOpaque(const Image *image, ExceptionInfo *exception)
Definition: attribute.c:1718