PyDocs

Nav

Graphical user interfaces with Tk

PhotoImage.write

  • PhotoImage.write(filename, format=None, from_coords=None, *, background=None, grayscale=False)
Write image data from the image to the file named filename.
Changed in 3.13
  • 3.13: Added the background and grayscale parameters.
0 Examples
No examples for tkinter/PhotoImage.write.
See Also
No see-alsos for tkinter/PhotoImage.write
0 Notes
No notes for PhotoImage.write