> Ahh, I believe I fixed that > inhttp://code.astraw.com/projects/motmot/changeset/501. Anyhow I have > made a new release with this change available > athttp://pypi.python.org/pypi/pygarrayimage. > > I believe this works with transposed C arrays (that was my test case) -- > please let me know if it doesn't work.
The relevant line in the change-set is: arr = numpy.array( arr, copy=True ) I think (?) copies of this sort used to, as a side-effect, force C- contiguous arrays in an older (beta?) version of numpy. Now, however, you need: arr = numpy.array( arr, copy=True, order='C') At least, this is the case for me, using numpy 1.0.5 from SVN, and I seem to recall that change being there earlier... Zach --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
