triniwiz / nativescript-fancy-camera

Apache License 2.0
5 stars 2 forks source link

Image size doesn't match what was captured add AVCaptureSessionPresetPhoto option #2

Open dottodot opened 5 years ago

dottodot commented 5 years ago

In my ipad app the CameraView takes up the full screen however the resulting image does not, it appears to have been cropped.

This is because all the current quality options are for video so the resulting image isn't correct. This change adds the option to use AVCaptureSessionPresetPhoto so that photos are the correct size.

I wasn't sure what to do for the android side of thing so that may need changing.