[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Surfarray Question



ah.   Well in that case try?
http://www.pygame.org/docs/ref/surface.html#Surface.map_rgb




On Fri, Feb 13, 2009 at 4:38 PM, Ian Mallett <geometrian@xxxxxxxxx> wrote:
> I see.
>
> The source image is loaded from a greyscale heightmap image.  It would be
> nice to be able to get the heightmap values individually (the intensity as
> expressed 0-255).  I think I'd be looking for a pygame.surfarray.redarray()
> or something...
>
> Ian
>