Lanczos image resampling