tiff.m: works with libtiff v3