mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Update
This commit is contained in:
parent
4b2bc94b19
commit
0cbf318004
|
@ -10,6 +10,7 @@ However, if you cannot get the this to work on your platform, you
|
|||
can do it in the old way:
|
||||
|
||||
Adding Tkinter support
|
||||
----------------------
|
||||
|
||||
1. Compile Python's _tkinter.c with the WITH_APPINIT and WITH_PIL
|
||||
flags set, and link it with tkImaging.c and tkappinit.c. To
|
||||
|
@ -74,7 +75,7 @@ drivers take care of the rest.
|
|||
If you have Tk 4.1 or Tk 8.0b1, you don't have to apply this
|
||||
patch! It only applies to Tk 4.2, Tk 8.0a[12] and Tk 8.0b2.
|
||||
|
||||
In win/tkWinImage.c, change the following line in XCreateImage::
|
||||
In ``win/tkWinImage.c``, change the following line in ``XCreateImage``::
|
||||
|
||||
imagePtr->bits_per_pixel = depth;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user