Getting Startedhttp://forums.silverlight.net//14.aspx/1?Getting+StartedThe perfect forum for asking the basic questions. No question too simple!Mon, 01 Jan 0001 00:00:00 -05001421488http://forums.silverlight.net//p/6941/21488.aspx/1?PNG+files+appearing+as+white+boxes+instead+of+transparentPNG files appearing as white boxes instead of transparent <p>We have a meter bridge that moves to a song, except the animation uses png files, with meters on them, and the majority of the image being clear.&nbsp; In Silverlight they appear as just a big white image instead of showing transparent.&nbsp; Is there a trick or a setting for this?&nbsp; All other png files in the application show correclty.&nbsp;</p> 2007-11-22T04:02:19-05:0021492http://forums.silverlight.net//p/6941/21492.aspx/1?Re+PNG+files+appearing+as+white+boxes+instead+of+transparentRe: PNG files appearing as white boxes instead of transparent <p>This is&nbsp;a known issue and it has already been reported as bug. Hopefully it will be sorted in Beta version. </p> 2007-11-22T04:32:32-05:0021495http://forums.silverlight.net//p/6941/21495.aspx/1?Re+Re+PNG+files+appearing+as+white+boxes+instead+of+transparentRe: Re: PNG files appearing as white boxes instead of transparent <p>Is it known if it is a specific setting in the png, or a setting in silverlight?&nbsp; I have 7 other images that have no issues at all.&nbsp; Also, this are part of an animation that changes their opacity, could that have anything to do with it?&nbsp;</p> 2007-11-22T04:44:45-05:0021497http://forums.silverlight.net//p/6941/21497.aspx/1?Re+PNG+files+appearing+as+white+boxes+instead+of+transparentRe: PNG files appearing as white boxes instead of transparent <p>The PNG where you see the white background instead of transparent is Indexed transparent PNG. And there is an issue with Indexed transparent PNG. </p> <p>It was reported to microsoft here <a href="http://silverlight.net/forums/p/6021/18496.aspx"> http://silverlight.net/forums/p/6021/18496.aspx</a></p> 2007-11-22T05:11:12-05:0021543http://forums.silverlight.net//p/6941/21543.aspx/1?Re+Re+PNG+files+appearing+as+white+boxes+instead+of+transparentRe: Re: PNG files appearing as white boxes instead of transparent <p>That link says that the bug is when they are not RGB files.&nbsp; I double checked these, and they are.&nbsp; Just to be sure I resaved them, and it didn't change.</p> 2007-11-22T17:12:55-05:0021781http://forums.silverlight.net//p/6941/21781.aspx/1?Re+PNG+files+appearing+as+white+boxes+instead+of+transparentRe: PNG files appearing as white boxes instead of transparent <p class="MsoNormal" style="margin:0cm 0cm 0pt"><span lang="EN-US"><font face="Calibri" size="3">Hello, as Cass said, currently Silverlight doesn’t support index transparent color. It only supports alpha transparency. Also, RGB doesn’t support transparent. You need RGBA. If you’re using Expression Design, please do the following:</font></span></p> <p class="MsoListParagraph" style="margin:0cm 0cm 0pt 21pt; text-indent:-21pt"><span lang="EN-US" style="font-family:Wingdings"><span style=""><font size="3">l</font><span style="font:7pt 'Times New Roman'">&nbsp; </span></span></span><span lang="EN-US"><font face="Calibri" size="3">Create a background Rectangle which fills the whole art board.</font></span></p> <p class="MsoListParagraph" style="margin:0cm 0cm 0pt 21pt; text-indent:-21pt"><span lang="EN-US" style="font-family:Wingdings"><span style=""><font size="3">l</font><span style="font:7pt 'Times New Roman'">&nbsp; </span></span></span><span lang="EN-US"><font face="Calibri" size="3">Make sure the Rectangle’s ZIndex is the smallest (right click, choose “Arrange” =&gt; “Send to Back”).</font></span></p> <p class="MsoListParagraph" style="margin:0cm 0cm 0pt 21pt; text-indent:-21pt"><span lang="EN-US" style="font-family:Wingdings"><span style=""><font size="3">l</font><span style="font:7pt 'Times New Roman'">&nbsp; </span></span></span><span lang="EN-US"><font face="Calibri" size="3">Set the Rectangle’s Background’s Opacity to 0. That is, alpha should be 0.</font></span></p> <p class="MsoListParagraph" style="margin:0cm 0cm 0pt 21pt; text-indent:-21pt"><span lang="EN-US" style="font-family:Wingdings"><span style=""><font size="3">l</font><span style="font:7pt 'Times New Roman'">&nbsp; </span></span></span><span lang="EN-US"><font face="Calibri" size="3">Export to a PNG file. In the “Export PNG” dialog, under “File format” =&gt; “Mode”, select “32 bits per pixel - RGBA”.</font></span></p> <span lang="EN-US"><font face="Calibri" size="3">&nbsp;</font></span> <p class="MsoNormal" style="margin:0cm 0cm 0pt"><span lang="EN-US"><font face="Calibri" size="3">Now you should be able to see transparency instead of white background. If you’re using other graphic editors, you should be able to find a similar way.</font></span></p> <p>&nbsp;</p> 2007-11-26T04:14:45-05:00