Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: combining 2 tif files very slow on win 7 32

$
0
0
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:
  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.
I will appreciate it if someone can help me to improve the speed on windows 32 bit!
Thank you very much!

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>