<?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: Loading images in Silverlight 2</title>
	<atom:link href="http://joel.neubeck.net/2008/06/loading-images-in-silverlight-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://joel.neubeck.net/2008/06/loading-images-in-silverlight-2/</link>
	<description>Simplifing structure without changing results</description>
	<lastBuildDate>Sun, 23 May 2010 01:08:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: book</title>
		<link>http://joel.neubeck.net/2008/06/loading-images-in-silverlight-2/comment-page-1/#comment-852</link>
		<dc:creator>book</dc:creator>
		<pubDate>Sat, 16 Jan 2010 19:03:50 +0000</pubDate>
		<guid isPermaLink="false">http://joel.neubeck.net/2008/06/loading-images-in-silverlight-2/#comment-852</guid>
		<description>nice post, thanks for sharing.
I usually don’t post on Blogs but ya forced me to, great info.</description>
		<content:encoded><![CDATA[<p>nice post, thanks for sharing.<br />
I usually don’t post on Blogs but ya forced me to, great info.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: whatispunk</title>
		<link>http://joel.neubeck.net/2008/06/loading-images-in-silverlight-2/comment-page-1/#comment-839</link>
		<dc:creator>whatispunk</dc:creator>
		<pubDate>Wed, 18 Nov 2009 14:34:31 +0000</pubDate>
		<guid isPermaLink="false">http://joel.neubeck.net/2008/06/loading-images-in-silverlight-2/#comment-839</guid>
		<description>Thanks very much. I was struggling with method #3. Your simple comment of &quot;(Note: I had to manually copy the image to my web projects ClientBin directory)&quot; answered my question. But it raises another, the images get put in the build output directory (i.e. /Bin/Debug/Images). I suppose you could write a post build event to copy these to the ClientBin but it just seems like Visual Studio should be doing this for us? Or am I just lazy. 

Also, I second @hendo&#039;s question. &quot;is it possible to set the image source at runtime to an image outside /ClientBin?&quot;</description>
		<content:encoded><![CDATA[<p>Thanks very much. I was struggling with method #3. Your simple comment of &#8220;(Note: I had to manually copy the image to my web projects ClientBin directory)&#8221; answered my question. But it raises another, the images get put in the build output directory (i.e. /Bin/Debug/Images). I suppose you could write a post build event to copy these to the ClientBin but it just seems like Visual Studio should be doing this for us? Or am I just lazy. </p>
<p>Also, I second @hendo&#8217;s question. &#8220;is it possible to set the image source at runtime to an image outside /ClientBin?&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Ivanov</title>
		<link>http://joel.neubeck.net/2008/06/loading-images-in-silverlight-2/comment-page-1/#comment-837</link>
		<dc:creator>Alex Ivanov</dc:creator>
		<pubDate>Tue, 27 Oct 2009 15:25:27 +0000</pubDate>
		<guid isPermaLink="false">http://joel.neubeck.net/2008/06/loading-images-in-silverlight-2/#comment-837</guid>
		<description>In section &quot;Image 2&quot;, I don&#039;t think the following line will work:

Uri uri2 = new Uri(&quot;2.jpg&quot;, UriKind.Relative);

I had to follow the special assembly plus component syntax to get it working:

Uri uri2 = new Uri(&quot;/MyAssembly;component/someFolder/2.jpg&quot;, UriKind.Relative);</description>
		<content:encoded><![CDATA[<p>In section &#8220;Image 2&#8243;, I don&#8217;t think the following line will work:</p>
<p>Uri uri2 = new Uri(&#8220;2.jpg&#8221;, UriKind.Relative);</p>
<p>I had to follow the special assembly plus component syntax to get it working:</p>
<p>Uri uri2 = new Uri(&#8220;/MyAssembly;component/someFolder/2.jpg&#8221;, UriKind.Relative);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hendo</title>
		<link>http://joel.neubeck.net/2008/06/loading-images-in-silverlight-2/comment-page-1/#comment-834</link>
		<dc:creator>hendo</dc:creator>
		<pubDate>Mon, 19 Oct 2009 01:51:53 +0000</pubDate>
		<guid isPermaLink="false">http://joel.neubeck.net/2008/06/loading-images-in-silverlight-2/#comment-834</guid>
		<description>is it possible to set the image source at runtime to an image outside /ClientBin?  I&#039;ve got an up I allow users to upload images to /images/inventory and I&#039;d like to be able to display these in a Silverlight control but I haven&#039;t been able to make it work.  

Thanks.</description>
		<content:encoded><![CDATA[<p>is it possible to set the image source at runtime to an image outside /ClientBin?  I&#8217;ve got an up I allow users to upload images to /images/inventory and I&#8217;d like to be able to display these in a Silverlight control but I haven&#8217;t been able to make it work.  </p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carlos</title>
		<link>http://joel.neubeck.net/2008/06/loading-images-in-silverlight-2/comment-page-1/#comment-779</link>
		<dc:creator>Carlos</dc:creator>
		<pubDate>Tue, 24 Mar 2009 16:28:17 +0000</pubDate>
		<guid isPermaLink="false">http://joel.neubeck.net/2008/06/loading-images-in-silverlight-2/#comment-779</guid>
		<description>Is there a working example of this????</description>
		<content:encoded><![CDATA[<p>Is there a working example of this????</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aong</title>
		<link>http://joel.neubeck.net/2008/06/loading-images-in-silverlight-2/comment-page-1/#comment-749</link>
		<dc:creator>aong</dc:creator>
		<pubDate>Thu, 29 Jan 2009 08:49:30 +0000</pubDate>
		<guid isPermaLink="false">http://joel.neubeck.net/2008/06/loading-images-in-silverlight-2/#comment-749</guid>
		<description>Thank you so much.It helps me.</description>
		<content:encoded><![CDATA[<p>Thank you so much.It helps me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LeMinh</title>
		<link>http://joel.neubeck.net/2008/06/loading-images-in-silverlight-2/comment-page-1/#comment-721</link>
		<dc:creator>LeMinh</dc:creator>
		<pubDate>Wed, 12 Nov 2008 09:18:44 +0000</pubDate>
		<guid isPermaLink="false">http://joel.neubeck.net/2008/06/loading-images-in-silverlight-2/#comment-721</guid>
		<description>Thanks, it helps me</description>
		<content:encoded><![CDATA[<p>Thanks, it helps me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Randy Stimpson</title>
		<link>http://joel.neubeck.net/2008/06/loading-images-in-silverlight-2/comment-page-1/#comment-681</link>
		<dc:creator>Randy Stimpson</dc:creator>
		<pubDate>Thu, 28 Aug 2008 21:08:16 +0000</pubDate>
		<guid isPermaLink="false">http://joel.neubeck.net/2008/06/loading-images-in-silverlight-2/#comment-681</guid>
		<description>BitmapImages is from namespace System.Windows.Media.Imaging</description>
		<content:encoded><![CDATA[<p>BitmapImages is from namespace System.Windows.Media.Imaging</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: austin a</title>
		<link>http://joel.neubeck.net/2008/06/loading-images-in-silverlight-2/comment-page-1/#comment-663</link>
		<dc:creator>austin a</dc:creator>
		<pubDate>Mon, 28 Jul 2008 17:37:07 +0000</pubDate>
		<guid isPermaLink="false">http://joel.neubeck.net/2008/06/loading-images-in-silverlight-2/#comment-663</guid>
		<description>Could add some info on the tradeoffs (scenarios) WHEN i would use #1 (in assy), #2, #3 (in xap, not in assy), #4 (not in xap, in same folder on webserver) 

I guess #4 allows faster xap download if jpg not needed right away.</description>
		<content:encoded><![CDATA[<p>Could add some info on the tradeoffs (scenarios) WHEN i would use #1 (in assy), #2, #3 (in xap, not in assy), #4 (not in xap, in same folder on webserver) </p>
<p>I guess #4 allows faster xap download if jpg not needed right away.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://joel.neubeck.net/2008/06/loading-images-in-silverlight-2/comment-page-1/#comment-647</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Wed, 02 Jul 2008 20:52:27 +0000</pubDate>
		<guid isPermaLink="false">http://joel.neubeck.net/2008/06/loading-images-in-silverlight-2/#comment-647</guid>
		<description>You mentioned loading an image procedurally using BitmapImage with a URI, but there&#039;s another important way to load an image.  You can use the BitmapImage.SetSource method to load an image from a stream.  The stream could be a local file specified via the open file dialog, a remote file downloaded in some way, data from a database, an image generated on the fly (see Stegman&#039;s PNG encoder), and so on.</description>
		<content:encoded><![CDATA[<p>You mentioned loading an image procedurally using BitmapImage with a URI, but there&#8217;s another important way to load an image.  You can use the BitmapImage.SetSource method to load an image from a stream.  The stream could be a local file specified via the open file dialog, a remote file downloaded in some way, data from a database, an image generated on the fly (see Stegman&#8217;s PNG encoder), and so on.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
