Sha256: 0dca56dc6fa92016f74069884616fad2ac682cc365a9f66a69a29fda96e70ef0

Contents?: true

Size: 542 Bytes

Versions: 18

Compression:

Stored size: 542 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 RLE channel ##{@ch_info[:id]}: file position = #{@file.tell}, image position = #{@chan_pos}, line = #{@line_index}"
        decode_rle_channel
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
bench9000-0.1 vendor/psd.rb/lib/psd/image_formats/layer_rle.rb
psd-3.3.3 lib/psd/image_formats/layer_rle.rb
psd-3.3.2 lib/psd/image_formats/layer_rle.rb
psd-3.3.1 lib/psd/image_formats/layer_rle.rb
psd-3.2.4 lib/psd/image_formats/layer_rle.rb
psd-3.2.3 lib/psd/image_formats/layer_rle.rb
psd-3.2.2 lib/psd/image_formats/layer_rle.rb
psd-3.2.1 lib/psd/image_formats/layer_rle.rb
psd-3.2.0 lib/psd/image_formats/layer_rle.rb
psd-3.1.5 lib/psd/image_formats/layer_rle.rb
psd-3.1.4 lib/psd/image_formats/layer_rle.rb
psd-3.1.3 lib/psd/image_formats/layer_rle.rb
psd-3.1.2 lib/psd/image_formats/layer_rle.rb
psd-2.1.2 lib/psd/image_formats/layer_rle.rb
psd-2.1.1 lib/psd/image_formats/layer_rle.rb
psd-2.1.0 lib/psd/image_formats/layer_rle.rb
psd-2.0.0 lib/psd/image_formats/layer_rle.rb
psd-1.5.0 lib/psd/image_formats/layer_rle.rb