ImageMagick version

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
OldRon
Posts: 4
Joined: 2015-10-23T08:53:39-07:00
Authentication code: 1151

ImageMagick version

Post 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
Last edited by OldRon on 2015-10-23T10:39:37-07:00, edited 1 time in total.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: ImageMagick version

Post by snibgo »

"animate" is used to display an animation on an X server. Do you have an X server?
snibgo's IM pages: im.snibgo.com
OldRon
Posts: 4
Joined: 2015-10-23T08:53:39-07:00
Authentication code: 1151

Re: ImageMagick version

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: ImageMagick version

Post 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
OldRon
Posts: 4
Joined: 2015-10-23T08:53:39-07:00
Authentication code: 1151

ImageMagick version

Post 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
OldRon
Posts: 4
Joined: 2015-10-23T08:53:39-07:00
Authentication code: 1151

Re: ImageMagick version

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