Applied C++
Practical Techniques for Building Better Software


TIFF Software

tiff-v3.5.7.tar.gz Source code
libtiff-lzw-compression-kit-1.3.tar.gz Source code (adds LZW compression)
(See licensing information in documentation)
TIFF6.pdf TIFF 6.0 Specification


Pre-built libraries for Microsoft Windows, Linux, and FreeBSD can be found in framework/thirdparty.


Notes:

On FreeBSD (and probaly other platforms), building the tiff delegate using default settings will not enable proper stack unwinding. If you attempt to generate C++ exceptions from error handlers you write, the C code will abort. With gcc you need to specify '-fexceptions' to make sure exceptions work properly.

The tiff library was configured by modifying the configure app as follows:
  • Disable DSO (DSO=no)
  • Support stack unwinding: ${OPTIMIZER=-O -fexceptions}
You may also need to enable LZW compression when building libtiff. See the file
libtiff-lzw-compression-kit-1.3/README-LZW-COMPRESSION for more information on how to do this as well as LZW licensing issues.