Robin Dunn wrote:
wxBitmap is always the same depth as the display since it will normally
be used for displaying an image on the screen. There has been some work
in 2.5 to allow other bit-depths and such, but in 2.4 you are stuck as
far as wxWindows goes. If PIL can't do it then there are probably some
3rd-party modules somewhere that can deal with your image format.
After some thought, I pretty much came to that conclusion already about wxBitmap
always working at display depth. I'm interested in those developments for 2.5!
I may already have a solution to my problem, though:
It turns out that someone recently authored read support for CCITT G4 TIFF's
in PIL. After the (painful?) process of reconfiguring/rebuilding PIL, I should
be able to load my images there, then convert them to wxImage and be off and
running! Failing that, I'll try to mess with a (non-free) ActiveX component
I've found, using wxPython.lib.activexwrapper and win32com.
Thanks for the input, though:)
ยทยทยท
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/