use TIFF instead of jpeg