make sure pixels are treated as unsigned variables