Thanks for all this, Paul.

Paul McNett wrote:
> Interesting that Mac can seemingly handle any depth from 2 to 32, with 
> all output pixels matching all input pixels. I don't understand how that 
> could be, unless the bitmap is automatically created with maximum depth 
> regardless of the depth argument...

I'm pretty sure that's it. wx wraps the native bitmap, which I think 
matches the display depth, which I think is always 32 bit on the mac.

> One thing I'm noticing on Mac is that wx.GetDisplayDepth() 
> returns None.

Did you try creating a wx.Bitmap, and calling Bitmap.GetDepth()

I suspect you'll always get 24 or 32.


thanks,

-Chris




-- 
Christopher Barker, Ph.D.
Oceanographer

NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception
_______________________________________________
FloatCanvas mailing list
[email protected]
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to