Page 1 of 1

Show Difference in Flickering

Posted: 2017-03-21T21:45:24-07:00
by kmg
How to show/dsiplay the difference of two images in flickering (GIF) using Imagemagick in .NET? Kindly help me out.

Re: Show Difference in Flickering

Posted: 2017-03-21T23:27:42-07:00
by fmw42
If you take the difference of two image, you only have one image. What exactly do you mean the flickering the difference. Do you mean flickering the two images to see the changes.

What is your IM version and platform.

In command line you would do:

Code: Select all

convert -delay 50 image1 image2 -loop 0 animation.gif
Then just view the animation in any browser.

Sorry I do not know the equivalent in MAGICK.NET

Re: Show Difference in Flickering

Posted: 2017-03-22T04:23:55-07:00
by kmg
Actually, I want to show the Difference of the first image or second image in the combine image (Output will be flickering). Not in the command mode but I am looking the functionalities in .NET (VB or C #).

Re: Show Difference in Flickering

Posted: 2017-03-22T11:25:16-07:00
by snibgo
I don't use Magick.net, and can't advise on that.

But I don't understand what you want. You say "Output will be flickering", but flickering between what and what?

If you want to flicker between the two images, Fred gives the solution. But perhaps you want to flicker between some other images.

Re: Show Difference in Flickering

Posted: 2017-03-22T12:01:52-07:00
by fmw42
Perhaps he wants the results from

Code: Select all

compare -metric XXX image1 image2 diff12
compare -metric XXX image2 image2 diff21
convert -delay 50 diff12 diff21 -loop 0 animation.gif