<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Updated Source for Image Samples</title><link>http://blogs.msdn.com/jstegman/archive/2008/10/30/updated-source-for-image-samples.aspx</link><description>Updated on 11/10 to fix the ZIP archives and add dependent projects. In addition to updating the image samples to the final version of Silverlight V2, I've also updated the source: PNG Encoder Sample Source GIF Decoder Sample Source and GIF Decoder Source</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Joe Stegman's WebBlog : Updated Source for Image Samples</title><link>http://blogs.msdn.com/jstegman/archive/2008/10/30/updated-source-for-image-samples.aspx#9025988</link><pubDate>Fri, 31 Oct 2008 08:27:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9025988</guid><dc:creator>Joe Stegman's WebBlog : Updated Source for Image Samples</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/jstegman/archive/2008/10/30/updated-source-for-image-samples.aspx"&gt;http://blogs.msdn.com/jstegman/archive/2008/10/30/updated-source-for-image-samples.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Updated Source for Image Samples</title><link>http://blogs.msdn.com/jstegman/archive/2008/10/30/updated-source-for-image-samples.aspx#9043252</link><pubDate>Wed, 05 Nov 2008 07:39:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9043252</guid><dc:creator>adam11235</dc:creator><description>&lt;p&gt;Hi Joe,&lt;/p&gt;
&lt;p&gt;I cannot find the BMPDecoder source that the BMPDecoderSample references..&lt;/p&gt;
</description></item><item><title>Added BMP Decoder</title><link>http://blogs.msdn.com/jstegman/archive/2008/10/30/updated-source-for-image-samples.aspx#9058593</link><pubDate>Mon, 10 Nov 2008 22:58:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9058593</guid><dc:creator>Joe Stegman's WebBlog</dc:creator><description>&lt;p&gt;I updated the Image Source samples to include the BMP Decoder (missing from my previous post).&lt;/p&gt;
</description></item><item><title>re: Updated Source for Image Samples</title><link>http://blogs.msdn.com/jstegman/archive/2008/10/30/updated-source-for-image-samples.aspx#9062974</link><pubDate>Wed, 12 Nov 2008 18:32:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9062974</guid><dc:creator>Michaeljz</dc:creator><description>&lt;p&gt;Thanks for the example of how to do this. &amp;nbsp;I also found an example on Ian Griffith's blog and have built some practice applications using the technique.&lt;/p&gt;
&lt;p&gt;Based on code inspection (not profiling) you could improve the PngEncoder performance substantially by rewriting the ComputeAdler32 function. &amp;nbsp;It currently performs two modulus operations per byte endoded image (so typically six modulus operations per pixel) which is computationally expensive. &amp;nbsp;Wikipedia.org has an example of optimized adler32 code -- short explanation is to perform the modulus only every 5552 iterations, because s1 and s2 are guaranteed not to overlow a 32bit int until then.&lt;/p&gt;
&lt;p&gt;It's unfortunate that there isn't an alternative encoding method to use for PNG. &amp;nbsp;You need to make three passes through the data -- once to copy the pixels which you do in a Write, once to computer adler32, and once to compute CRC. &amp;nbsp;Not only that, but a change to a small part of the image requires reprocessing all of it for the adler32 computation.&lt;/p&gt;
&lt;p&gt;Michael&lt;/p&gt;
</description></item><item><title>Saknar du stöd för GIF och BMP-bilder i Silverlight?</title><link>http://blogs.msdn.com/jstegman/archive/2008/10/30/updated-source-for-image-samples.aspx#9185673</link><pubDate>Tue, 09 Dec 2008 01:45:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9185673</guid><dc:creator>Robert Folkesson</dc:creator><description>&lt;p&gt;Joe Stegman som arbetar i Silverlight-teamet har satt ihop n&amp;#229;gra demokodsprojekt som visar hur du kan&lt;/p&gt;
</description></item><item><title>Links da Semana (18-22)</title><link>http://blogs.msdn.com/jstegman/archive/2008/10/30/updated-source-for-image-samples.aspx#9631990</link><pubDate>Wed, 20 May 2009 13:12:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9631990</guid><dc:creator>Gonçalo Chaves</dc:creator><description>&lt;p&gt;Apesar de andar muito ocupado nestes &amp;#250;ltimos dias, com projectos importantes e de car&amp;#225;cter importante&lt;/p&gt;
</description></item></channel></rss>