19 lines
644 B
TypeScript
19 lines
644 B
TypeScript
import { ExifToolOptions } from "./ExifToolOptions";
|
|
import { Maybe } from "./Maybe";
|
|
export type GpsLocationTags = {
|
|
GPSLatitude?: number;
|
|
GPSLatitudeRef?: string;
|
|
GPSLongitude?: number;
|
|
GPSLongitudeRef?: string;
|
|
GPSPosition?: string;
|
|
GeolocationPosition?: string;
|
|
};
|
|
export declare const GpsLocationTagNames: (keyof GpsLocationTags)[];
|
|
export interface GpsParseResult {
|
|
result: GpsLocationTags;
|
|
details: string;
|
|
invalid: boolean;
|
|
warnings: string[];
|
|
}
|
|
export declare function parseGPSLocation(tags: GpsLocationTags, opts: Pick<ExifToolOptions, "ignoreZeroZeroLatLon">): Maybe<Partial<GpsParseResult>>;
|