Hello
Apologies for the incorrect posting before.
The problem was that I was not using an array for the true condition and
instead was using a scalar.
Frank
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://mail.scipy.
Hello
I have a numpy array that I obtained from a converted RGBA gif image. I have
tried to replace some colours with different ones using the where condition
but have a problem with dimensions.
If I use b=where(a==0,255,a) where a is a numpy array from an image it does
replace components of the