How to select a part of image and zoom it


I know this has nothing to do with pytorch but I want to select a small region of an image and then zoom it like in the image attached. How to do that? Is it done in python or photo edting tools?


This matplotlib example might be useful.

1 Like

Thanks a lot!
I appreciate your help.