Construction of an algorithm for animating images.
Posted: 2012-04-17T14:40:01-07:00
Good afternoon, friend,
I do not know if you could give me a light. I have a directory that is always taking pictures such as:
CP001_Rate_50km_1_1940.jpg
CP001_Rate_50km_1_1944.jpg
CP001_Rate_100km_1_1940.jpg
CP001_Rate_100km_1_1944.jpg
CP001_Rate_200km_1_1940.jpg
CP001_Rate_200km_1_1944.jpg
where CP001 - is a code;
Rate - is the product
xxKM - the type of image scale
1 - the system code
_1940 Or _1944 - is the time that the image was generated.
How could I create a script that could be checking for new images in the directory and turn them into animations with 10 frames (adding the latest and deleting the first animation) and end with a name like: rate50km.jpg; rate100km . jpg; rate200km.jpg.
hope I'm not asking too much...
Have a great day for all
André
I do not know if you could give me a light. I have a directory that is always taking pictures such as:
CP001_Rate_50km_1_1940.jpg
CP001_Rate_50km_1_1944.jpg
CP001_Rate_100km_1_1940.jpg
CP001_Rate_100km_1_1944.jpg
CP001_Rate_200km_1_1940.jpg
CP001_Rate_200km_1_1944.jpg
where CP001 - is a code;
Rate - is the product
xxKM - the type of image scale
1 - the system code
_1940 Or _1944 - is the time that the image was generated.
How could I create a script that could be checking for new images in the directory and turn them into animations with 10 frames (adding the latest and deleting the first animation) and end with a name like: rate50km.jpg; rate100km . jpg; rate200km.jpg.
hope I'm not asking too much...
Have a great day for all
André