Library for resampling with various resampling grids and various interpolation techniques