Unable to use input filename with a @ prefix

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Mindiell
Posts: 2
Joined: 2012-12-11T07:19:36-07:00
Authentication code: 6789

Unable to use input filename with a @ prefix

Post 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... :/
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Unable to use input filename with a @ prefix

Post 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?
Mindiell
Posts: 2
Joined: 2012-12-11T07:19:36-07:00
Authentication code: 6789

Re: Unable to use input filename with a @ prefix

Post 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,
Post Reply