C# Class Sphere.Core.Utility.BitmapSaver

Saves bitmap to a filestream.
Afficher le fichier Open project: Radnen/spherestudio Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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.
Résultat System.Drawing

SaveToStream() public méthode

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.
Résultat void