s3-image-exif

1.0.2 • Public • Published

s3-image-exif

This plugin depends on the exiftool tool. Before using this plugin, please download and install exiftool. For more exiftool information, please refer to exiftool

  const {downloadS3Image,exif,getCaptureDate,unlink} = require('./s3-image-exif');
  const downloadPath = `${you want to downlod to path}`;
  const imageS3 = await downloadS3Image(`${your S3 bucket}`, `${your image key}`, downloadPath);
  console.log(imageS3);
  const execExif = await exif(downloadPath);
  console.log(execExif);
  const captureDate = getCaptureDate(execExif.exifInfo);
  console.log(execExif, captureDate);
  unlink(downloadPath);

Package Sidebar

Install

npm i s3-image-exif

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

3.96 kB

Total Files

3

Last publish

Collaborators

  • 845830229