module ChunkyPNG::Canvas::PNGEncoding

def save(filename, constraints = {})

Returns:
  • (void) -

Parameters:
  • constraints () --
  • filename (String) -- The file to save the PNG image to.
def save(filename, constraints = {})
  File.open(filename, 'wb') { |io| write(io, constraints) }
end