I have an image with 2048 x 2048 px, and a center for example (xmin,xmax,ymin,ymax) = (12,130,45,120).
I need to save one new image that have exactly 1024 x 1024 that