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

New Post: Abort loading image

$
0
0
For a thumbnail browser I have a custom thumbnail control where each loads an image in different Task.Factory thread. Is there a way to stop Magick once it starts loading and working on image.thumbnail(100,100) when user switches the folder? For some huge images it takes really long time. Cancelation token would not do anything and I don't know what kind of thread termination Magick is OK with.
Also, does it make sense to use threads or async/await would be better?

Viewing all articles
Browse latest Browse all 3693

Trending Articles



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