Hi, I would like to create animated gifs in several subfolders within a folder called "testing" in F drive. The series of images in each subfolder are all in tif and I would like to convert the images to an animated gif within each subfolder. My script is written like this.
for /d %i in ("F:\testing\*) do convert -delay 20 *.tif -loop 2 animation.gif %i
However, it gives me this error message.
Magick: unable to open image '*.tif': Invalid argument @ error/blob.c/OpenBlob/2572
Your help is appreciated.
creating animated gifs in several subfolders
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: creating animated gifs in several subfolders
I am no expert on animation or on Windows command line syntax, but I don't think IM will process from wildcard directories in your loop. But I will defer to others more expert than I.