replaced tif with jpg