Added TIFF encoding.