Hy How can i convert a BitmapImage to a Bitmap in Silverlight 4?
Thanks!
Answer: 1
BMP is not supported in Silverlight. BMP is a very old and not a very efficient format (compared with PNG & JPG) so they have not bothered to support it.
Silverlight only supports JPG & PNG format images
The best way to display them is to convert them on the web server so they can be served up as PNGs. The webserver will have access to enough .Net libraries that BMP=>PNG conversion will be easy. I would not bother to create a BMP loader client-side
by : Jignesh.Rajhttp://stackoverflow.com/users/1928157
No comments:
Post a Comment
Send us your comment related to the topic mentioned on the blog