feat: High quality mode (enableHighQualityPhotos
) (#194)
* feat: High Quality photo capture * prepare photo output for re-used settings * use high quality captures * Remove `enableVirtualDeviceFusion` as that is enabled by default * Clean up configuration, remove default * format * Update CameraViewManager.kt * rename * Update CameraProps.ts * Fix overriding `photoSettings` * Update CameraView+TakePhoto.swift * Update CameraView+TakePhoto.swift
This commit is contained in:
@@ -135,11 +135,17 @@ export interface CameraProps extends ViewProps {
|
||||
*/
|
||||
enablePortraitEffectsMatteDelivery?: boolean;
|
||||
/**
|
||||
* Indicates whether the photo render pipeline should be configured to deliver high resolution still images
|
||||
* Indicates whether the Camera should prepare the photo pipeline to provide maximum quality photos.
|
||||
*
|
||||
* This enables:
|
||||
* * High Resolution Capture ([`isHighResolutionCaptureEnabled`](https://developer.apple.com/documentation/avfoundation/avcapturephotooutput/1648721-ishighresolutioncaptureenabled))
|
||||
* * Virtual Device fusion for greater detail ([`isVirtualDeviceConstituentPhotoDeliveryEnabled`](https://developer.apple.com/documentation/avfoundation/avcapturephotooutput/3192189-isvirtualdeviceconstituentphotod))
|
||||
* * Dual Device fusion for greater detail ([`isDualCameraDualPhotoDeliveryEnabled`](https://developer.apple.com/documentation/avfoundation/avcapturephotosettings/2873917-isdualcameradualphotodeliveryena))
|
||||
* * Sets the maximum quality prioritization to `.quality` ([`maxPhotoQualityPrioritization`](https://developer.apple.com/documentation/avfoundation/avcapturephotooutput/3182995-maxphotoqualityprioritization))
|
||||
*
|
||||
* @default false
|
||||
*/
|
||||
enableHighResolutionCapture?: boolean;
|
||||
enableHighQualityPhotos?: boolean;
|
||||
|
||||
//#region Events
|
||||
/**
|
||||
|
@@ -24,13 +24,6 @@ export interface TakePhotoOptions {
|
||||
* @default false
|
||||
*/
|
||||
enableAutoRedEyeReduction?: boolean;
|
||||
/**
|
||||
* Specifies whether a virtual multi-cam device should capture images from all containing physical cameras
|
||||
* to create a combined, higher quality image.
|
||||
*
|
||||
* @see [`isAutoVirtualDeviceFusionEnabled`](https://developer.apple.com/documentation/avfoundation/avcapturephotosettings/3192192-isautovirtualdevicefusionenabled)
|
||||
*/
|
||||
enableVirtualDeviceFusion?: boolean;
|
||||
/**
|
||||
* Indicates whether still image stabilization will be employed when capturing the photo
|
||||
*
|
||||
|
Reference in New Issue
Block a user