I set both the AVCapturePhotoOutput and the AVCapturePhotoSettings with maxPhotoDimensions = .init(width: 8064, height: 6048), but still get the 12mp photo.
Cannot capture 48mp resolution photo
What lens are you using? To get it working I had to use the Wide camera, not the Triple Camera system.
Hello @zangtao.i,
What is the photo quality prioritization you are setting on your capture settings? Try setting it to photoOutput.maxPhotoQualityPrioritization.
-- Greg
@DTS Engineer I have the same issue. The photos I'm getting from TripleCamera when it's set to 1x is always 12MP even though the photoOutput.maxPhotoQualityPrioritization is set to .quality and the activeFormat applied to photoOutput supports 24MP.
The standard iOS camera captures 24MP photos with TripleCamera but I don't know what else should I try to make it work in my app. So far, it only works when I use Wide camera, not Triple Camer system.
Hello @wwarder,
Can you verify that the capture device's activeFormat is set to a format that contains a 24MP resolution in its supportedMaxPhotoDimensions array?
-- Greg
Nevermind, I see that you have already verified that.
Most likely, the issue for you is separate from this thread.
For you, this comment in AVCapturePhotoOutput.h is probably relevant:
"Note: When supported, the 24MP setting (5712, 4284) is only serviced as 24MP when opted-in to autoDeferredPhotoDeliveryEnabled."
-- Greg