Object
EXIFR::JPEG.new('IMG_3422.JPG').width # -> 2272 EXIFR::JPEG.new('IMG_3422.JPG').exif.model # -> "Canon PowerShot G3"
Returns true when EXIF data is available.
# File lib/exifr/jpeg.rb, line 39 def exif? !exif.nil? end
Dispatch to EXIF. When no EXIF data is available but the method does exist for EXIF data nil will be returned.
# File lib/exifr/jpeg.rb, line 57 def method_missing(method, *args) super unless args.empty? super unless methods.include?(method.to_s) @exif.send method if defined?(@exif) && @exif end
Generated with the Darkfish Rdoc Generator 2.
comment; a string if one comment found, an array if more, otherwise nil