C# Class Sphere.Core.Utility.BitmapSaver

Saves bitmap to a filestream.
Mostra file Open project: Radnen/spherestudio Class Usage Examples

Public Methods

Method Description
BitmapSaver ( int width, int height ) : System.Drawing

Creates a bitmap saver, which saves bitmaps to filestreams.

SaveToStream ( Bitmap image, BinaryWriter writer ) : void

Saves the image to a filestream.

Method Details

BitmapSaver() public method

Creates a bitmap saver, which saves bitmaps to filestreams.
public BitmapSaver ( int width, int height ) : System.Drawing
width int The image width in pixels.
height int The image height in pixels.
return System.Drawing

SaveToStream() public method

Saves the image to a filestream.
public SaveToStream ( Bitmap image, BinaryWriter writer ) : void
image System.Drawing.Bitmap The image to save.
writer System.IO.BinaryWriter The System.IO.BinaryWriter to use.
return void