diff options
Diffstat (limited to 'Doc/library/tkinter.rst')
-rw-r--r-- | Doc/library/tkinter.rst | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Doc/library/tkinter.rst b/Doc/library/tkinter.rst index f51add2..d6e33eb 100644 --- a/Doc/library/tkinter.rst +++ b/Doc/library/tkinter.rst @@ -783,12 +783,13 @@ Menu indexes (menu.invoke(), menu.entryconfig(), etc.) Images ^^^^^^ -Bitmap/Pixelmap images can be created through the subclasses of -:class:`tkinter.Image`: +Images of different formats can be created through the corresponding subclass +of :class:`tkinter.Image`: -* :class:`BitmapImage` can be used for X11 bitmap data. +* :class:`BitmapImage` for images in XBM format. -* :class:`PhotoImage` can be used for GIF and PPM/PGM color bitmaps. +* :class:`PhotoImage` for images in PGM, PPM, GIF and PNG formats. The latter + is supported starting with Tk 8.6. Either type of image is created through either the ``file`` or the ``data`` option (other options are available as well). |