module Depix

Constants

COLORIMETRIC
COMPONENT_TYPE
CompactFilmInfo
CompactInfo
CompactOrientation
CompactTelevision
VERSION

Public Class Methods

from_file(path, compact = false) click to toggle source

Return a DPX object describing a file at path. The second argument specifies whether you need a compact or a full description

# File lib/depix.rb, line 26
def self.from_file(path, compact = false)
  Reader.new.from_file(path, compact)
end
from_string(string, compact = false) click to toggle source

Return a DPX object describing headers embedded at the start of the string. The second argument specifies whether you need a compact or a full description

# File lib/depix.rb, line 32
def self.from_string(string, compact = false)
  Reader.new.parse(string, compact)
end