summaryrefslogtreecommitdiff
path: root/dmagick/c/property.d
blob: 912e7be4fc83cf48050b7a454a1460a790194273 (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
module dmagick.c.property;

import core.vararg;

import dmagick.c.image;
import dmagick.c.magickType;
import dmagick.c.magickVersion;

extern(C)
{
	char* GetNextImageProperty(const(Image)*);
	char* InterpretImageProperties(const(ImageInfo)*, Image*, const(char)*);
	char* RemoveImageProperty(Image*, const(char)*);

	const(char)* GetImageProperty(const(Image)*, const(char)*);
	const(char)* GetMagickProperty(const(ImageInfo)*, Image*, const(char)*);

	MagickBooleanType CloneImageProperties(Image*, const(Image)*);
	MagickBooleanType DefineImageProperty(Image*, const(char)*);
	MagickBooleanType DeleteImageProperty(Image*, const(char)*);
	MagickBooleanType FormatImageProperty(Image*, const(char)*, const(char)*, ...);

	static if ( MagickLibVersion < 0x670 )
	{
		MagickBooleanType FormatImagePropertyList(Image*, const(char)*, const(char)*, va_list);
	}

	MagickBooleanType SetImageProperty(Image*, const(char)*, const(char)*);

	void DestroyImageProperties(Image*);
	void ResetImagePropertyIterator(const(Image)*);
}