Hello,
I’m using Magick.net version Q8 to combine 2 tif files in a single page. Both images are 17518x12193 pixels with 720 dpi and LZW.
My sample code is:
Thank you very much!
I’m using Magick.net version Q8 to combine 2 tif files in a single page. Both images are 17518x12193 pixels with 720 dpi and LZW.
My sample code is:
string[] stFiles = { "input1.tif", "input2.tif" };
using (MagickImageCollection collection = new MagickImageCollection())
{
for (int i = 0; i < stFiles.Count(); i++)
{
MagickImage img= null;
img = new MagickImage(stFiles[i]);
collection.Add(img);
}
using (MagickImage mosaic = collection.Mosaic())
{
mosaic.Write("output.tif");
}
collection.Dispose();
}
Those are times to get the output image:- on windows 7 64bit, I7, 4GB, the output file is created in 1 minute and 11 seconds.
-
on windows 7 32bit, I5, 8GB, the output file is created in 6 minutes and 35 seconds.
Thank you very much!