Crop/Scale up screen space

Hi - I have created a distortion effect that warps the image but stretches pixels at the edge of the screen, which I don’t want to see. Is there a post process for scaling up the final image and to essentially crop out those edges? Thanks!