[3.7] bpo-33283: Mention PNG as a supported format by Tcl/Tk. (GH-6479) by miss-islington · Pull Request #6498 · python/cpython

Expand Up @@ -3533,7 +3533,7 @@ def width(self): self.tk.call('image', 'width', self.name))
class PhotoImage(Image): """Widget which can display colored images in GIF, PPM/PGM format.""" """Widget which can display images in PGM, PPM, GIF, PNG format.""" def __init__(self, name=None, cnf={}, master=None, **kw): """Create an image with NAME.
Expand Down Expand Up @@ -3597,7 +3597,7 @@ def write(self, filename, format=None, from_coords=None): self.tk.call(args)
class BitmapImage(Image): """Widget which can display a bitmap.""" """Widget which can display images in XBM format.""" def __init__(self, name=None, cnf={}, master=None, **kw): """Create a bitmap with NAME.
Expand Down