module FormatParser::EXIFParser

Constants

ORIENTATIONS

Public Instance Methods

exif_from_tiff_io(constrained_io) click to toggle source
# File lib/parsers/exif_parser.rb, line 170
def exif_from_tiff_io(constrained_io)
  Measurometer.instrument('format_parser.EXIFParser.exif_from_tiff_io') do
    raw_exif_data = EXIFR::TIFF.new(IOExt.new(constrained_io))
    raw_exif_data ? EXIFResult.new(raw_exif_data) : nil
  end
end