<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Just a Bit: Loading Images Asynchronously in WPF</title>
	<atom:link href="http://blog.andreweichacker.com/2008/10/just-a-bit-loading-images-asynchronously-in-wpf/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.andreweichacker.com/2008/10/just-a-bit-loading-images-asynchronously-in-wpf/</link>
	<description>Andrew Eichacker</description>
	<lastBuildDate>Fri, 07 Oct 2011 17:08:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Andrew Eichacker</title>
		<link>http://blog.andreweichacker.com/2008/10/just-a-bit-loading-images-asynchronously-in-wpf/comment-page-1/#comment-3992</link>
		<dc:creator>Andrew Eichacker</dc:creator>
		<pubDate>Wed, 30 Jun 2010 19:45:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.andreweichacker.com/?p=78#comment-3992</guid>
		<description>That&#039;s a good point to raise - it is good practice to check if an object that implements Freezable actually can be frozen.

As for why your BitmapImage can&#039;t be frozen, the most common issue that I&#039;ve found through a quick search is that the BitmapImage hasn&#039;t yet finished downloading the bits for the Image.  Here&#039;s a post that looked helpful:
http://social.msdn.microsoft.com/Forums/en/wpf/thread/282946ed-09dc-418e-b9bc-99c999344735</description>
		<content:encoded><![CDATA[<p>That&#8217;s a good point to raise &#8211; it is good practice to check if an object that implements Freezable actually can be frozen.</p>
<p>As for why your BitmapImage can&#8217;t be frozen, the most common issue that I&#8217;ve found through a quick search is that the BitmapImage hasn&#8217;t yet finished downloading the bits for the Image.  Here&#8217;s a post that looked helpful:<br />
<a href="http://social.msdn.microsoft.com/Forums/en/wpf/thread/282946ed-09dc-418e-b9bc-99c999344735" rel="nofollow">http://social.msdn.microsoft.com/Forums/en/wpf/thread/282946ed-09dc-418e-b9bc-99c999344735</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Santangelo</title>
		<link>http://blog.andreweichacker.com/2008/10/just-a-bit-loading-images-asynchronously-in-wpf/comment-page-1/#comment-3980</link>
		<dc:creator>Josh Santangelo</dc:creator>
		<pubDate>Mon, 28 Jun 2010 18:14:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.andreweichacker.com/?p=78#comment-3980</guid>
		<description>I get an exception on the Freeze method saying &quot;This Freezable cannot be frozen.&quot; BitmapImage.CanFreeze is false.

(Just coming across your blog via Google, good stuff here, subscribed.)</description>
		<content:encoded><![CDATA[<p>I get an exception on the Freeze method saying &#8220;This Freezable cannot be frozen.&#8221; BitmapImage.CanFreeze is false.</p>
<p>(Just coming across your blog via Google, good stuff here, subscribed.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Eichacker</title>
		<link>http://blog.andreweichacker.com/2008/10/just-a-bit-loading-images-asynchronously-in-wpf/comment-page-1/#comment-3079</link>
		<dc:creator>Andrew Eichacker</dc:creator>
		<pubDate>Tue, 23 Mar 2010 22:46:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.andreweichacker.com/?p=78#comment-3079</guid>
		<description>Wow...10s is very long.  Here are a few questions that might help me address your question:

How large are these images?
Are there any other tasks being executed while the loading is going on?
About how many images are being loaded?

If these images are very large or there are a great deal of them, you might look into image caching to improve the initial load time.  Also take a look at &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.windows.media.imaging.bitmapimage.decodepixelwidth.aspx&quot; rel=&quot;nofollow&quot;&gt;BitmapImage.DecodePixelWidth&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Wow&#8230;10s is very long.  Here are a few questions that might help me address your question:</p>
<p>How large are these images?<br />
Are there any other tasks being executed while the loading is going on?<br />
About how many images are being loaded?</p>
<p>If these images are very large or there are a great deal of them, you might look into image caching to improve the initial load time.  Also take a look at <a href="http://msdn.microsoft.com/en-us/library/system.windows.media.imaging.bitmapimage.decodepixelwidth.aspx" rel="nofollow">BitmapImage.DecodePixelWidth</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miguel</title>
		<link>http://blog.andreweichacker.com/2008/10/just-a-bit-loading-images-asynchronously-in-wpf/comment-page-1/#comment-3070</link>
		<dc:creator>Miguel</dc:creator>
		<pubDate>Tue, 23 Mar 2010 16:36:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.andreweichacker.com/?p=78#comment-3070</guid>
		<description>I need to load multiple large images and I&#039;m using your method (Thanks!).  Each call to bmi.Freeze() takes about 10 seconds on my computer. When I try to have two or three BackgroundWorkers call LoadImage at the same time, it seems that I get no performance improvement over having one BackgroundWorker calling LoadImage multiple times successively.  It doesn&#039;t seem that this process is CPU bound as far as I can tell by looking at Task Manager.  I don&#039;t think it is disk bound either because the files themselves would take less that 2 seconds to read in memory. I&#039;m wondering if Windows is only able to handle one bmi.Freeze at a time.  Any ideas?</description>
		<content:encoded><![CDATA[<p>I need to load multiple large images and I&#8217;m using your method (Thanks!).  Each call to bmi.Freeze() takes about 10 seconds on my computer. When I try to have two or three BackgroundWorkers call LoadImage at the same time, it seems that I get no performance improvement over having one BackgroundWorker calling LoadImage multiple times successively.  It doesn&#8217;t seem that this process is CPU bound as far as I can tell by looking at Task Manager.  I don&#8217;t think it is disk bound either because the files themselves would take less that 2 seconds to read in memory. I&#8217;m wondering if Windows is only able to handle one bmi.Freeze at a time.  Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Multithreading in WPF &#124; Andrew Eichacker</title>
		<link>http://blog.andreweichacker.com/2008/10/just-a-bit-loading-images-asynchronously-in-wpf/comment-page-1/#comment-2193</link>
		<dc:creator>Multithreading in WPF &#124; Andrew Eichacker</dc:creator>
		<pubDate>Sun, 11 Oct 2009 21:20:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.andreweichacker.com/?p=78#comment-2193</guid>
		<description>[...] an earlier post, I used a mysterious method to enable responsiveness in the UI while loading a bunch of content (in [...]</description>
		<content:encoded><![CDATA[<p>[...] an earlier post, I used a mysterious method to enable responsiveness in the UI while loading a bunch of content (in [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

