Hi -
I'm wondering if it's possible to take some in-memory data, in an internal format, and get it to display as a raster layer within a bounding box without turning it into a stream or (worse yet) writing it to disk. I've got the Raster Layer with Extent example from your code base and I understand what it's doing. I can easily generate my own bounding box from my internal data. I have looked at and understand your Image Stream Loading demo, where I could theoretically serialize my in memory raster data to a MemoryStream and read it back using a StreamLoading event. That's still less than ideal for my application.
My question is, is there any way to directly create a RasterLayer from a BitmapSource-derived object without having to go through all that stream and GDI stuff. I imagine that I'm far from the only developer who could make use of such a thing.
Thanks in advance for your help.
Dave Anderson
Lead Developer
Boston University Hearing Research Center