Is there a good clean way to resize PNMImage instances with sampling algorithm selection (NN, Bilinear, Bicubic)? That is, I want to take an image of size MxN and resize it to size PxQ using any one of these resampling algorithms. If not, I have a bunch of C++ code for doing this that I can translate into P3D/python code and share. Just thought I would check first … no sense in reinventing the wheel.
Thx,
Paul