TIF merge program

Associate
Joined
25 Feb 2007
Posts
905
Location
Midlands
I am after a program that will read a list of TIF file locations from a CSV file and merge those with the same ID number in a column next to it, ending up with multipage TIF files.

For example:

File Path | ID
/path/to/tif/file1.tif | 0001
/path/to/tif/file2.tif | 0001
/path/to/tif/file3.tif | 0001
/path/to/tif/file4.tif | 0002
/path/to/tif/file5.tif | 0002
/path/to/tif/file6.tif | 0003

I want to end up with 3 multipage tif files - 0001.tif (3 files merged), 0002.tif (2 files merged), 0003.tif (1 file)

Quite specific I know.

Any ideas?

Cheers,
 
If you can find a program that lets you use it from a command line you should be able to do it fairly easily with a batch file.
 
That was my thought - I've got a command line program which uses the following syntax:
Code:
tifmerge [i]file1.tiff[/i] [i]file2.tiff[/i] [i]file3.tiff[/i] etc. [i]outputfile.tiff[/i]

So i need to read the file.tiff's from a csv and merge those with the same id - the name of the output file should be the common id.

Any idea on a batch script for this?

Cheers,
 
Back
Top Bottom