Add omitted types for GPS Tags (#45400)

This commit is contained in:
Kim Byeonggi 2020-06-24 18:17:26 +09:00 committed by GitHub
parent eb68e14280
commit 05612aa315
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

27
types/exif/index.d.ts vendored
View File

@ -69,15 +69,42 @@ declare namespace Exif {
UserComment?: Buffer;
WhiteBalance?: number;
};
/**
* Entire GPS Tags from https://exiftool.org/TagNames/GPS.html are listed.
* And their types are determined from http://www.exif.org/Exif2-2.PDF.
*/
gps: {
GPSAltitude?: number;
GPSAltitudeRef?: number;
GPSAreaInformation?: Buffer;
GPSDateStamp?: string;
GPSDestBearing?: number;
GPSDestBearingRef?: string;
GPSDestDistance?: number;
GPSDestDistanceRef?: string;
GPSDestLatitude?: number[];
GPSDestLatitudeRef?: string;
GPSDestLongitude?: number[];
GPSDestLongitudeRef?: string;
GPSDifferential?: number;
GPSDOP?: number;
GPSHPositioningError?: number;
GPSImgDirection?: number;
GPSImgDirectionRef?: string;
GPSLatitude?: number[];
GPSLatitudeRef?: string;
GPSLongitude?: number[];
GPSLongitudeRef?: string;
GPSMapDatum?: string;
GPSMeasureMode?: string;
GPSProcessingMethod?: Buffer;
GPSTimeStamp?: number[];
GPSSatellites?: string;
GPSSpeed?: number;
GPSSpeedRef?: string;
GPSStatus?: string;
GPSTrack?: number;
GPSTrackRef?: string;
GPSVersionId?: number[];
};
interoperability: {