Write tiff files

Export indexed tiff images
wrong

wrong file