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

New Post: Image Comparison

$
0
0
You can do this with the compare method:
using (MagickImage bagFrame1 = new MagickImage("bag_frame1.gif"))
{
  MagickImage compare = new MagickImage();
  MagickImage bagFrame2 = new MagickImage("bag_frame2.gif");
  bagFrame1.Compare(bagFrame2, Metric.Undefined, compare);
  compare.Write("compare.gif");
}
I am not sure if Metric.Undefined works, you might have to experiment a bit with the different Metric values.

Viewing all articles
Browse latest Browse all 3693

Trending Articles