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

import core.vararg;

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

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*, ...);
	MagickBooleanType FormatImagePropertyList(Image*, const char*, const char*, va_list);
	MagickBooleanType SetImageProperty(Image*, const char*, const char*);

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