Skip to main content

Interface: PhotoFile

Represents a Photo taken by the Camera written to the local filesystem.

Related: Camera.takePhoto(), Camera.takeSnapshot()

Hierarchy

Properties

height

height: number

Defined in

PhotoFile.ts:58


isRawPhoto

isRawPhoto: boolean

Defined in

PhotoFile.ts:59


metadata

metadata: Object

Metadata information describing the captured image.

see AVCapturePhoto.metadata

see AndroidX ExifInterface

Type declaration

NameTypeDescription
DPIHeightnumberplatform iOS
DPIWidthnumberplatform iOS
Orientationnumber-
{Exif}Object-
{Exif}.ApertureValuenumber-
{Exif}.BrightnessValuenumber-
{Exif}.ColorSpacenumber-
{Exif}.DateTimeDigitizedstring-
{Exif}.DateTimeOriginalstring-
{Exif}.ExifVersionstring-
{Exif}.ExposureBiasValuenumber-
{Exif}.ExposureModenumber-
{Exif}.ExposureProgramnumber-
{Exif}.ExposureTimenumber-
{Exif}.FNumbernumber-
{Exif}.Flashnumber-
{Exif}.FocalLenIn35mmFilmnumber-
{Exif}.FocalLengthnumber-
{Exif}.ISOSpeedRatingsnumber[]-
{Exif}.LensMakestring-
{Exif}.LensModelstring-
{Exif}.LensSpecificationnumber[]-
{Exif}.MeteringModenumber-
{Exif}.OffsetTimestring-
{Exif}.OffsetTimeDigitizedstring-
{Exif}.OffsetTimeOriginalstring-
{Exif}.PixelXDimensionnumber-
{Exif}.PixelYDimensionnumber-
{Exif}.SceneTypenumber-
{Exif}.SensingMethodnumber-
{Exif}.ShutterSpeedValuenumber-
{Exif}.SubjectAreanumber[]-
{Exif}.SubsecTimeDigitizedstring-
{Exif}.SubsecTimeOriginalstring-
{Exif}.WhiteBalancenumber-
{MakerApple}?Record<string, unknown>Represents any data Apple cameras write to the metadata platform iOS
{TIFF}Object-
{TIFF}.DateTimestring-
{TIFF}.HostComputer?stringplatform iOS
{TIFF}.Makestring-
{TIFF}.Modelstring-
{TIFF}.ResolutionUnitnumber-
{TIFF}.Softwarestring-
{TIFF}.XResolutionnumber-
{TIFF}.YResolutionnumber-

Defined in

PhotoFile.ts:67


path

path: string

The path of the file.

  • Note: If you want to consume this file (e.g. for displaying it in an <Image> component), you might have to add the file:// prefix.

  • Note: This file might get deleted once the app closes because it lives in the temp directory.

Inherited from

TemporaryFile.path

Defined in

TemporaryFile.ts:12


thumbnail

Optional thumbnail: Record<string, unknown>

Defined in

PhotoFile.ts:60


width

width: number

Defined in

PhotoFile.ts:57