32#ifndef eman__tiffio_h__
33#define eman__tiffio_h__ 1
39typedef struct tiff TIFF;
48 class TiffIO :
public ImageIO
51 explicit TiffIO(
const string & fname, IOMode rw_mode = READ_ONLY);
55 static bool is_valid(
const void *first_block);
61 TIFF_LITTLE_ENDIAN = 0x49,
62 TIFF_BIG_ENDIAN = 0x4d
67 unsigned short bitspersample;
68 unsigned short photometric;
#define DEFINE_IMAGEIO_FUNC
DEFINE_IMAGEIO_FUNC declares the functions that needs to be implemented by any subclass of ImageIO.