Question

I am trying to save a WriteableBitmap to local in Silverlight using SaveFileDialog. A question similar to mine is asked Here.

And the answers show several opensource encoders and workarounds. They work fine.

But why silverlight doesn't support encoders for JPEG/PNG/BMP itself while .NET framework and WPF support all of them? Why should we apply for third party classes?

I thought for a whole night, but failed to figure out why. Since I am not allowed to use third party classes, I have to write an encoder myself.:(

Was it helpful?

Solution

If you mean you aren't allowed to purchase third-party components, then use open source. Take a look at FJCore:

http://code.google.com/p/fjcore/

If you aren't allowed to use any classes you didn't write, you need to have a serious conversation with management.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top