summaryrefslogtreecommitdiff
path: root/dmagick/c/attribute.d
diff options
context:
space:
mode:
authorMike Wey2011-01-08 17:48:30 +0100
committerMike Wey2011-01-08 17:48:30 +0100
commitcbac78bbec726017355cb455a776f193e7fc3022 (patch)
treea41c564c7ef5aec9dd2b18e58e94b213193044be /dmagick/c/attribute.d
initial checkin
Diffstat (limited to 'dmagick/c/attribute.d')
-rw-r--r--dmagick/c/attribute.d23
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);
+}