ExifStripper

Dependency-free utilities for working with EXIF and related metadata.

Currently provides:

Installation

The package can be installed by adding exif_stripper to your list of dependencies in mix.exs:

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

Usage

Strip GPS metadata in-place:

ExifStripper.GpsStripper.strip_gps_data("/tmp/in.jpg", "/tmp/in.jpg")

Read a description:

ExifStripper.Description.read_file("/tmp/image.jpg", max_length: 500)

Tests

The test suite uses exiftool as an oracle, so exiftool must be available in PATH.