create a special deletage
Posted: 2009-06-15T13:43:36-07:00
Hello,
I'm heavy trying to create a delegate for input and output unknown file format but it doesn"t work. I don't want that imagik analyze the content of file to determine the format so i uses file prefix.
<delegate decode="f1" encode="f2" command="rename %i %o"/>
imconvert -verbose f1:file1.txt f2:file2.txt
>>>
imconvert: unable to open image `f1:file1.txt': No such file or directory @ blob
.c/OpenBlob/2489.
imconvert: missing an image filename `f2:file2.txt' @ convert.c/ConvertImageComm
and/2772.
Thanks
I'm heavy trying to create a delegate for input and output unknown file format but it doesn"t work. I don't want that imagik analyze the content of file to determine the format so i uses file prefix.
<delegate decode="f1" encode="f2" command="rename %i %o"/>
imconvert -verbose f1:file1.txt f2:file2.txt
>>>
imconvert: unable to open image `f1:file1.txt': No such file or directory @ blob
.c/OpenBlob/2489.
imconvert: missing an image filename `f2:file2.txt' @ convert.c/ConvertImageComm
and/2772.
Thanks