Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: Get Only Diff

$
0
0
Your command would translate to this:
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");
  }
}
I don't understand the extra 'Src' in your command it gives me a command line error.

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>