Page 1 of 1

Run a batch to a destination folder

Posted: 2014-09-16T03:19:48-07:00
by FGG
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

Re: Run a batch to a destination folder

Posted: 2014-09-16T08:25:59-07:00
by snibgo
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.