react-native-vision-cameraInterfaces
PhotoFile
interface PhotoFileRepresents a Photo captured by
capturePhotoToFile(...)
and written to a File.
Properties
containerFormat
containerFormat: PhotoContainerFormatThe PhotoContainerFormat of the captured Photo.
filePath
filePath: stringThe path of the file.
This is a filesystem path, not a file:// URL.
height
height: numberThe height of the captured Photo, in pixels.
isMirrored
isMirrored: booleanWhether the captured Photo is mirrored along its vertical axis.
isRawPhoto
isRawPhoto: booleanWhether the captured Photo is a RAW photo.
orientation
orientation: CameraOrientationThe CameraOrientation the Photo was captured in.
The orientation is applied lazily through the file's EXIF metadata.
timestamp
timestamp: numberThe timestamp at which the Photo was captured, using the system's host clock, in seconds.
width
width: numberThe width of the captured Photo, in pixels.