Sha256: 96ad50f686d53e60302b60f90e00b8e2fa67dc51d673805ba15750d8e1a5b96c

Contents?: true

Size: 626 Bytes

Versions: 1

Compression:

Stored size: 626 Bytes

Contents

module XMP
  require 'xmp/convenience'
  require 'xmp/document'
  require 'xmp/error'
  require 'xmp/handler'
  require 'xmp/handler/exifr_jpeg'
  require 'xmp/handler/exifr_tiff'
  require 'xmp/handler/file'
  require 'xmp/handler/xml'
  require 'xmp/namespace'
  require 'xmp/version'

  extend Handler
  self.handlers = [
    Handler::File.new('.jpg', '.jpeg') { |file| EXIFR::JPEG.new(file) },
    Handler::File.new('.tif', '.tiff') { |file| EXIFR::TIFF.new(file) },
    Handler::File.new('.xmp', '.xml')  { |file| Nokogiri::XML(file) },
    Handler::ExifrJPEG.new,
    Handler::ExifrTIFF.new,
    Handler::XML.new
  ]
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xmp-2.0.0 lib/xmp.rb