Couldn’t Find it Anywhere

What couldn’t I find?

I was looking for a one-liner means by which to duplicate images.  In other words, I was too lazy to write a script.  The answer was surprisingly difficult to find on the internet.  Methinks it is too easy, or so easy that it’s obvious?  Anyway, this is for those who need to do this task (image duplicates are needed to build frame directories of 30 frames per jpeg image, to facilitate building an animated gif or a video frame-set from a series of stills).

The secret sauce is to use imagemagick’s convert command.  Using it thusly:

  • convert stillframe1.jpg -duplicate 30,-1 stillframes%05d.jpg

Read More …

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.