public static OutputPixel operator &(OutputPixel c1, OutputPixel c2) { return new OutputPixel() { R = (byte)(c1.R & c2.R), G = (byte)(c1.G & c2.G), B = (byte)(c1.B & c2.B), A = (byte)(c1.A & c2.A), }; }