tiff decoder work-in-progress