C# Class Axiom.Plugins.SystemDrawingCodecs.SDImageCodec

System.Drawing base implementation of Axiom's ImageCodec
Inheritance: Axiom.Media.ImageCodec
ファイルを表示 Open project: WolfgangSt/axiom

Public Methods

Method Description
Decode ( Stream input, Stream output ) : object

Codes the data from the input chunk into the output chunk.

EncodeToFile ( Stream input, string fileName, object codecData ) : void

Encodes data to a file.

Private Methods

Method Description
ConvertImageFormat ( string name ) : ImageFormat

Method Details

Decode() public method

Codes the data from the input chunk into the output chunk.
public Decode ( Stream input, Stream output ) : object
input Stream Input stream (encoded data).
output Stream Output stream (decoded data).
return object

EncodeToFile() public method

Encodes data to a file.
public EncodeToFile ( Stream input, string fileName, object codecData ) : void
input Stream Stream containing data to write.
fileName string Filename to output to.
codecData object Extra data to use in order to describe the codec data.
return void