8#include "./AOI_Types.h"
17#define TIFF_Comp_None 0
18#define TIFF_Comp_CCITT 1
19#define TIFF_Comp_LZW 2
21#define TIFF_Platform_i386 uint16_t( 0x4949 )
22#define TIFF_Platform_PPC uint16_t( 0x4D4D )
24typedef struct tiff TIFF;
27# define TIFF_This_Platform TIFF_Platform_i386
29# define TIFF_This_Platform TIFF_Platform_PPC
32ExceptionCode AOIAPI
AOI_WriteTIFF(
const aur::ACPL::FileSpec& path, uint8_t compression, uint16_t platform,
33 AOI_ColorSpaceEnum colorSpace, uint16_t bitsPerPixel, uint32_t width, uint32_t height,
34 float dpiX,
float dpiY,
const void* imageData );
36class AOIAPI AOI_TIFFWriter
43 uint16_t mBitsPerPixel;
48 ExceptionCode Init(
const aur::ACPL::FileSpec& path, uint8_t compression, uint16_t platform,
49 AOI_ColorSpaceEnum colorSpace, uint16_t bitsPerPixel, uint32_t width, uint32_t height,
50 float dpiX,
float dpiY );
51 ExceptionCode WriteData( uint32_t lines,
const void* imageData );
ExceptionCode AOIAPI AOI_WriteTIFF(const aur::ACPL::FileSpec &path, uint8_t compression, uint16_t platform, AOI_ColorSpaceEnum colorSpace, uint16_t bitsPerPixel, uint32_t width, uint32_t height, float dpiX, float dpiY, const void *imageData)
TIFF writer.