diff options
Diffstat (limited to 'dmagick/c/attribute.d')
| -rw-r--r-- | dmagick/c/attribute.d | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dmagick/c/attribute.d b/dmagick/c/attribute.d new file mode 100644 index 0000000..c827155 --- /dev/null +++ b/dmagick/c/attribute.d @@ -0,0 +1,23 @@ +module dmagick.c.attribute; + +import dmagick.c.image; +import dmagick.c.exception; +import dmagick.c.magickType; +import dmagick.c.geometry; + +extern(C) +{ + ImageType GetImageType(const Image*, ExceptionInfo*); + + MagickBooleanType IsGrayImage(const Image*, ExceptionInfo*); + MagickBooleanType IsMonochromeImage(const Image*, ExceptionInfo*); + MagickBooleanType IsOpaqueImage(const Image*, ExceptionInfo*); + MagickBooleanType SetImageChannelDepth(Image*, const ChannelType, const size_t); + MagickBooleanType SetImageDepth(Image*, const size_t); + + RectangleInfo GetImageBoundingBox(const Image*, ExceptionInfo* exception); + + size_t GetImageChannelDepth(const Image*, const ChannelType, ExceptionInfo*); + size_t GetImageDepth(const Image*, ExceptionInfo*); + size_t GetImageQuantumDepth(const Image*, const MagickBooleanType); +} |
