recent changes
Russell Nelson
nelson at crynwr.com
Sat Jan 29 08:28:22 CET 2005
Jonathan Coles writes:
> i just recoded how the mask is packed into the bit array. my motivation
> was to make it a little faster, but it might have the side affect that
> it fixes the bug you are referring to. i haven't been able to find the
> conditions under which the mask isn't right on my machine, though.
The data being used to create the mask seems to be correct. I printed
it out and it appears to be correct. data[0] and data[1] are correct.
image.SetData(data[2][0])
if data[2][1] is not None:
for b in data[2][1]:
print hex(ord(b)),
mask = wxBitmapFromBits(data[2][1], data[0], data[1], 1)
It really looks like wxBitmapFromBits(), or wxMask() are doing the
wrong thing on my machine, but work fine on yours.
--
--My blog is at angry-economist.russnelson.com | Don't like poverty?
Crynwr sells support for free software | PGPok |
521 Pleasant Valley Rd. | +1 315-323-1241 cell | Try economic freedom!
Potsdam, NY 13676-3213 | +1 212-202-2318 VOIP |
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)