Module: PNG::Decode::ClassMethods

Defined in:
lib/png-encode/decode.rb

Instance Method Summary collapse

Instance Method Details

#decode(infile, outfile) ⇒ Object



9
10
11
# File 'lib/png-encode/decode.rb', line 9

def decode(infile, outfile)
  self.new(ChunkyPNG::Image.from_file(infile)).decode(outfile)
end