<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.net/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>Report a Silverlight Bug</title><link>http://forums.silverlight.net/forums/28.aspx</link><description>Found a bug in Silverlight? Use this forum to describe the bug and the code or steps to reproduce it.</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: 24bit PNG transparency ignored</title><link>http://forums.silverlight.net/forums/thread/188815.aspx</link><pubDate>Mon, 16 Mar 2009 17:15:45 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:188815</guid><dc:creator>metal</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/188815.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=28&amp;PostID=188815</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/silverlight/images/icon-quote.gif"&gt; &lt;strong&gt;StefanWick:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;We don&amp;#39;t currently support palette based PNG transparencies for 24bit. I&amp;#39;ll make sure the docs get updated to reflect that.&lt;/p&gt;&lt;p&gt;
&lt;/div&gt;&lt;/BLOCKQUOTE&gt; &lt;/p&gt;&lt;p&gt;is there any other way to format the image so we get clean transparencies as gradients ?&lt;/p&gt;&lt;p&gt;Very anoying as the image looks fine in VS2008 xaml editor but horible when executed in the browser. ( large image where 80% is a very smooth transparent gradient fading out, in the browser this fading is in large sharp steps of specific levels of transparency)&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: 24bit PNG transparency ignored</title><link>http://forums.silverlight.net/forums/thread/181888.aspx</link><pubDate>Tue, 03 Mar 2009 02:57:57 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:181888</guid><dc:creator>StefanWick</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/181888.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=28&amp;PostID=181888</wfw:commentRss><description>&lt;p&gt;We don&amp;#39;t currently support palette based PNG transparencies for 24bit. I&amp;#39;ll make sure the docs get updated to reflect that.&lt;/p&gt;
&lt;p&gt;Thanks, Stefan Wick&lt;/p&gt;</description></item><item><title>Re: 24bit PNG transparency ignored</title><link>http://forums.silverlight.net/forums/thread/180684.aspx</link><pubDate>Fri, 27 Feb 2009 23:59:13 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:180684</guid><dc:creator>SharpGIS</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/180684.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=28&amp;PostID=180684</wfw:commentRss><description>&lt;p&gt;Technically not a bug? In that case your documentation is technically wrong.&lt;/p&gt;&lt;p&gt;From http://msdn.microsoft.com/en-us/library/system.windows.media.imaging.bitmapimage(VS.95).aspx : &lt;/p&gt;&lt;p&gt;&amp;nbsp;------------------------------- &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Silverlight does not support all possible color depths that are
included in the PNG specification. The following are the PNG color
depths supported in Silverlight:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;p&gt;Indexed color: 1-bit, 4-bit, or 8-bit color depth (per channel).&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Truecolor: 24-bit color depth, or 32-bit color depth (per channel) for truecolor plus alpha.&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&amp;nbsp;--------------------------------&lt;/p&gt;&lt;p&gt;As I understand it, it says 24bit with alpha should be supported. What makes this worse is that it sometimes works, sometimes it doesn&amp;#39;t. If that&amp;#39;s not a bug, I don&amp;#39;t know what it is.You could at least be consistent.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;ll cast my vote for you to add support for alpha in 4 and 8 bit images as well. Your PNG support is so poor that it causes us a lot of issues with exisiting data, and this half-baked support is just plain bad. Serving up 32bit images is just way too overkill and doesn&amp;#39;t allow us to optimize the downloads (considering you don&amp;#39;t support GIF either).&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: 24bit PNG transparency ignored</title><link>http://forums.silverlight.net/forums/thread/180173.aspx</link><pubDate>Fri, 27 Feb 2009 06:09:17 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:180173</guid><dc:creator>StefanWick</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/180173.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=28&amp;PostID=180173</wfw:commentRss><description>&lt;p&gt;Thanks for the feedback. We are aware of the limiation. It&amp;#39;s technically not a bug, though,&amp;nbsp;it is not a supported/enabled scenario in the current release.&lt;/p&gt;
&lt;p&gt;We are considering support for this in a future release.&lt;/p&gt;
&lt;p&gt;Thanks, Stefan Wick&lt;/p&gt;</description></item><item><title>Re: 24bit PNG transparency ignored</title><link>http://forums.silverlight.net/forums/thread/176130.aspx</link><pubDate>Wed, 18 Feb 2009 23:56:04 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:176130</guid><dc:creator>Lars Buchleitner</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/176130.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=28&amp;PostID=176130</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I´ve noticed simular things,but not only for 24 bit png, there is definetly a bug in the graphics library for SL, for the images were perfrctly shown even in Blend.Recompressing with pngauntlet was fine for me , but , as you mentioned , will not make it for you&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I think a bugreport at http://connect.microsoft.com/visualstudio would be a good idea&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>24bit PNG transparency ignored</title><link>http://forums.silverlight.net/forums/thread/176124.aspx</link><pubDate>Wed, 18 Feb 2009 23:34:51 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:176124</guid><dc:creator>SharpGIS</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/176124.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=28&amp;PostID=176124</wfw:commentRss><description>&lt;p&gt;Although transparency in 1, 2, 4 and 8bit PNGs in Silverlight is horribly lacking (was told this was by design *sigh*), I was under the impression that PNG24 and PNG32 were good to go.&lt;/p&gt;

&lt;p&gt;However I just found a case where a PNG24 image is not reading the transparency bit correctly. Instead the image is filled with white space.&lt;/p&gt;
&lt;p&gt;Below is the image displayed on a green background which confirms that the image is transparent, and the webbrowser at least reads it correctly: &lt;br /&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src="http://www.sharpgis.net/24bitAlpha.png" style="background-color:green;" title="24bit PNG" alt="24bit PNG" border="1" height="251" width="417" /&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.sharpgis.net/24bitAlpha.png" target="_blank"&gt;Link to image&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If I load this image in Silverlight, the image will not be transparent.&lt;/p&gt;
&lt;p&gt;Yes I know I can manually change this file to make it work in Silverlight, but the fact is that these images comes from a service that I have no control over, and they are perfectly valid transparent images (even Vista&amp;#39;s thumbnails shows them as transparent).&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>