Permalink
Browse files

added --dump-thumbnail to exifr commandline tool

  • Loading branch information...
1 parent e44b89d commit e90b363aaf3c2d727f9b12e7a1edce1306999843 @remvee committed Apr 25, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 bin/exifr
View
@@ -42,6 +42,10 @@ elsif ARGV[0] == "--dump-exif"
ARGV[1..-1].each do |fname|
STDOUT.write JPEG.new(fname).exif_data
end
+elsif ARGV[0] == "--dump-thumbnail"
+ ARGV[1..-1].each do |fname|
+ STDOUT.write JPEG.new(fname).thumbnail
+ end
else
ARGV.each do |fname|
case fname

0 comments on commit e90b363

Please sign in to comment.