create an Interpolate interface so that we can do either nearest or bicubic