Your command would translate to this:
I don't understand the extra 'Src' in your command it gives me a command line error.
using (MagickImage image1 = new MagickImage(@"D:\test\image1.png")) { using (MagickImage image2 = new MagickImage(@"D:\test\image2.png")) { image1.Composite(image2, CompositeOperator.Difference); // this is now diff.png image1.Alpha(AlphaOption.Copy); image1.Write("@D:\test\result.png"); } }