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.
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.