paddedResize documentation