How do I resize a loaded image file like you can with video capture?

How do I change the size of an image like a video capture. I want to do the same as in this video by the coding train but instead, load an image, not a video capture.