lanczos filtering and the ability for custom resampling kernels