Search found 31 matches

by minglw
2012-04-03T20:30:38-07:00
Forum: Users
Topic: GIF animation: how to set a delay for a particular frame?
Replies: 5
Views: 27574

Re: GIF animation: how to set a delay for a particular frame

After some experiments, this seems to work. BTW, I am using Win 7.

convert test.gif ( -clone 0 -set delay 100 ) -swap 0 +delete \
( +clone -set delay 300 ) +swap +delete test2.gif

Thank you Fred and Anthony for the help!
by minglw
2012-04-03T12:44:12-07:00
Forum: Users
Topic: GIF animation: how to set a delay for a particular frame?
Replies: 5
Views: 27574

Re: GIF animation: how to set a delay for a particular frame

Thanks Fred for the reply! pagepeel seems to be adding the delay as it reads-in the images to build the animated GIF. I was looking for a method that could apply in a generic way to any animated GIF file, where I want to change the delay after the first frame and delay after the last frame. (without...
by minglw
2012-04-03T08:40:15-07:00
Forum: Users
Topic: GIF animation: how to set a delay for a particular frame?
Replies: 5
Views: 27574

GIF animation: how to set a delay for a particular frame?

I have an animation file named test.gif. I know that I can set the delay for all frames to 30/100 second using: convert test.gif -set delay 30 output.gif The question I have is: how do you set a delay for a particular frame ? I want to delay 1 second after the first frame displayed and delay 3 secon...
by minglw
2010-02-28T13:42:35-07:00
Forum: Users
Topic: How to find a sub-image within another image and then diff?
Replies: 41
Views: 91347

Re: How to find a sub-image within another image and then di

I've tried "make clean" and "make distclean" before re-running ./configure already. it still ends up with the same fail. I agree, I think it's better to install a *nix setup versus messing with Cygwin. The machine I have is a company machine, I don't want to mess up with the dual...
by minglw
2010-02-28T12:12:48-07:00
Forum: Users
Topic: How to find a sub-image within another image and then diff?
Replies: 41
Views: 91347

Re: How to find a sub-image within another image and then di

Compiling under Cygwin just doesn't work as nice as I thought it is, looks like Unix but just ain't Unix. I removed the entire Cygwin install and restartted from fresh and I am hitting other issues. Can't even do a very simple hello world C program compile now. Previously, I downloaded the source co...
by minglw
2010-02-27T22:34:15-07:00
Forum: Users
Topic: How to find a sub-image within another image and then diff?
Replies: 41
Views: 91347

Re: How to find a sub-image within another image and then di

I was able to compile ok before, not sure why it's not working now. It was failing with the error message that it can't find "complex.h". I did a make clean and then make uninstall to re-start from the beginning. After running ./configure and then make, it fails on the same error again. He...
by minglw
2010-02-27T18:06:14-07:00
Forum: Users
Topic: How to find a sub-image within another image and then diff?
Replies: 41
Views: 91347

Re: How to find a sub-image within another image and then di

Hi Fred!

I configured Cygwin and recompiled IM with "--enabled-hdr=yes".
I also have FFTW setup.

What's the script that I can try? (or the cmd or series of cmds to try to see how fast can hdri improve?)

Thanks!
by minglw
2010-02-27T16:07:12-07:00
Forum: Users
Topic: How to find a sub-image within another image and then diff?
Replies: 41
Views: 91347

Re: How to find a sub-image within another image and then di

Converting simple shell scripts to run under Windows is easy. However, if Unix specific programs are involved, conversion is not easy. The easiest method is to run them under Cygwin. I have Cygwin all downloaded -- just need to install it. So, I think running your scripts will not be a problem. Is t...
by minglw
2010-02-27T14:23:46-07:00
Forum: Users
Topic: How to find a sub-image within another image and then diff?
Replies: 41
Views: 91347

Re: How to find a sub-image within another image and then di

I don't have the proper development environment setup, otherwise, I would try to compile it and then try your scripts and see.

I will wait for you to try it out and see. If it's much faster, I am hoping that a Windows release can be made available for download from the developers.

Thanks!
by minglw
2010-02-26T14:43:25-07:00
Forum: Users
Topic: How to find a sub-image within another image and then diff?
Replies: 41
Views: 91347

Re: How to find a sub-image within another image and then di

Thank you very much Fred!

The cmds you gave work great.

I wish the cmd to figure out the coordinates can be faster.
by minglw
2010-02-25T23:23:27-07:00
Forum: Users
Topic: How to find a sub-image within another image and then diff?
Replies: 41
Views: 91347

Re: How to find a sub-image within another image and then di

what is that you want to do? first find the matching subsection between image1 and image2s and then get the difference image between the located subsection of image1 and image2s? If so, let me work on that tomorrow. It is too late this evening for me to think straight. But compare and convert do no...
by minglw
2010-02-25T21:30:20-07:00
Forum: Users
Topic: How to find a sub-image within another image and then diff?
Replies: 41
Views: 91347

Re: How to find a sub-image within another image and then di

Interesting finding! I thought everyone would just download the image. Well, blame it on google to show the "thumbnail". :-) Thank you Fred for verifying that it's really big size images that's causing the much longer time. Seems like you're the master of combining multiple tasks into a si...
by minglw
2010-02-25T20:43:32-07:00
Forum: Users
Topic: How to find a sub-image within another image and then diff?
Replies: 41
Views: 91347

Re: How to find a sub-image within another image and then di

Thanks Fred! I will report it as a bug and hope the developers can check it out. You wrote: I should point out that your subsection image2s has the same width as image1 and is only cropped by about 30 pixels in height. For your information: image1.png is 1024x768. image2s.png is 940x650. Not like yo...
by minglw
2010-02-25T19:01:53-07:00
Forum: Users
Topic: How to find a sub-image within another image and then diff?
Replies: 41
Views: 91347

Re: How to find a sub-image within another image and then di

I tried 3 more times and here are the results: F:\t\test\q3>timer imcompare -metric rmse -dissimilarity-threshold 1 image1.png image2s.png diff.png Timer 8.00 : Igor Pavlov : Public domain : 2008-11-25 6724.11 (0.102603) @ 39,91 Kernel Time = 0.171 = 00:00:00.171 = 0% User Time = 1022.515 = 00:17:02...
by minglw
2010-02-25T11:58:33-07:00
Forum: Users
Topic: How to find a sub-image within another image and then diff?
Replies: 41
Views: 91347

Re: How to find a sub-image within another image and then di

I don't see memory as the issue.
I have 2GB of physical RAM, and 4GB HD set aside for paging. I am using WinXP with service packs 2.

I don't notice any problem with any other program in the system.