Code: Select all
C:\a\001.tiff
C:\a\002.tiff
C:\a\003.tiff
C:\a\004.tiff
C:\a\005.tiff
...
C:\a\100.tiff
How can I make it?
Code: Select all
C:\a\001.tiff
C:\a\002.tiff
C:\a\003.tiff
C:\a\004.tiff
C:\a\005.tiff
...
C:\a\100.tiff
ImageMagick can, in most cases, read a list of input files from a prepared text file. This is done by preceding the text file's name with an "@" sign. A command to accomplish your task could be as simple as this...sergiokapone wrote: 2017-06-25T02:04:07-07:00Suppose I have file list filelelist.txtI need to create from those files a single multipage tiff.Code: Select all
C:\a\001.tiff C:\a\002.tiff C:\a\003.tiff C:\a\004.tiff C:\a\005.tiff ... C:\a\100.tiff
How can I make it?
Code: Select all
convert @filelist.txt output.tif
Code: Select all
convert: UnableToOpenBlob '@C:c:\Downloads\0030.tif': Invalid argument @ error/blob.c/OpenBlob/3093.@C:c:\Downloads\0030.tif is not a text file containing your list of image files.convert: UnableToOpenBlob '@C:c:\Downloads\0030.tif': Invalid argument @ error/blob.c/OpenBlob/3093.
Code: Select all
C:\a\001.tiff
C:\a\002.tiff
C:\a\003.tiff
C:\a\004.tiff
C:\a\005.tiff
...
C:\a\100.tiffCode: Select all
convert @filelist.txt result.tiffCode: Select all
magick @filelist.txt resultPlease show the exact command you used. The error message suggests you mis-typed something, with "C:" twice.sergiokapone wrote:'@C:c:\Downloads\0030.tif': Invalid argument
Code: Select all
convert *.tiff newimage.tiffCode: Select all
@Echo Off & CLS
::mode con:cols=80 lines=40
REM ===== Variables Setup ==========
setLocal
set pathImageMagik=%BookShop%\ImageMagick\
"%pathImageMagik%convert" @%1 a.tifThe error you posted above shows...sergiokapone wrote: 2017-06-25T12:34:53-07:00I use batch filewhere %1 is my filelist.txtCode: Select all
@Echo Off & CLS ::mode con:cols=80 lines=40 REM ===== Variables Setup ========== setLocal set pathImageMagik=%BookShop%\ImageMagick\ "%pathImageMagik%convert" @%1 a.tif
Code: Select all
UnableToOpenBlob '@C:c:\Downloads\0030.tif' ...
Code: Select all
convert *.tiff newimage.tiffOk.
Users browsing this forum: Amazon [Bot], Bing [Bot], Google [Bot], Semrush [Bot] and 10 guests