mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 10:16:17 +03:00
comments
This commit is contained in:
parent
a69c37738a
commit
a71ba1a1c6
|
@ -277,6 +277,8 @@ class BitmapImage(object):
|
|||
|
||||
|
||||
def getimage(photo):
|
||||
""" This function is unimplemented """
|
||||
|
||||
"""Copies the contents of a PhotoImage to a PIL image memory."""
|
||||
photo.tk.call("PyImagingPhotoGet", photo)
|
||||
|
||||
|
|
|
@ -24,10 +24,7 @@
|
|||
* This registers a Tcl command called "PyImagingPhoto", which is used
|
||||
* to communicate between PIL and Tk's PhotoImage handler.
|
||||
*
|
||||
* Compile and link tkImaging.c with tkappinit.c and _tkinter (see the
|
||||
* Setup file for details on how to use tkappinit.c). Note that
|
||||
* _tkinter.c must be compiled with WITH_APPINIT.
|
||||
*
|
||||
|
||||
* History:
|
||||
* 1995-09-12 fl Created
|
||||
* 1996-04-08 fl Ready for release
|
||||
|
@ -169,7 +166,7 @@ PyImagingPhotoPut(ClientData clientdata, Tcl_Interp* interp,
|
|||
return TCL_OK;
|
||||
}
|
||||
|
||||
|
||||
/* Warning -- this does not work at all */
|
||||
static int
|
||||
PyImagingPhotoGet(ClientData clientdata, Tcl_Interp* interp,
|
||||
int argc, const char **argv)
|
||||
|
|
Loading…
Reference in New Issue
Block a user