An alternative to System.Drawing.Bitmap in Silverlight, which is compatible with WPF

I am trying to cross-compile some libraries for WPF and Silverlight. One of the libraries currently depends on System.Drawing.Bitmap, which is not available in Silverlight.

This is a class that is a device-specific image format and contains a link to a Bitmap instance to display that image in a WPF application.

What can I use instead of the Bitmap class to save a link to an image that I can display in both silverlight and wpf? (cannot be file-based, must be in memory).

+5
source share
2 answers

System.Windows.Media.Image WPF Silverlight. , : Silverlight 4.0: [] ?

+8

WriteableBitmap, . WPF Silverlight, , , , , .

- tha, t, , , "WriteableBitmap", .

Silverlight : WriteableBitmapEx.

+4

All Articles