Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: Read() function occasionally locking up for 10+ seconds when grabbing image from URL

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

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>