[python-win32] PythonWin, PIL, hDIB

Mark Hammond MarkH@ActiveState.com
Tue, 4 Dec 2001 09:11:22 +1100


You could look at the Pythonwin pywin\demo\dibdemo.py file - not exactly
what you are after, but may be a good start.

Mark.

> 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.
>
> P.S.: I've already posted this question to c.l.p and Image-SIG but
> received no response so far :( Hope it is appropriate to repost it
> here.
>
> --
> Complex problems have simple, easy to understand wrong answers.
>
>
> _______________________________________________
> Python-win32 mailing list
> Python-win32@python.org
> http://mail.python.org/mailman/listinfo/python-win32
>