converter between TIFF and PNM
