PIL ImageWin.Dib.draw help

Ilariu Raducan lale at fotonation.com
Wed Jun 25 13:24:35 CEST 2003


Hi All,

Does anybody has experience working with ImageWin.Dib.draw?
I tried to use it to draw in a window in the rectangle return from
GetClipBox().
I use the same rectangle for source and destination and the result is a
bit strange: a different region from the one expected is displayed.
I have looked at the PIL source code. The windows API function used
there in StretchBlt. Should that be StretchDIBits?

Regards,
Lale





More information about the Python-list mailing list