blob: 42e177d4c21f16e4234c6673f63f237ce529cce4 (
plain)
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
44
45
46
47
48
|
module dmagick.c.magickVersion;
import core.stdc.config;
import core.stdc.stdio;
/// Defines the version of ImageMagick where these headers are based on.
enum MagickLibVersion = 0x707;
///ditto
enum MagickLibVersionText = "7.0.7";
/// The quantum depth used by MagickCore.
enum MagickQuantumDepth = 16;
/// Defines if HDRI is enabled.
enum MagickHDRISupport = true;
/*
* With ImageMagick 6.6.3 long and unsinged long were changed to
* ssize_t and size_t. This is only a problem for 64bits windows.
*/
static if (MagickLibVersion < 0x663 && c_ulong.sizeof != size_t.sizeof)
{
static assert(0, "Only ImageMagick version 6.6.3 and up are supported on your platform");
}
extern(C)
{
char* GetMagickHomeURL();
const(char)* GetMagickCopyright();
static if ( MagickLibVersion >= 0x681 )
{
const(char)* GetMagickDelegates();
}
const(char)* GetMagickFeatures();
const(char)* GetMagickPackageName();
const(char)* GetMagickQuantumDepth(size_t*);
const(char)* GetMagickQuantumRange(size_t*);
const(char)* GetMagickReleaseDate();
const(char)* GetMagickVersion(size_t*);
static if ( MagickLibVersion >= 0x681 )
{
void ListMagickVersion(FILE*);
}
}
|