Last active
December 23, 2015 17:59
-
-
Save campanalbero/6672923 to your computer and use it in GitHub Desktop.
DSC_2315.JPG の EXIF の時刻を表示date_time_original を date_timeとすると、 EXIF でなくファイルのタイムスタンプになるようだ。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'exifr' | |
puts EXIFR::JPEG::new('DSC_2315.JPG').date_time_original |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment