This question addresses the same topic, but the selected answer doesn't state how to capture a PNG image instead of a JPEG image when using AVCaptureStillImageOutput
.
How can you produce a PNG image instead of a JPEG image when capturing still images with AVCaptureStillImageOutput
?