Sha256: 71aa4f8939bdaf3bb7d3330cf37b2e3edd68c61d864a6db211f93e776dd7d047

Contents?: true

Size: 263 Bytes

Versions: 8

Compression:

Stored size: 263 Bytes

Contents

class PSD
  module ImageFormat
    # Parses a RAW uncompressed image
    module RAW
      private

      def parse_raw!(length = @length)
        @length.times do |i|
          @channel_data[i] = @file.read(1).bytes.to_a[0]
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
psd-1.3.3 lib/psd/image_formats/raw.rb
psd-1.3.2 lib/psd/image_formats/raw.rb
psd-1.3.0 lib/psd/image_formats/raw.rb
psd-1.2.2 lib/psd/image_formats/raw.rb
psd-1.2.1 lib/psd/image_formats/raw.rb
psd-1.2.0 lib/psd/image_formats/raw.rb
psd-1.1.1 lib/psd/image_formats/raw.rb
psd-1.1.0 lib/psd/image_formats/raw.rb