以下代码在单击negativeButton按,图像实现反色效果,那么--(1)--部分的代码该填哪
A.
data[i] = data[i] - 255; data[i+1] = data[i+1] - 255; data[i+2] = data[i+2] - 255;
B.
data[i] = 255 - data[i] data[i+1] = 255 - data[i+1]; data[i+2] = 255 - data[i+2];
C.
data[i] = 255 - data[i+1] data[i+1] = 255 - data[i+2]; data[i+2] = 255 - data[i];
D.
data[i] = data[i+1] - 255; data[i+1] = data[i+2] - 255; data[i+2] = data[i] - 255;