parameters: (self)
docstring: numpy uint8.
docstring_summary: numpy uint8.
docstring_tokens: numpy uint8 .
function: def testNumpyuint8(self):
          """numpy uint8."""
  
          try:
              import numpy
          except ImportError:
              print >>sys.stderr, "skipping numpy test"
              return
  
          rows = [map(numpy.uint8, range(0,0x100,0x55))]
          b = topngbytes('numpyuint8.png', rows, 4, 1,
              greyscale=True, alpha=False, bitdepth=8)
function_tokens: def testNumpyuint8 ( self ) : try : import numpy except ImportError : print >> sys . stderr , "skipping numpy test" return rows = [ map ( numpy . uint8 , range ( 0 , 0x100 , 0x55 ) ) ] b = topngbytes ( 'numpyuint8.png' , rows , 4 , 1 , greyscale = True , alpha = False , bitdepth = 8 )