tiles = numpy.zeros((header["width"], header["height"]), dtype =
[("0","http://f.web.de/?mc=021192
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
Hello!
I have a problem with a structured numpy array.
I create is like this:
tiles = numpy.zeros((header["width"], header["height"],3), dtype = numpy.uint8)
and later on, assignments such as this:
tiles[x, y,0] = 3
Now uint8 is not sufficient anymore, but only for the first of the 3 values.
uin