Library to parse out exif tags and thumbnail data from jpeg/tiff images.
If available in Hex, the package can be installed as:
- Add elixir_exif to your list of dependencies in
mix.exs
:
def deps do
[{:elixir_exif, "~> 0.1.0"}]
end
{:ok, fields, thumbnail} = ElixirExif.parse_file("path/to/image.jpg")
{:ok, fields, thumbnail} = ElixirExif.parse_binary(<<image binary>>)