Show Difference in Flickering

Magick.NET is an object-oriented C# interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick.NET
Post Reply
kmg
Posts: 2
Joined: 2017-03-21T21:42:23-07:00
Authentication code: 1151

Show Difference in Flickering

Post by kmg »

How to show/dsiplay the difference of two images in flickering (GIF) using Imagemagick in .NET? Kindly help me out.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Show Difference in Flickering

Post 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
kmg
Posts: 2
Joined: 2017-03-21T21:42:23-07:00
Authentication code: 1151

Re: Show Difference in Flickering

Post 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 #).
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Show Difference in Flickering

Post 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.
snibgo's IM pages: im.snibgo.com
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Show Difference in Flickering

Post 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
Post Reply