Page 1 of 1

ImageMagick version

Posted: 2015-10-23T09:58:56-07:00
by OldRon
Hello,

I'm an amateur programmer and I wrote a program that 'screen captures' a selected area of an internet web page every 1/10th second and saves the image as a .GIF file. I want to be able to animate the .GIF files from within my program. i.e. Animate Drive\Folder\*.GIF Output.GIF

Is ImageMagick capable of creating animated .GIF files? If so then what version do I need for OS Windows 7 Pro 64?


Thank you for your help,
Ron

Re: ImageMagick version

Posted: 2015-10-23T10:25:42-07:00
by snibgo
"animate" is used to display an animation on an X server. Do you have an X server?

Re: ImageMagick version

Posted: 2015-10-23T10:43:23-07:00
by OldRon
snibgo,

Thank you for your input. Please excuse my ignorance but, I have not a clue for what an X server is. I have edited the original post. Please read the edited version as it better addresses my need.

Ron

Re: ImageMagick version

Posted: 2015-10-23T10:48:19-07:00
by fmw42
see http://www.imagemagick.org/Usage/anim_basics/

Code: Select all

convert -delay X image1 image2 ... imageN -layers optimize -loop 0 animation.gif
where X is the delay time in tics (100th of sec)

or if all images are in alphabetic order in a given folder, then change directories to that folder and

Code: Select all

convert -delay X *.gif -layers optimize -loop 0 animation.gif

ImageMagick version

Posted: 2015-10-23T11:41:04-07:00
by OldRon
Thank all of you for your input. I finally figured it out. I overlooked the the DOS 8 character file names and one that was corrected then Wah Lah!

Batch: cmd /k convert -delay 10 -page +0+0 ROTORS0.gif -page +0+0 ROTORS2.gif -page +0+0 ROTORS3.gif -page +0+0 ROTORS4.gif -loop 0 TEST.GIF

Thanks again,
Ron

Re: ImageMagick version

Posted: 2015-10-23T18:24:50-07:00
by OldRon
Hello,

The animated GIF below was created from captures taken from an internet web page by my program and compile through my program via command line convert. If anyone should try this then your individual files must be index with leading zeros such as GIF001, GIF002, GIF003, GIF004 and so on. Else your animated GIF will be out of sequence. The GIF shown below was comprised of 92 frames.

http://i843.photobucket.com/albums/zz35 ... v4fgwc.gif

If anyone would like a copy of the program then send me a private message.

Thanks again,
Ron