Crop Images of equal size from Panorama Image

Hello All,

I am looking for any method which can crop images of equal sizes(squared) from a panorama image and save it in system directory. I want to implement this method in my application.

I have tried cropping image but only one image I am able to crop from one panorama image.

I have searched for it but get nothing regarding it.

Please suggest what could be done in this case.

Thanks in advance.