Sha256: 4cbd347cff3d9840312cf24c2c3ecc95f06d4177a37a41f1b2dc968def6f9bbe

Contents?: true

Size: 471 Bytes

Versions: 16

Compression:

Stored size: 471 Bytes

Contents

class PSD
  # Parent class for all of the extra layer info.
  class LayerInfo
    attr_reader :data

    # The value of the key as used in the PSD format.
    class << self; attr_accessor :key; end
    @key = ""

    def initialize(file, length)
      @file = file
      @length = length
      @section_end = @file.tell + @length
      @data = {}
    end

    # Override this - default seeks to end of section
    def parse
      @file.seek @section_end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
psd-1.3.3 lib/psd/layer_info.rb
psd-1.3.2 lib/psd/layer_info.rb
psd-1.3.0 lib/psd/layer_info.rb
psd-1.2.2 lib/psd/layer_info.rb
psd-1.2.1 lib/psd/layer_info.rb
psd-1.2.0 lib/psd/layer_info.rb
psd-1.1.1 lib/psd/layer_info.rb
psd-1.1.0 lib/psd/layer_info.rb
psd-1.0.0 lib/psd/layer_info.rb
psd-0.4.2 lib/psd/layer_info.rb
psd-0.4.1 lib/psd/layer_info.rb
psd-0.4.0 lib/psd/layer_info.rb
psd-0.3.5 lib/psd/layer_info.rb
psd-0.3.4 lib/psd/layer_info.rb
psd-0.3.3 lib/psd/layer_info.rb
psd-0.3.2 lib/psd/layer_info.rb