parameters: (self, filename, format=None, from_coords=None)
docstring: Write image to file FILENAME in FORMAT starting from
          position FROM_COORDS.
docstring_summary: Write image to file FILENAME in FORMAT starting from
          position FROM_COORDS.
docstring_tokens: Write image to file FILENAME in FORMAT starting from position FROM_COORDS .
function: def write(self, filename, format=None, from_coords=None):
          """Write image to file FILENAME in FORMAT starting from
          position FROM_COORDS."""
          args = (self.name, 'write', filename)
          if format:
              args = args + ('-format', format)
          if from_coords:
              args = args + ('-from',) + tuple(from_coords)
          self.tk.call(args)
function_tokens: def write ( self , filename , format = None , from_coords = None ) : args = ( self . name , 'write' , filename ) if format : args = args + ( '-format' , format ) if from_coords : args = args + ( '-from' , ) + tuple ( from_coords ) self . tk . call ( args )