~rwv/cljs-exif-reader

Extract information from TIFF and JPEG images
Automate run testing with babashka
cljs-exif-reader: Add script for running tests on babashka

refs

master
browse  log 
release-0.7.0
release notes 

clone

read-only
https://git.sr.ht/~rwv/cljs-exif-reader
read/write
git@git.sr.ht:~rwv/cljs-exif-reader

You can also use your local clone with git send-email.

#cljs-exif-reader

Extract information from TIFF and JPEG images.

#Usage

Add a dependency to your project:

[remworks/cljs-exif-reader "0.7.0"]

See dev/cljs/user.cljs and resources/dev.html for an example of dealing with a file <input> element.

This library also supports CLJ:

(require 'remworks.exif-reader)
(-> "resources/test/exif.jpg"
    java.io.File.
    remworks.exif-reader/from-jpeg
    :model)
;; => "Canon PowerShot G3"

Also extracts some JPEG information:

(-> "resources/test/comment.jpg"
    java.io.File.
    remworks.exif-reader/from-jpeg
    :jpeg)
;; => {:width 100, :height 75, :bits 8, :comments ["Here's a comment!"]}

#Contribute

Send bug reports and patches to ~rwv/public-inbox@lists.sr.ht.

#License

Copyright (c) Remco van 't Veer. All rights reserved.

The use and distribution terms for this software are covered by the Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) which can be found in the file epl-v10.html at the root of this distribution. By using this software in any fashion, you are agreeing to be bound by the terms of this license. You must not remove this notice, or any other, from this software.