Created
September 12, 2017 06:03
-
-
Save miklblitz/5db3cc2cb8a43def4afffc82e0920f54 to your computer and use it in GitHub Desktop.
package search copyright information into pictures
This file contains hidden or 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 'exifr/jpeg' | |
files = Dir['*.jpg', '*.jpeg'] | |
files.each do |f| | |
im = EXIFR::JPEG.new(f) | |
p im.copyright if im.copyright | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment