1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
module dmagick.c.threshold;
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;
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*);
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)*);
MagickBooleanType WhiteThresholdImageChannel(Image*, const ChannelType, const(char)*, ExceptionInfo *);
}
|