Date properties
The properties :date_time, :date_time_original,
:date_time_digitized coerced into Time objects.
The property :orientation describes the subject rotated and/or
mirrored in relation to the camera. It is translated to one of the
following instances:
- TopLeftOrientation
- TopRightOrientation
- BottomRightOrientation
- BottomLeftOrientation
- LeftTopOrientation
- RightTopOrientation
- RightBottomOrientation
- LeftBottomOrientation
These instances of Orientation have two
methods:
- to_i; return the original integer
- transform_rmagick(image); transforms the given RMagick::Image to a
viewable version
Examples
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 # => Rational(1, 100)
EXIFR::TIFF.new('DSC_0218.TIF').orientation # => EXIFR::TIFF::Orientation