diff options
| author | Mike Wey | 2011-01-08 17:48:30 +0100 |
|---|---|---|
| committer | Mike Wey | 2011-01-08 17:48:30 +0100 |
| commit | cbac78bbec726017355cb455a776f193e7fc3022 (patch) | |
| tree | a41c564c7ef5aec9dd2b18e58e94b213193044be /dmagick/c/threshold.d | |
initial checkin
Diffstat (limited to 'dmagick/c/threshold.d')
| -rw-r--r-- | dmagick/c/threshold.d | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dmagick/c/threshold.d b/dmagick/c/threshold.d new file mode 100644 index 0000000..4134b13 --- /dev/null +++ b/dmagick/c/threshold.d @@ -0,0 +1,34 @@ +module dmagick.c.threshold; + +import core.stdc.stdio; +import core.sys.posix.sys.types; + +import dmagick.c.exception; +import dmagick.c.image; +import dmagick.c.magickType; + +extern(C) +{ + struct ThresholdMap {} + + Image* AdaptiveThresholdImage(const Image*, const size_t, const size_t, const ssize_t, ExceptionInfo*); + + ThresholdMap* DestroyThresholdMap(ThresholdMap*); + ThresholdMap* GetThresholdMap(const char*, ExceptionInfo*); + + MagickBooleanType BilevelImage(Image*, const double); + MagickBooleanType BilevelImageChannel(Image*, const ChannelType, const double); + MagickBooleanType BlackThresholdImage(Image*, const char*); + MagickBooleanType BlackThresholdImageChannel(Image*, const ChannelType, const char*, ExceptionInfo*); + MagickBooleanType ClampImage(Image*); + MagickBooleanType ClampImageChannel(Image*, const ChannelType); + MagickBooleanType ListThresholdMaps(FILE*, ExceptionInfo*); + MagickBooleanType OrderedDitherImage(Image*); + MagickBooleanType OrderedDitherImageChannel(Image*, const ChannelType, ExceptionInfo*); + MagickBooleanType OrderedPosterizeImage(Image*, const char*, ExceptionInfo*); + MagickBooleanType OrderedPosterizeImageChannel(Image*, const ChannelType, const char*, ExceptionInfo*); + MagickBooleanType RandomThresholdImage(Image*, const char*, ExceptionInfo*); + MagickBooleanType RandomThresholdImageChannel(Image*, const ChannelType, const char*, ExceptionInfo*); + MagickBooleanType WhiteThresholdImage(Image*, const char*); + MagickBooleanType WhiteThresholdImageChannel(Image *,const ChannelType,const char *,ExceptionInfo *); +} |
