Skip to content

brunoJSX/exif-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

exif-image

Get EXIF ​​data from image

Installation

npm install exif-image --save
yarn add exif-image
bower install exif-image --save

Usage

Javascript

var exif_image = require('exif-image');
var boys = exif_image.getOrientation(file, callback);

function callback(data) {
 console.log(data);
}
Output should be 1 | 2 | 3 ... 8 -> This is equivalent to the EXIF code in the image

TypeScript

import { getOrientation } from 'exif-image';
getOrientation(file, callback);

function callback(data) {
 console.log(data);
}
Output should be 1 | 2 | 3 ... 8 -> This is equivalent to the EXIF code in the image

About

Get EXIF ​​data from image

Resources

Stars

Watchers

Forks

Packages

No packages published