I have several png files named aoa19.5Pressure.XXX.png where XXXX is a four digit number. The names are such that the numbers are sequential. I want to convert these into a gif. When I run

convert aoa19.5Pressure.* aoa19.5Pressure.gif,

my machine takes a very long time to generate the gif. This has many more images than I needed. Is there some way I can convert these png files to a gif animation, only using every 100th png file to create the gif?


If the numbers are consecutive, just use

convert aoa19.5Pressure.*00.png aoa19.5Pressure.gif

This will use all images with numbers ending in 00, in other words every 100th.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.