Note
public static void Save(
this IReadableBitmapData bitmapData,
Stream stream
)<ExtensionAttribute>
Public Shared Sub Save (
bitmapData As IReadableBitmapData,
stream As Stream
)public:
[ExtensionAttribute]
static void Save(
IReadableBitmapData^ bitmapData,
Stream^ stream
)[<ExtensionAttribute>]
static member Save :
bitmapData : IReadableBitmapData *
stream : Stream -> unit To reload the content use the BitmapDataFactory.Load overloads.
The saved content always preserves known KnownPixelFormats. Custom pixel formats are saved by a compatible known pixel format.
The working color space information indicated by the WorkingColorSpace property is not saved, but you can set any working color space on loading a saved bitmap data by the Load(Stream, WorkingColorSpace) overload.