From: 12 34 Date: 2007-06-22T07:05:21+09:00 Subject: Re: All in MiniExifTool 12 34 wrote: > Jan Friedrich wrote: >> 12 34 schrieb: >>> I wanted to list all the EXIF data for a photo. Is there a method for >>> that? Equivalent to ExifTool: >>> >>> exiftool -h filepath >>> >>> Thanks >> require 'mini_exiftool' >> >> photo = MiniExiftool.new 'file.jpg' >> >> photo.tags.sort.each do |tag| >> puts tag + ': ' + photo[tag] >> end >> >> Jan > Forgot to add that this method is better than the exiftool -h, because it gives the literal method name. I was having trouble guessing at some of them. For example to get "Camera Model Name" is "photo.model." -- Posted via http://www.ruby-forum.com/.