goldendict-ng/tiff.hh
2014-02-11 18:02:00 +04:00

21 lines
360 B
C++

#ifndef __TIFF_HH_INCLUDED__
#define __TIFF_HH_INCLUDED__
#ifdef MAKE_EXTRA_TIFF_HANDLER
#include <QImage>
namespace GdTiff
{
// QImage don't handle TIFF files if TIFFTAG_PHOTOMETRIC is not set
// We will handle such 1-bit b/w images with default photometric
bool tiffToQImage( const char * data, int size, QImage & image );
}
#endif
#endif // TIFF_HH