PIL ImageWin.Dib.draw help

I

Ilariu Raducan

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top