Camera capture in square resolution
Hi, I'm currently working on a camera app. I have managed to capture images and preview them in app. The issue I have is I have to capture images in portrait view because when I take a picture in landscape view, the preview squashes the image to fit into whatever resolution I have set for the preview.
Is there anyway to program the camera to capture an image in a square template like in Instagram? That way, i think regardless of capturing an image in portrait or landscape view, the preview, which is also set to a square resolution, will show the image just fine.