PhotoFile

interface PhotoFile

Represents a Photo captured by capturePhotoToFile(...) and written to a File.

Properties

containerFormat

containerFormat: PhotoContainerFormat

The PhotoContainerFormat of the captured Photo.


filePath

filePath: string

The path of the file. This is a filesystem path, not a file:// URL.


height

height: number

The height of the captured Photo, in pixels.


isMirrored

isMirrored: boolean

Whether the captured Photo is mirrored along its vertical axis.


isRawPhoto

isRawPhoto: boolean

Whether the captured Photo is a RAW photo.


orientation

orientation: CameraOrientation

The CameraOrientation the Photo was captured in.

The orientation is applied lazily through the file's EXIF metadata.


timestamp

timestamp: number

The timestamp at which the Photo was captured, using the system's host clock, in seconds.


width

width: number

The width of the captured Photo, in pixels.

On this page