which doesn't require pre-allocation of a temporary QImage The existing interface is very inefficient for the bilinear resampler, because it requires allocation of a temporary QImage just to pass the desired height and width to the resampler...