I have a question about animating java screen shots.
My application is using the robot()
function and a loop to take multiple screenshots and save them with names in consecutive orders, 1 to the loop number.
The thing is I need to put those images into a "movie", the format doesn't matter all that much though. Unfortunately I have no clue how to do this and I'm on my iPad as I'm traveling.
EDIT: What I mean is I need something that can create a movie or animation from my Java application with those screenshots.
You could use any GIF creator out there to generate a Movie from Pictures. Do you need to do this on your ipad? maybe use this app
Or use a website like this
But what exactly does this have to do with Java?
EDIT: as posted in the comment, a Java Class to creata a GIF from images is given in this post
The (obsolete, abandoned) Java Media Framework can turn JPEGs into a MOV. Though note they have atrocious compression (using the particular compression codec implemented), and result in huge file sizes. An example can be seen in this answer.
You can create an animated GIF without a third-party library like this:
See also http://docs.oracle.com/javase/7/docs/api/javax/imageio/metadata/doc-files/gif_metadata.html#gif_image_metadata_format .