In my code, I have a System.Windows.Media.ImageSource
. I'd like to get that persisted to a byte array for saving to a database. The image source is being returned by a library, so it's not available as a Stream, File, BitmapImage, or otherwise.
The library is the Telerik.Windows.Documents.UI.ThumbnailFactory
.