crop affine image