C# Класс Sphere.Core.Utility.BitmapSaver

Saves bitmap to a filestream.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

BitmapSaver() публичный Метод

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.
Результат System.Drawing

SaveToStream() публичный Метод

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.
Результат void