Search found 6 matches
- 2019-01-31T01:49:00-07:00
- Forum: Magick.NET
- Topic: Combining many images is incredibly slow on VM
- Replies: 9
- Views: 18908
Re: Combining many images is incredibly slow on VM
Is your application running in 64 bit on your local machine and in 32 bit on your VM? But that would probably still not cause such a big difference. And you probably want to also follow my other tip to use AppendVertically or AppendHorizontally of the MagickImageCollection. This should also give ...
- 2019-01-25T01:51:20-07:00
- Forum: Magick.NET
- Topic: Combining many images is incredibly slow on VM
- Replies: 9
- Views: 18908
Re: Combining many images is incredibly slow on VM
What makes Magick decide whether to use the memory or disk? IM requests the memory from the operating system. If the OS says "no", IM will use disk. Can I force it to always use memory? Not exactly. You can tell IM to never use disk, eg "-limit disk 0" when using the command-line interface, so the ...
- 2019-01-25T01:36:16-07:00
- Forum: Magick.NET
- Topic: Combining many images is incredibly slow on VM
- Replies: 9
- Views: 18908
Re: Combining many images is incredibly slow on VM
Thanks for the dispose tip btw, I rewrote the code a little bit. It's much faster (image 1-29 takes about 5 minutes combined now, and the last canvas.resize takes around 15, so 20 minutes in total. It's still way way slower than on my personal computer, and not really within acceptable limits for ...
- 2019-01-25T01:06:38-07:00
- Forum: Magick.NET
- Topic: Combining many images is incredibly slow on VM
- Replies: 9
- Views: 18908
Re: Combining many images is incredibly slow on VM
You are disposing none of your images. Does this happen instantly or only after a couple times? And you might want to take a look at the MagickImageCollection class that has "Append" methods to combine images. Hi. A bit of both. It's slow already from the first image, but it does slow down ...
- 2019-01-24T08:12:17-07:00
- Forum: Magick.NET
- Topic: Combining many images is incredibly slow on VM
- Replies: 9
- Views: 18908
Re: Combining many images is incredibly slow on VM
That does make sense, and I am seeing a large uptick in disk usage, tho both the pc and VM has 32gb of ram. Each image is roughly 154x1000 pixels, and there's around 30 of them, which should be around 37mb of ram + the finished image which is equally large before downsizing, so another 37mb. Not ...
- 2019-01-24T07:31:56-07:00
- Forum: Magick.NET
- Topic: Combining many images is incredibly slow on VM
- Replies: 9
- Views: 18908
Combining many images is incredibly slow on VM
For a project I'm working on I need to combine a bunch of images (20-30) into one long one, and then resize them down a bit. This is the code I've put together so far: var imageFiles = Directory.GetFiles(imageFolder, "*.png"); var magickImages = new List<MagickImage>(); var imageHeight = new List ...