You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ass/common/gps-metadata-remover.d.ts

10 lines
376 B

type ReadFunction = (size: number, offset: number) => Promise<Buffer>
type WriteFunction = (val: string, offset: number, enc: any) => Promise<void>
type Options = {
skipXMPRemoval?: boolean
}
declare module '@xoi/gps-metadata-remover' {
export async function removeLocation(path: string, read: ReadFunction, write: WriteFunction, options: Options = {}): Promise<boolean>
}