public
Description: EXIF Reader
Homepage: http://exifr.rubyforge.org/
Clone URL: git://github.com/remvee/exifr.git
exifr /
name age message
file .gitignore Sun Aug 03 01:37:15 -0700 2008 ignore generated doc/api dir [remvee]
file CHANGELOG Tue Nov 10 12:28:15 -0800 2009 release version 0.10.9 [remvee]
file MIT-LICENSE Tue Sep 22 21:15:06 -0700 2009 add license file [remvee]
file README.rdoc Loading commit data...
file Rakefile Sat Feb 21 13:23:27 -0800 2009 release 0.10.8 [remvee]
directory bin/
directory doc/
file exifr.gemspec
directory lib/ Tue Nov 10 12:15:39 -0800 2009 GH issue #2 "Nil pointer in tiff.rb" Handle ba... [remvee]
directory tests/ Tue Nov 10 12:15:39 -0800 2009 GH issue #2 "Nil pointer in tiff.rb" Handle ba... [remvee]
README.rdoc

EXIF Reader

EXIF Reader is a module to read metadata from JPEG and TIFF images.

Examples

  EXIFR::JPEG.new('IMG_6841.JPG').width               # => 2272
  EXIFR::JPEG.new('IMG_6841.JPG').height              # => 1704
  EXIFR::JPEG.new('IMG_6841.JPG').exif?               # => true
  EXIFR::JPEG.new('IMG_6841.JPG').model               # => "Canon PowerShot G3"
  EXIFR::JPEG.new('IMG_6841.JPG').date_time           # => Fri Feb 09 16:48:54 +0100 2007
  EXIFR::JPEG.new('IMG_6841.JPG').exposure_time.to_s  # => "1/15"
  EXIFR::JPEG.new('IMG_6841.JPG').f_number.to_f       # => 2.0

  EXIFR::TIFF.new('DSC_0218.TIF').width               # => 3008
  EXIFR::TIFF.new('DSC_0218.TIF')[1].width            # => 160
  EXIFR::TIFF.new('DSC_0218.TIF').model               # => "NIKON D1X"
  EXIFR::TIFF.new('DSC_0218.TIF').date_time           # => Tue May 23 19:15:32 +0200 2006
  EXIFR::TIFF.new('DSC_0218.TIF').exposure_time.to_s  # => "1/100"
  EXIFR::TIFF.new('DSC_0218.TIF').f_number.to_f       # => 5.0

Author

R.W. van ‘t Veer

Copyright

Copyright © 2006, 2007, 2008, 2009 - R.W. van ‘t Veer