C# Class Universe.Modules.Terrain.FileLoaders.BMP

A generic windows bitmap loader. Should be capable of handling 24-bit RGB images. Uses the System.Drawing filesystem loader.
Inheritance: GenericSystemDrawing
Datei anzeigen Open project: Virtual-Universe/Virtual-Universe

Public Methods

Method Description
SaveFile ( string filename, ITerrainChannel map ) : void

Exports a file to a image on the disk using a System.Drawing exporter.

SaveStream ( Stream stream, ITerrainChannel map ) : void

Exports a stream using a System.Drawing exporter.

ToString ( ) : string

The human readable version of the file format(s) this loader handles

Method Details

SaveFile() public method

Exports a file to a image on the disk using a System.Drawing exporter.
public SaveFile ( string filename, ITerrainChannel map ) : void
filename string The target filename
map ITerrainChannel The terrain channel being saved
return void

SaveStream() public method

Exports a stream using a System.Drawing exporter.
public SaveStream ( Stream stream, ITerrainChannel map ) : void
stream System.IO.Stream The target stream
map ITerrainChannel The terrain channel being saved
return void

ToString() public method

The human readable version of the file format(s) this loader handles
public ToString ( ) : string
return string