Skip to content

soulspace-org/cmp.exif

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmp.exif

The cmp.exif is a library for reading EXIF tags on images. It is a Clojure wrapper for metadata-extractor. In contrast to exif-processor, cmp.exif returns the directories with the tags and does not filter the entries. Feel free to use clojure for filtering. ;-)

Copyright

© 2017-2023 Ludger Solbach

Usage

Dependency

Clojars Project

Example

(ns exif-example
  (:require [org.soulspace.cmp.exif :as exif]))
  
  (def image-file "example-photo.jpg") ; NOTE: use a path to your photo

  ;; parse the metadata into a map of maps of the shape {dir-name {tag-name tag-value}}
  (exif/parse-metadata (exif/read-metadata image-file))

  ;; just print the meta-data
  (exif/print-metadata image-file)

License

Eclipse Public License 1.0

Code Repository

cmp.exif on GitHub

About

The cmp.exif is a library for reading EXIF tags on images.

Resources

License

Stars

Watchers

Forks

Packages

No packages published