Home

Awesome

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

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>>)