A lightweight .NET Core console program to merge multiple TIFF files into one.
MergeTIFF is a lightweight .NET Core console application that merges multiple TIFF files (including multi-page ones) into a single multi-page TIFF file. The full source code, as well as the Windows and Linux executables, is released under GNU v3 license and fully available on GitHub.
The tool can be used from the windows command line or the Linux terminal by specifying two parameters:
> MergeTIFF <sourceFolder> <targetFile>
<sourceFolder>: a folder containing the TIFF files to merge.
<targetFile>: the container TIFF file path.
> MergeTIFF C:\Temp\TIFF\ C:\Temp\MergeFile.tif
Frameworks and Dependencies
MergeTIFF has been developed using the following dependencies:
- .NET Core 2.2.108 SDK (x32 and/or x64, depending on the platform you want to build the project for)
- Windows Compatibility Pack v 2.1.1 (required to use System.Drawing.Common & GDI+ interfaces)
- WiX Toolset build tools 3.11.1 and WiX Toolset VS2019 Extension (for the installer package)
The WiX Toolset is only required if you plan to build the installer EXE for third-party release. If you don't know what WiX Toolset actually is, we strongly suggest reading this WiX Toolset review and usage guide.
The project strongly relies upon the MergeTiff helper class, which was released on ryadel.com a while ago: if you like to know more about how it actually works, we strongly suggest take a look at this post. In case you want to know more about GDI+ - the Windows managed graphics interfaces which we used to build the class - we also suggest to read this post.