janfri / mini_exiftool

This library is a wrapper for the Exiftool command-line application (https://exiftool.org) written by Phil Harvey. It provides the full power of Exiftool to Ruby: reading and writing of EXIF-data, IPTC-data and XMP-data. Branch master is for actual development and branch compatibility-version is for compatibility with Ruby 1.8 and exiftool versions prior 7.65.
GNU Lesser General Public License v2.1
213 stars 52 forks source link

from_hash applies type conversion to values #4

Closed ethansr closed 12 years ago

ethansr commented 12 years ago

The from_hash method accepted hashes without providing any of the useful type conversions that MiniExiftool performs when it loads files.

I'm testing a set of tools that work on exif data from big sequences of files, so it'd be nice to be able to use canned json to build MiniExiftool instances.