I'm trying to cross compile some libraries for WPF and Silverlight. Currently one of the libraries depends on System.Drawing.Bitmap which is not available in Silverlight.
It's a class that represents a device specific image format, and holds a reference to a Bitmap instance in order to display this image in a WPF application.
What could I use instead of the Bitmap class in order to hold a reference to an Image which I can display in both silverlight and wpf ? (cannot be file based, must be in memory).