Implement the OIIOResize plugin. It seems to work fine.