Use tiff files instead of jpeg