Sha256: 5218cf9089a8465682d0185c40e3d8374849d51488c4d6563477e9517bcfc7db

Contents?: true

Size: 262 Bytes

Versions: 7

Compression:

Stored size: 262 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

7 entries across 7 versions & 1 rubygems

Version Path
psd-1.5.0 lib/psd/image_formats/raw.rb
psd-1.4.5 lib/psd/image_formats/raw.rb
psd-1.4.4 lib/psd/image_formats/raw.rb
psd-1.4.3 lib/psd/image_formats/raw.rb
psd-1.4.2 lib/psd/image_formats/raw.rb
psd-1.4.1 lib/psd/image_formats/raw.rb
psd-1.4.0 lib/psd/image_formats/raw.rb