xref: /haiku/src/add-ons/translators/raw/TIFF.h (revision 02354704729d38c3b078c696adc1bbbd33cbcf72)
1 /*
2  * Copyright 2007, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef TIFF_H
6 #define TIFF_H
7 
8 
9 #include <SupportDefs.h>
10 
11 
12 enum types {
13 	TIFF_UINT8_TYPE = 1,
14 	TIFF_STRING_TYPE,
15 	TIFF_UINT16_TYPE,
16 	TIFF_UINT32_TYPE,
17 	TIFF_UFRACTION_TYPE,
18 	TIFF_INT8_TYPE,
19 	TIFF_UNDEFINED_TYPE,
20 	TIFF_INT16_TYPE,
21 	TIFF_INT32_TYPE,
22 	TIFF_FRACTION_TYPE,
23 	TIFF_FLOAT_TYPE,
24 	TIFF_DOUBLE_TYPE,
25 };
26 
27 struct tiff_tag {
28 	uint16	tag;
29 	uint16	type;
30 	uint32	length;
31 };
32 
33 #endif	// TIFF_H
34