react-native-vision-camera
Version:
VisionCamera is the fastest and most powerful Camera for react-native.
22 lines (21 loc) • 449 B
JavaScript
/**
* Common Dynamic Ranges for the Camera.
*/
export const CommonDynamicRanges = {
/**
* Any SDR profile, preferrably 8-bit sRGB.
*/
ANY_SDR: {
bitDepth: 'sdr-8-bit',
colorSpace: 'srgb',
colorRange: 'full',
},
/**
* Any HDR profile, preferrably 10-bit HLG_BT2020.
*/
ANY_HDR: {
bitDepth: 'hdr-10-bit',
colorSpace: 'hlg-bt2020',
colorRange: 'full',
},
};