UNPKG

expo-camera

Version:

A React component that renders a preview for the device's either front or back camera. Camera's parameters like zoom, auto focus, white balance and flash mode are adjustable. With expo-camera, one can also take photos and record videos that are saved to t

33 lines (32 loc) 668 B
export declare enum CameraType { front = "front", back = "back" } export declare enum ImageType { png = "png", jpg = "jpg" } export declare type ImageParameters = { imageType: ImageType; quality: number | null; }; export declare type ImageSize = { width: number; height: number; }; export declare type CaptureOptions = { quality?: number; exif?: boolean; onPictureSaved?: Function; skipProcessing?: boolean; scale: number; imageType: ImageType; isImageMirror: boolean; }; export declare type CapturedPicture = { width: number; height: number; uri: string; base64?: string; exif?: any; };