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

[pygame] Peculiarities of pygame.surfarray.blit_array



Hi,

I've been looking at bug 24 at http://pygame.motherhamster.org/bugzilla regarding blit_array and I found something unusual. When blitting to a 32 bit SRCALPHA surface the alpha is set 0. This contradicts the convention of a default alpha of 255. So what do I do? I can leave it that way for both Numeric and NumPy arrays, change it for NumPy only or change it for both array types. I'm inclined to change it for NumPy only. Is there any reason alpha should be zero?

Lenard

--
Lenard Lindstrom
<len-l@xxxxxxxxx>