ImageMagick uses the method URLDownloadToFile(https://msdn.microsoft.com/en-us/library/ms775123(v=vs.85).aspx) to download the image to disk and then reads it. I did a quick google search and it looks like more people run into locks/timeout issues. There is no real benefit to use an url directly because it is first stored in a file and then read from disk. You will probably get a better performance if you use the default tools of .NET to download a file into a MemoryStream and then 'feed' in to Magick.NET. You will not have any disk IO if you do that.
↧