mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-04 11:53:32 +03:00
Clean up
This commit is contained in:
parent
5ebe01fd2d
commit
409ada8505
|
@ -9,7 +9,7 @@ use PIL.
|
||||||
However, if you cannot get the this to work on your platform, you
|
However, if you cannot get the this to work on your platform, you
|
||||||
can do it in the old way:
|
can do it in the old way:
|
||||||
|
|
||||||
* Adding Tkinter support
|
Adding Tkinter support
|
||||||
|
|
||||||
1. Compile Python's _tkinter.c with the WITH_APPINIT and WITH_PIL
|
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
|
flags set, and link it with tkImaging.c and tkappinit.c. To
|
||||||
|
@ -74,7 +74,7 @@ drivers take care of the rest.
|
||||||
patch! It only applies to Tk 4.2, Tk 8.0a[12] and Tk 8.0b2.
|
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;
|
imagePtr->bits_per_pixel = depth;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user