// // Copyright 2006 Johannes Hofmann // // This software may be used and distributed according to the terms // of the GNU General Public License, incorporated herein by reference. #ifndef TIFFOUTPUTIMAGE_H #define TIFFOUTPUTIMAGE_H #include #include #include "OutputImage.H" class TIFFOutputImage : public OutputImage { private: int bitspersample; unsigned char *row; char *file; TIFF *tiff; protected: int init_internal(); int set_pixel_internal(int x, int r, int g, int b); int next_line_internal(); int done_internal(); public: TIFFOutputImage(const char *file, int b = 8); ~TIFFOutputImage(); }; #endif