Class: Sicily::Util::ExifUtil

Inherits:
Object
  • Object
show all
Defined in:
lib/sicily/util/exif_util.rb

Class Method Summary collapse

Class Method Details

.extract_time_from_jpeg(path) ⇒ Object



8
9
10
# File 'lib/sicily/util/exif_util.rb', line 8

def self.extract_time_from_jpeg(path)
  EXIFR::JPEG.new(path).date_time
end