summaryrefslogtreecommitdiff
path: root/dmagick/c/attribute.d
blob: c827155c03ee4d51c44ded05b3c5a8b65c219b5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
module dmagick.c.attribute;

import dmagick.c.image;
import dmagick.c.exception;
import dmagick.c.magickType;
import dmagick.c.geometry;

extern(C)
{
	ImageType GetImageType(const Image*, ExceptionInfo*);

	MagickBooleanType IsGrayImage(const Image*, ExceptionInfo*);
	MagickBooleanType IsMonochromeImage(const Image*, ExceptionInfo*);
	MagickBooleanType IsOpaqueImage(const Image*, ExceptionInfo*);
	MagickBooleanType SetImageChannelDepth(Image*, const ChannelType, const size_t);
	MagickBooleanType SetImageDepth(Image*, const size_t);

	RectangleInfo GetImageBoundingBox(const Image*, ExceptionInfo* exception);

	size_t GetImageChannelDepth(const Image*, const ChannelType, ExceptionInfo*);
	size_t GetImageDepth(const Image*, ExceptionInfo*);
	size_t GetImageQuantumDepth(const Image*, const MagickBooleanType);
}