This issue has been fixed in pygame 1.9.3+

>>> import pygame
>>> import numpy
>>> a = numpy.zeros((10,20,3), numpy.uint8)
>>> pygame.surfarray.make_surface(a)
<Surface(10x20x32 SW)>
>>> pygame.version.ver

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

  pygame.surfarray.make_surface(numpyarray) gives IndexError

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to