tiff support
tiff encoding tests