Sha256: fcb3468b7e6ba411840b76c4161cb925e8d4713f06666ba030e627c34e1de8b5

Contents?: true

Size: 266 Bytes

Versions: 8

Compression:

Stored size: 266 Bytes

Contents

class PSD::Image
  module Format
    # Parses a RAW uncompressed image
    module RAW
      private

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
psd-1.0.0 lib/psd/image_formats/raw.rb
psd-0.4.2 lib/psd/image_formats/raw.rb
psd-0.4.1 lib/psd/image_formats/raw.rb
psd-0.4.0 lib/psd/image_formats/raw.rb
psd-0.3.5 lib/psd/image_formats/raw.rb
psd-0.3.4 lib/psd/image_formats/raw.rb
psd-0.3.3 lib/psd/image_formats/raw.rb
psd-0.3.2 lib/psd/image_formats/raw.rb