Skip to content

thanpolas/exfy.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exfy.js

Read and write exif meta headers from assets (jpeg, tiff)

Work in progress -not yet complete-

Getting Started

Documentation

(Coming soon)

Examples

// source can be one of:
// {document.element} IMG DOM element or array or elements
// {jQuery} jQuery containing img elements
// {string} url pointing to desired jpeg
// {document.Image} instance of Image()
// {string} raw base64
// {Blob} raw blob type

// opt_fn callback when processed, providing status (pass or failed)
var e = Exfy(source, opt_fn);

// or
var e = Exfy();
e.add(source, opt_fn);


e.toObject(); // get all headers as a native JS object
e.get(headerName); // get a value of a header, undefined if not set
e.set(headerName, value);

Contributing

Project requires google closure library. It is expected to be in the 'closure-library' folder of the project's root. This folder is in the .gitignore file. If you want to get the closure library plainly clone it from the project's root folder:

git clone https://github.com/jarib/google-closure-library.git closure-library

Release History

(Nothing yet)

License

Copyright (c) 2012 Thanasis Polychronakis Licensed under the MIT license.

About

read and write jpeg meta headers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published