summaryrefslogtreecommitdiff
path: root/dmagick/c/threshold.d
diff options
context:
space:
mode:
Diffstat (limited to 'dmagick/c/threshold.d')
-rw-r--r--dmagick/c/threshold.d8
1 files changed, 8 insertions, 0 deletions
diff --git a/dmagick/c/threshold.d b/dmagick/c/threshold.d
index 3f7f7f1..6b2052b 100644
--- a/dmagick/c/threshold.d
+++ b/dmagick/c/threshold.d
@@ -5,6 +5,7 @@ import core.stdc.stdio;
import dmagick.c.exception;
import dmagick.c.image;
import dmagick.c.magickType;
+import dmagick.c.magickVersion;
alias ptrdiff_t ssize_t;
@@ -28,6 +29,13 @@ extern(C)
MagickBooleanType OrderedDitherImageChannel(Image*, const ChannelType, ExceptionInfo*);
MagickBooleanType OrderedPosterizeImage(Image*, const(char)*, ExceptionInfo*);
MagickBooleanType OrderedPosterizeImageChannel(Image*, const ChannelType, const(char)*, ExceptionInfo*);
+
+ static if ( MagickLibVersion >= 0x681 )
+ {
+ MagickBooleanType PerceptibleImage(Image*, const double);
+ MagickBooleanType PerceptibleImageChannel(Image*, const ChannelType, const double);
+ }
+
MagickBooleanType RandomThresholdImage(Image*, const(char)*, ExceptionInfo*);
MagickBooleanType RandomThresholdImageChannel(Image*, const ChannelType, const(char)*, ExceptionInfo*);
MagickBooleanType WhiteThresholdImage(Image*, const(char)*);