@evikadar/imagemetadata
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

imagemetadata

Capacitor plugin to get image metadata, specifically creation date from images stored on phone.

Install

npm install imagemetadata
npx cap sync

API

echo(...)

echo(options: { value: string; }) => Promise<{ value: string; }>
Param Type
options { value: string; }

Returns: Promise<{ value: string; }>


getImagesBetweenDates(...)

getImagesBetweenDates(options: { validFrom: number; validTo: number; }) => Promise<{ imagePaths: string[]; }>
Param Type
options { validFrom: number; validTo: number; }

Returns: Promise<{ imagePaths: string[]; }>


getMetadata(...)

getMetadata(options: { filePath: string; }) => Promise<{ creationDate: number; }>
Param Type
options { filePath: string; }

Returns: Promise<{ creationDate: number; }>


logCrashlyticsMessage(...)

logCrashlyticsMessage(options: { message: string; }) => Promise<void>
Param Type
options { message: string; }

Package Sidebar

Install

npm i @evikadar/imagemetadata

Weekly Downloads

1

Version

1.0.7

License

MIT

Unpacked Size

35.8 kB

Total Files

26

Last publish

Collaborators

  • evikadar