ANIMATED GIFS DYNAMICALLY...HELP ME.

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
josandss
Posts: 2
Joined: 2012-04-17T13:43:28-07:00
Authentication code: 13

ANIMATED GIFS DYNAMICALLY...HELP ME.

Post by josandss »

Hello friends, I'm needing to create Animated Gifs automatically every 10 minutes of JPG files that are being saved in 04 different directories, in other words, every 10 minutes a new image is generated and saved in these directories, for example:

Image: 2014112114100300KTK.prod.jpg --------------> directory: iole_80kt_8ktt.prod
Image: 2014112114100300KTK.prod.jpg --------------> directory: iole_160kt_8ktt.prod
Image: 2014112114100300KTK.prod.jpg --------------> directory: iole_300kt_10ktt.prod
Image: 2014112114100300KTK.prod.jpg --------------> directory: iole_400kt_10ktt.prod

AFTER 10 MIN.:

Image: 2014112114200300KTK.prod.jpg --------------> directory: iole_80kt_8ktt.prod
Image: 2014112114200300KTK.prod.jpg --------------> directory: iole_160kt_8ktt.prod
Image: 2014112114200300KTK.prod.jpg --------------> directory: iole_300kt_10ktt.prod
Image: 2014112114200300KTK.prod.jpg --------------> directory: iole_400kt_10ktt.prod


Although the images having the same names they are different images. So I need to create an Animated Gif with the 05 latest images ... every new generated image I generate 01 animated gif with the latest 05 images ... always entering the most current image ... understand?

I thank everyone who help me!

Best wishes

Andre
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: ANIMATED GIFS DYNAMICALLY...HELP ME.

Post by Bonzo »

What code do you want to use batch, bash, php etc. as you will probably need to write something to get the latest images.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: ANIMATED GIFS DYNAMICALLY...HELP ME.

Post by fmw42 »

You will need a script or at least a command to put the 4 images into an animated gif. That script/command will depend upon your OS. Then you will need some system command that will run the script/command every 10 min. That also is OS dependent. IM cannot do the latter, but it can create the animated gif for you. Please identify your platform (OS) and version of Imagemagick.
Post Reply