I have a textfile that contains a range of filenames of images. I want IM to convert each one of them into thumbnails and place them in a certain folder. I came up with this so far:
convert @"C:\Temp\list.txt" -thumbnail "50x50"
But how can I make sure IM creates the thumbnails in a specified folder, for instance C:\Thumbnails? I want the original images to be kept as they were.
TIA
Run a batch to a destination folder
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Run a batch to a destination folder
Convert needs both input and output filenames. You could do this with convert, by reading the lines in the file and doing a convert for each one. That is how I would do it.
Or you could copy the input files to the output directory, then use mogrify.
Or you could copy the input files to the output directory, then use mogrify.
snibgo's IM pages: im.snibgo.com