dlemstra wrote:
EDIT: ok, I found how to disable it. Like this:
ImageMagick.MagickNET.UseOpenCL = False
Meanwhile you were working on this, I found that this performance issue exists for more filters like .Blur , .Equalize , maybe more.. what is interesting is that when i first load my app and click the button to apply any of these problemable filters it does the lag, but when i re-apply the filter (do it several times) from the 2nd time there's no lag. Hope you understand what I mean.. Hope that helps you locate the source of the issue
EDIT: When I disabled the opencl there's no performance issue for any of the filters. Looks like the problem is in opencl as you say.
Thanks!
I have published the new release but I was unable to pin point the performance issue at this moment. We are still investigating it but I would suggest you disable OpenCL for now when you use the Negate method.Can you please let me know how to disable OpenCL? I am using the Magick.NET-6.8.9.601-Q8-AnyCPU-net40-client.zip package..
EDIT: ok, I found how to disable it. Like this:
ImageMagick.MagickNET.UseOpenCL = False
Meanwhile you were working on this, I found that this performance issue exists for more filters like .Blur , .Equalize , maybe more.. what is interesting is that when i first load my app and click the button to apply any of these problemable filters it does the lag, but when i re-apply the filter (do it several times) from the 2nd time there's no lag. Hope you understand what I mean.. Hope that helps you locate the source of the issue
EDIT: When I disabled the opencl there's no performance issue for any of the filters. Looks like the problem is in opencl as you say.
Thanks!