I need to display favicon.ico files received from arbitrary websites as BitmapImage in a Silverlight 3 application, but Silverlight 3 BitmapImage only supports PNG and JPG. Any suggestions?
Since this feature is not built into Silverlight, you will need to do the decoding yourself.
Consider using the Joe Stegman icon decoder implementation on http://blogs.msdn.com/jstegman/archive/2009/09/13/silverlight-ico-icon-decoder-parser.aspx
Source: https://habr.com/ru/post/1741656/More articles:php calculate float - mathWriting to EEPROM on PIC - assemblyEnter an error when trying to implement (>> =) a function to create a custom monad transformer - haskellReusing threads across multiple UIViewControllers - iphoneSpecifications for all Android phones - androidИмпортируйте общий объект и вызовите его функции в С++ - c++Gallery of images using jQuery - javascriptдизайн базы данных в движке Google - google-app-engineRecognizing tail-recursive functions with Flex + Bison and converting code to iterative form - cRollback to a specific point using PostgreSQL - postgresqlAll Articles