我如何从@ capacitor / ios Plugin.Camera获取exif数据

时间:2018-09-28 00:46:21

标签: ios ionic-framework exif capacitor

我正在查看Plugin.Camera的类型界面,并且看到以下内容:

# "@capacitor/ios": "^1.0.0-beta.8",
export interface CameraPhoto {
    /**
     * The base64 encoded data of the image, if using CameraResultType.Base64.
     */
    base64Data?: string;
    /**
     * If using CameraResultType.Uri, the path will contain a full,
     * platform-specific file URL that can be read later using the Filsystem API.
     */
    path?: string;
    /**
     * webPath returns a path that can be used to set the src attribute of an image for efficient
     * loading and rendering.
     */
    webPath?: string;
    /**
     * Exif data, if any, retrieved from the image
     */
    exif?: any;
    /**
     * The format of the image. Currently, only "jpeg" is supported.
     */
    format: string;
}

0 个答案:

没有答案