Capturing photos with specific resolution using the UIImagePickerController
问题 I would like to take photos of A4 pieces of paper with writing on. Importantly, I want the text to be readable, but I do not want images with resolutions like 2592x1936 pixel or 3264x2448 pixel as that would be too big. Also, I assume that rescaling the photo after capturing takes extra time, so I would like to avoid this too. We can choose between the following qualities: UIImagePickerControllerQualityTypeHigh = 0 UIImagePickerControllerQualityTypeMedium = 1 default value