How to crop the image and save

Hi DaneLLL
I implement your example but I cannot see any saved image.
Can you please provide more details on implementation?