Page 1 of 1

Unable to use input filename with a @ prefix

Posted: 2012-12-11T07:23:34-07:00
by Mindiell
Hello everyone,

I'm trying to use ImageMagick command "montage". And I'm unable to use the @input.txt thing with it. IM always tells me that this image is not found. When I use only 'input.txt', I got a beautiful image with the text from the file, which is not what I'm looking for.

This is what I have on my console :

Code: Select all

montage @tiles.txt result.jpg
montage: unable to open image `@tiles.txt': Aucun fichier ou dossier de ce type @ blob.c/OpenBlob/2480.
montage: missing an image filename `result.jpg' @ montage.c/MontageImageCommand/1683.
Ubuntu : 10.04
IM : ImageMagick 6.5.7-8 2012-08-17 Q16

Thanks for any help :)

EDIT : tried space and newline between file names in the input file, did not change anything...
EDIT again : it as working before, I don't know why it's not working anymore, I didn't do any change on my computer. Maybe I use a bad command now, and not before. I can't understand where is the problem... :/

Re: Unable to use input filename with a @ prefix

Posted: 2012-12-11T11:55:06-07:00
by fmw42
I think your version of IM is too old (about 230 versions old). It works fine for me with IM 6.8.0.8 Q16 Mac OSX Snow Leopard.

My tmp.txt file is just in the form of one image per line

zelda3.jpg
lena2.jpg
checks.jpg


montage @tmp.txt tmp.png


Is your text file in your working directory?

Re: Unable to use input filename with a @ prefix

Posted: 2012-12-11T15:10:32-07:00
by Mindiell
Yes the test file is in the directory and I've all the rights on it.
I'll try to update IM to see what I can do. Actually, I just use the multiple files on one command line.

Thx,