Skip to content

cmbullock/exif-processor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

exif-processor

A lightweight wrapper around the exif-processing functionality of metadata-extractor.

Installation

The 2.7.0 branch of metadata-extractor is required, as it fixes a bug in processing streams. To install it:

$ git clone https://code.google.com/p/metadata-extractor/
$ cd metadata-extractor
$ mvn install

If you find that the build process from mvn install is failing because some of the tests are not passing, try this instead:

$ mvn -Dmaven.test.skip=true install

Usage

user> (use 'exif-processor.core)
user> (exif-for-url "http://farm8.staticflickr.com/7320/8747460606_96250e211e_b.jpg")
{"Image Width" "800 pixels", "Number of Components" "3", "Data
Precision" "8 bits", "Image Height" "1000 pixels", "Component 1" "Y
component: Quantization table 0, Sampling factors 1 horiz/1 vert",
"Component 2" "Cb component: Quantization table 1, Sampling factors 1
horiz/1 vert", "Component 3" "Cr component: Quantization table 1,
Sampling factors 1 horiz/1 vert", "Y Resolution" "72 dots", "X
Resolution" "72 dots", "Compression Type" "Baseline", "Version" "1.1",
"Resolution Units" "inch"}

License

Copyright © 2013 Joshua Miller

Distributed under the MIT License

About

Exif processing for Clojure

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors