PythonWin, PIL, hDIB

Alex Rodioukov simuran at shaw.ca
Fri Nov 23 05:29:55 EST 2001


Hello,

I would like to know if it is possible to create a DIB (device
independent bitmap) handle using PIL's ImageWin module and
PythonWin. My problem is that I have no clue on how to get from DC
(device context) handle to DIB handle. Also, my knowledge of MFC is
next to nothing, so the snippet of code doing above mentioned magic
would be extremely appreciated :)

Also, is there a decent TIFF plug-in for PIL on win32 that will
understand G3/G4 TIFFs?

TIA, A.R.

-- 
Complex problems have simple, easy to understand wrong answers.



More information about the Python-list mailing list