crop camera image to square