panolib.c: Use something similar to Lanczos resampling for sharper images.