This project has moved and is read-only. For the latest updates, please go here.

Recombining a CropToTile output

Feb 19, 2016 at 4:35 PM
In an effort to improve performance, I tried comparing an effect (Oil Paint, for example) on a 2000 x 2000 image as a whole, and then asynchronously by using CropToTile() and running the effect on each tile of the 2x2 configuration it returned.

The normal call was ~9000ms while the tiled calls were about ~400ms combined! Giant improvement in performance. (Although it won't work for effects that rely on neighboring pixels too much.)

My current problem is how to stitch the crops back together. Based on the ImageMagick command line options, I know I should use montage with a tile option. But in Magick.NET, I'm unable to figure out the right code to use.
Feb 19, 2016 at 10:10 PM
You could use the Montage method of MagickImageCollection for that. You can find some information about how to use montage here: http://www.imagemagick.org/Usage/montage/.