MagickCore  6.8.9
attribute.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2014 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  MagickCore methods to set or get image attributes.
17 */
18 #ifndef _MAGICKCORE_ATTRIBUTE_H
19 #define _MAGICKCORE_ATTRIBUTE_H
20 
21 #include "magick/image.h"
22 #include "magick/exception.h"
23 
24 #if defined(__cplusplus) || defined(c_plusplus)
25 extern "C" {
26 #endif
27 
29  GetImageType(const Image *,ExceptionInfo *);
30 
32  IsGrayImage(const Image *,ExceptionInfo *),
35  SetImageChannelDepth(Image *,const ChannelType,const size_t),
36  SetImageDepth(Image *,const size_t),
37  SetImageType(Image *,const ImageType);
38 
40  GetImageBoundingBox(const Image *,ExceptionInfo *exception);
41 
42 extern MagickExport size_t
46 
47 #if defined(__cplusplus) || defined(c_plusplus)
48 }
49 #endif
50 
51 #endif
MagickExport size_t GetImageChannelDepth(const Image *, const ChannelType, ExceptionInfo *)
Definition: exception.h:102
MagickExport size_t GetImageQuantumDepth(const Image *, const MagickBooleanType)
Definition: attribute.c:585
Definition: image.h:152
MagickExport MagickBooleanType SetImageType(Image *, const ImageType)
Definition: attribute.c:1164
MagickExport MagickBooleanType IsMonochromeImage(const Image *, ExceptionInfo *)
MagickBooleanType
Definition: magick-type.h:214
MagickExport size_t GetImageDepth(const Image *, ExceptionInfo *)
MagickExport MagickBooleanType IsGrayImage(const Image *, ExceptionInfo *)
MagickExport MagickBooleanType IsOpaqueImage(const Image *, ExceptionInfo *)
Definition: geometry.h:121
ChannelType
Definition: magick-type.h:180
MagickExport RectangleInfo GetImageBoundingBox(const Image *, ExceptionInfo *exception)
Definition: attribute.c:125
MagickExport ImageType GetImageType(const Image *, ExceptionInfo *)
Definition: attribute.c:640
MagickExport MagickBooleanType SetImageDepth(Image *, const size_t)
MagickExport MagickBooleanType SetImageChannelDepth(Image *, const ChannelType, const size_t)
ImageType
Definition: image.h:49
#define MagickExport
Definition: method-attribute.h:98