Skip to content
No description or website provided.
Elixir
Latest commit d6d3de5 Feb 14, 2016 @sschneider1207 Merge pull request #1 from ckruse/master
fix: typo, use correct variable name in nil check
Failed to load latest commit information.
config work done Jan 2, 2016
lib fix: typo, use correct variable name in nil check Feb 13, 2016
test work done Jan 3, 2016
.gitignore work done Jan 3, 2016
LICENSE Initial commit Jan 2, 2016
README.md updated readme Jan 2, 2016
mix.exs fixed some fields getting overwritten Jan 2, 2016

README.md

Library to parse out exif tags and thumbnail data from jpeg/tiff images.

The only other existing exif parser I found for Elixir (ExExif) is currently dead and non-functional as of time of writing, so I wrote this based on it.

Installation

If available in Hex, the package can be installed as:

  1. Add elixir_exif to your list of dependencies in mix.exs:

    def deps do
      [{:elixir_exif, "~> 0.1.0"}]
    end
    

Usage

    {:ok, fields, thumbnail} = ElixirExif.parse_file("path/to/image.jpg")

    {:ok, fields, thumbnail} = ElixirExif.parse_binary(<<image binary>>)

Benchmarks

    ## ExifBench
    parse bin        50000   336.88 µs/op
    parse file       20000   499.25 µs/op
Something went wrong with that request. Please try again.