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 » 2017-03-21T21:45:24-07:00

How to show/dsiplay the difference of two images in flickering (GIF) using Imagemagick in .NET? Kindly help me out.

User avatar
fmw42
Posts: 22083
Joined: 2007-07-02T17:14:51-07:00
Location: Sunnyvale, California, USA

Re: Show Difference in Flickering

Post by fmw42 » 2017-03-21T23:27:42-07:00

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 » 2017-03-22T04:23:55-07:00

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: 9381
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Show Difference in Flickering

Post by snibgo » 2017-03-22T11:25:16-07:00

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: 22083
Joined: 2007-07-02T17:14:51-07:00
Location: Sunnyvale, California, USA

Re: Show Difference in Flickering

Post by fmw42 » 2017-03-22T12:01:52-07:00

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