Grx.Context.save_to_png

@accepts(Grx.Context, filename)
@returns(bool)
def save_to_png(self, filename):
    # Python wrapper for grx_context_save_to_png()
  

Dump a context in a PNG file

This routine works both in RGB and palette modes

self

Context to be saved or None to use the global context

filename

Name of png file

Returns