A long-lived project that still receives updates
Get exif data, file sizes and more.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

CircleCI Test Coverage Maintainability Gem Version

Assembly-ObjectFile Gem

Overview

This gem contains classes used by the Stanford University Digital Library to perform file operations necessary for accessioning of content. It is also used by related gems that perform content type specific operations (e.g. assembly-image for jp2 generation).

Usage

The gem currently has methods for:

  • filesize
  • mimetype
  • exif - consumers use ExifTool to get file information

Running tests

bundle exec spec

Releasing the gem

rake release

Prerequisites

  1. Exiftool

    RHEL: (RPM to install coming soon) Download latest version from: https://exiftool.org/

    tar -xf Image-ExifTool-#.##.tar.gz
    cd Image-ExifTool-#.##
    perl Makefile.PL
    make test
    sudo make install
    

    Mac users: brew install exiftool