Sha256: a1eee374e6bad68d1e78d41d58e4e19f933da3c364a117e00ac3f0fcb71899f9

Contents?: true

Size: 488 Bytes

Versions: 12

Compression:

Stored size: 488 Bytes

Contents

class PSD
  module ImageFormat
    # Some method overrides for layer images.
    module LayerRLE
      private

      def parse_byte_counts!
        byte_counts = []
        height.times do
          byte_counts << @file.read_short
        end

        return byte_counts
      end

      def parse_channel_data!
        @line_index = 0

        PSD.logger.debug "Parsing layer RLE channel ##{@ch_info[:id]}: position = #{@chan_pos}"
        decode_rle_channel
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
psd-1.4.5 lib/psd/image_formats/layer_rle.rb
psd-1.4.4 lib/psd/image_formats/layer_rle.rb
psd-1.4.3 lib/psd/image_formats/layer_rle.rb
psd-1.4.2 lib/psd/image_formats/layer_rle.rb
psd-1.4.1 lib/psd/image_formats/layer_rle.rb
psd-1.4.0 lib/psd/image_formats/layer_rle.rb
psd-1.3.3 lib/psd/image_formats/layer_rle.rb
psd-1.3.2 lib/psd/image_formats/layer_rle.rb
psd-1.3.0 lib/psd/image_formats/layer_rle.rb
psd-1.2.2 lib/psd/image_formats/layer_rle.rb
psd-1.2.1 lib/psd/image_formats/layer_rle.rb
psd-1.2.0 lib/psd/image_formats/layer_rle.rb