0

I've got a simple ImageSource silverlight control which i have on my canvas. Works fine. Is there any way I can extract the content of an ImageSource to a byte array?

cheers!

PS. Any version of SL will be fine.

Pure.Krome
  • 84,693
  • 113
  • 396
  • 647

1 Answers1

0

I'm not sure if you can get the byte array from an ImageSource component, but you can probably create a BitmapImage and set its UriSource property, then get the byte [] from there. Not exactly an answer to your question but hth ;)

James Cadd
  • 12,136
  • 30
  • 85
  • 134