Batch converting in imagemagic
Posted: 2019-10-03T21:27:43-07:00
I am trying to convert files in imagemagic 6.8.9 on linux . I am restoring an old video and have each frame written as a png file . Some of these files I have to batch convert to give them an offset -1-4 with the following command to "move" the image in the frame (compensate for a shift in the video).
That command does what I need for a single file however I need to preserve the original file names, and do this for hundreds of files.
When I try to use wildcards only the last file is converted using the wildcard used in the command.
Code: Select all
convert test.png -repage -1-4 -background black -flatten newtest.png
When I try to use wildcards only the last file is converted using the wildcard used in the command.