First time here? Check out the FAQ!
answered 2015-04-17 08:36:50 -0600
Just
data.setTo(1, data==255);