I use ImageMagick to process some images from the command line and would like to work with a list of files as specified in foo.txt. From the instructions here: http://www.imagemagick.org/script/command-line-processing.php I see that I can use links to file names from a file with the @ prefix. When I run something like:
montage @ foo.txt output.jpg
everything works as expected, as long as foo.txt is in the current directory. However, when I try to access bar.txt in another directory by running:
montage/some_directory/@bar.txt output2.jpg
I get:
editing: it is not possible to open the image / some _directory/@bar.txt: There is no such file or the directory @ blob.c / OpenBlob / 2480.
I believe the problem is my syntax, but I'm not sure what to change it. Any help would be appreciated.
source
share