PPT slides 'with text' converted to png doesnt render in wpf/e app

Hi..

I was trying to get an application similar to 'film strip' sample in the wpf/e samples. I converted a ppt to png images. The images render fine in Internet Explorer if i open it and it opens fine in the other image editing software. But when i run it in the wpf/e application it fails to render the slides which has text on it. Is there any specific thing i need to include inside the xaml code?

Note: There are slides in the application that render correctly in the wpf/e app which has only images inside the slides.

Appreciate any reply.

[571 byte] By [Bhakthan] at [2007-12-31]
# 1
It is some strange thing in png makes it to 'not render the image'. Jpg works with text with different fonts on it.
Bhakthan at 2007-9-6 > top of Msdn Tech,Silverlight (formerly WPF/E),Silverlight (formerly WPF/E) Developer Issues...
# 2

I have found a couple of issues with PNG as well, but I haven't done extensive repeatablility testing.

1) If I take some old bitmap (BMP) files (from my previous Win32/COM/ActiveX application that I am converting to WPF/E), and use MS PaintBrush to save them as PNG, they do not show up in WPF/E, no matter how hard I try. If I take the same BMP's and load them into Expression Designer, and then "export them" to PNG as 24 or 32 bpp, then they do show up. I have no idea what PBrush does to them when I save these BMP as PNG.

2) I do not know if the transparent areas of PNG files are actually showing up transparent when hosted inside <Image> elements. I tried this just recently and it appears that it doesn't mask out the transparent areas. I do not know if there specific attributes of the <Image> element or some property that needs to be set to make this work, or whether it doesn't yet work in WPF/E or whether my so called transparent PNG's are actually transparent. I am planning to dig into this some more this evening.

Kevgor

Kevgor at 2007-9-6 > top of Msdn Tech,Silverlight (formerly WPF/E),Silverlight (formerly WPF/E) Developer Issues...