class FormatParser::DPXParser::DPX

This is the main structure represinting headers of one DPX file

Public Class Methods

read_and_unpack(io) click to toggle source
# File lib/parsers/dpx_parser/dpx_structs.rb, line 218
def self.read_and_unpack(io)
  super.tap do |h|
    num_elems = h[:image][:number_elements]
    num_elems.upto(8) do |n|
      h[:image].delete("image_elements_#{n}")
    end
  end
end