Module: ZPNG::ScanLine::Mixins::NotFirstLine

Defined in:
lib/zpng/scan_line/mixins.rb

Instance Method Summary collapse

Instance Method Details

#prev_scanline_byte(x) ⇒ Object



16
17
18
# File 'lib/zpng/scan_line/mixins.rb', line 16

def prev_scanline_byte x
  image.scanlines[@idx-1].decoded_bytes.getbyte(x)
end